Jive reference manual
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions
jive::mp::ItemMask Class Reference

#include <jive/mp/ItemMask.h>

Inheritance diagram for jive::mp::ItemMask:
Inheritance graph

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< Objectclone () const
 
idx_t size () const
 
ItemSetgetItems () 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 ClassgetClass () 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< Objectclone () const
 Returns a copy of this object. More...
 

Static Public Member Functions

static Ref< ItemMaskfind (const Ref< ItemSet > &items, const Properties &globdat)
 
static Ref< ItemMaskget (const Ref< ItemSet > &items, const Properties &globdat)
 
- Static Public Member Functions inherited from jem::Object
static ClassgetType ()
 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_ ()
 

Constructor & Destructor Documentation

jive::mp::ItemMask::ItemMask ( )
jive::mp::ItemMask::ItemMask ( const Ref< ItemSet > &  items)
explicit
jive::mp::ItemMask::ItemMask ( const Self &  rhs)
virtual jive::mp::ItemMask::~ItemMask ( )
protectedvirtual

Member Function Documentation

virtual void jive::mp::ItemMask::resetEvents ( )
virtual
virtual void jive::mp::ItemMask::readFrom ( ObjectInput in)
virtual

Implements jem::io::Serializable.

virtual void jive::mp::ItemMask::writeTo ( ObjectOutput out) const
virtual

Implements jem::io::Serializable.

virtual Ref<Object> jive::mp::ItemMask::clone ( ) const
virtual

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 Ref<ItemMask> jive::mp::ItemMask::find ( const Ref< ItemSet > &  items,
const Properties globdat 
)
static
static Ref<ItemMask> jive::mp::ItemMask::get ( const Ref< ItemSet > &  items,
const Properties globdat 
)
static
virtual void jive::mp::ItemMask::emitEvents_ ( int  events)
protectedvirtual

Member Data Documentation

Event< Self& > jive::mp::ItemMask::newValuesEvent