Jive reference manual
|
#include <jive/util/XMemberSet.h>
Public Member Functions | |
virtual void | clear ()=0 |
virtual void | reserve (idx_t count) |
virtual void | trimToSize () |
virtual idx_t | addMember (idx_t iitem, idx_t ilocal)=0 |
virtual idx_t | addMember (idx_t id, idx_t iitem, idx_t ilocal)=0 |
virtual idx_t | addMembers (const IdxVector &iitems, const IdxVector &ilocals) |
void | eraseMembers (const IdxVector &imbrs) |
virtual void | reorderMembers (const Reordering &reord)=0 |
![]() | |
virtual String | getItemName () const |
Returns the type name of an item. More... | |
virtual void | getMember (idx_t &iitem, idx_t &ilocal, idx_t imbr) const =0 |
virtual ItemSet * | getCompoundItems () const =0 |
virtual void | printSubset (PrintWriter &out, const IdxVector &imbrs) const |
IdxVector | getMembersOf (const IdxVector &iitems) const |
Topology | getMembersPerItem () const |
![]() | |
virtual String | toString () const |
Returns a short textual description of this object. More... | |
virtual int | size () const |
Returns the size of this item set. More... | |
String | getName () const |
Returns the (descriptive) name of this item set. More... | |
virtual String | getTagName () const |
Returns an XML tag name for this item set. More... | |
virtual String | getItemsName () const |
Returns the plural of an item type name. More... | |
String | getContext () const |
Returns a context string. More... | |
virtual ItemMap * | getItemMap () const =0 |
Returns the item map associated with this item set. More... | |
String | getItemPath (int itemID) const |
Returns an identification string for an item. More... | |
int | findItem (int itemID) const |
Returns the index of an item with a given ID. More... | |
int | getItemID (int iitem) const |
Returns the ID of the item with a given index. More... | |
virtual void | printTo (Printer &out) const |
Prints the contents of this item set. More... | |
void | store (const String &name, const Properties &globdat) const |
Stores this item set in a (global) data set. More... | |
![]() | |
virtual Class * | getClass () const |
Returns the Class instance representing the runtime class 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... | |
Protected Member Functions | |
XMemberSet (const String &name="") | |
virtual | ~XMemberSet () |
![]() | |
MemberSet (const String &name="") | |
virtual | ~MemberSet () |
![]() | |
ItemSet (const String &name="") | |
Constructs an item set with a given name. More... | |
virtual | ~ItemSet () |
![]() | |
Collectable () | |
Creates an empty Collectable . More... | |
~Collectable () | |
Frees resources. More... | |
Additional Inherited Members | |
![]() | |
typedef jem::String | String |
Represents a string type. More... | |
typedef jem::io::PrintWriter | Printer |
Represents a formatted output stream. More... | |
typedef jem::util::Dictionary | Dict |
Represents a dictionary. More... | |
typedef jem::util::Properties | Properties |
Represents a properties set. More... | |
![]() | |
static IdxVector | getMembersOf (const IdxVector &iitems, const Topology &topo) |
![]() | |
static jem::Ref< ItemSet > | find (const String &name, const Properties &globdat) |
Searches for a named item set in a (global) data set. More... | |
static jem::Ref< ItemSet > | get (const String &name, const Properties &globdat, const String &context) |
Returns a named item set stored in a (global) data set. More... | |
static jem::Ref< Dict > | getAll (const Properties &globdat) |
Returns a dictionary containing all item sets in a (global) data set. More... | |
static StringVector | listAll (const Properties &globdat) |
Returns the names of all item sets stored in a (global) data set. More... | |
![]() | |
static Class * | getType () |
Returns the Class instance representing the Object class. More... | |
![]() | |
jem::util::Event< int, Self & > | newSizeEvent |
Signals that the size of this item set has changed. More... | |
jem::util::Event< const IntVector &, Self & > | newOrderEvent |
Signals that the items have been re-ordered. More... | |
![]() | |
String | myName_ |
The descriptive name of this item set. More... | |
|
protected |
|
protectedvirtual |
|
pure virtual |
Implemented in jive::util::StdMemberSet.
|
virtual |
Reimplemented in jive::util::StdMemberSet.
|
virtual |
Reimplemented in jive::util::StdMemberSet.
|
pure virtual |
Implemented in jive::util::StdMemberSet.
|
pure virtual |
Implemented in jive::util::StdMemberSet.
|
virtual |
Reimplemented in jive::util::StdMemberSet.
void jive::util::XMemberSet::eraseMembers | ( | const IdxVector & | imbrs | ) |
|
pure virtual |
Implemented in jive::util::StdMemberSet.