Jive reference manual
|
#include <jive/mp/ItemMask.h>
Public Member Functions | |
ItemMask () | |
ItemMask (const Ref< ItemSet > &items) | |
ItemMask (const Self &rhs) | |
virtual void | resetEvents () |
virtual void | readFrom (ObjectInput &in) |
virtual void | writeTo (ObjectOutput &out) const |
virtual Ref< Object > | clone () const |
idx_t | size () const |
ItemSet * | getItems () const |
BoolVector | toVector () const |
void | clear () |
bool | getValue (idx_t iitem) const |
void | getSomeValues (const BoolVector &values, const IdxVector &iitems) const |
idx_t | getAllValues (const BoolVector &values) const |
void | setValue (idx_t iitem, bool value) |
void | setSomeValues (const IdxVector &iitems, const BoolVector &values) |
void | setAllValues (const BoolVector &values) |
IdxVector | getItemsFor (bool value) const |
void | store (const Properties &globdat) const |
Public Member Functions inherited from jem::Object | |
virtual Class * | getClass () const |
Returns the Class instance representing the runtime class of this object. More... | |
virtual String | toString () const |
Returns a short textual description of this object. More... | |
virtual long | hashValue () const |
Returns a hash value for this object. More... | |
virtual bool | equals (const Ref< Object > &obj) const |
Tests whether two objects are equal. More... | |
Ref< Object > | clone () const |
Returns a copy of this object. More... | |
Static Public Member Functions | |
static Ref< ItemMask > | find (const Ref< ItemSet > &items, const Properties &globdat) |
static Ref< ItemMask > | get (const Ref< ItemSet > &items, const Properties &globdat) |
Static Public Member Functions inherited from jem::Object | |
static Class * | getType () |
Returns the Class instance representing the Object class. More... | |
Public Attributes | |
Event< Self & > | newValuesEvent |
Protected Member Functions | |
virtual | ~ItemMask () |
virtual void | emitEvents_ (int events) |
Protected Member Functions inherited from jem::Collectable | |
Collectable () | |
Creates an empty Collectable . More... | |
~Collectable () | |
Frees resources. More... | |
Protected Member Functions inherited from jive::util::EventSource | |
virtual | ~EventSource () |
Protected Member Functions inherited from jem::Interface | |
virtual | ~Interface () |
Empty destructor. More... | |
Protected Member Functions inherited from jem::Clonable | |
virtual | ~Clonable () |
virtual void | emitVTable_ () |
Protected Member Functions inherited from jem::io::Serializable | |
virtual | ~Serializable () |
virtual void | emitVtableFunc_ () |
jive::mp::ItemMask::ItemMask | ( | ) |
jive::mp::ItemMask::ItemMask | ( | const Self & | rhs | ) |
|
protectedvirtual |
|
virtual |
Implements jive::util::EventSource.
|
virtual |
Implements jem::io::Serializable.
|
virtual |
Implements jem::io::Serializable.
Implements jem::Clonable.
idx_t jive::mp::ItemMask::size | ( | ) | const |
ItemSet* jive::mp::ItemMask::getItems | ( | ) | const |
BoolVector jive::mp::ItemMask::toVector | ( | ) | const |
void jive::mp::ItemMask::clear | ( | ) |
bool jive::mp::ItemMask::getValue | ( | idx_t | iitem | ) | const |
void jive::mp::ItemMask::getSomeValues | ( | const BoolVector & | values, |
const IdxVector & | iitems | ||
) | const |
idx_t jive::mp::ItemMask::getAllValues | ( | const BoolVector & | values | ) | const |
void jive::mp::ItemMask::setValue | ( | idx_t | iitem, |
bool | value | ||
) |
void jive::mp::ItemMask::setSomeValues | ( | const IdxVector & | iitems, |
const BoolVector & | values | ||
) |
void jive::mp::ItemMask::setAllValues | ( | const BoolVector & | values | ) |
IdxVector jive::mp::ItemMask::getItemsFor | ( | bool | value | ) | const |
void jive::mp::ItemMask::store | ( | const Properties & | globdat | ) | const |
|
static |
|
static |
|
protectedvirtual |
Implements jive::util::EventSource.
Event< Self& > jive::mp::ItemMask::newValuesEvent |