Class: DtEntityIdIntAssociationList.
More...
Detailed Description
Class: DtEntityIdIntAssociationList.
This class creates an association list between entity identifiers and integers.
Constructor & Destructor Documentation
| DtEntityIdIntAssociationList::DtEntityIdIntAssociationList |
( |
| ) |
|
| virtual DtEntityIdIntAssociationList::~DtEntityIdIntAssociationList |
( |
| ) |
|
|
virtual |
Member Function Documentation
| virtual void DtEntityIdIntAssociationList::add |
( |
int |
integer, |
|
|
const DtEntityIdentifier & |
entityId |
|
) |
| |
|
virtual |
| virtual bool DtEntityIdIntAssociationList::remove |
( |
int |
integer | ) |
|
|
virtual |
Remove association by integer.
| virtual bool DtEntityIdIntAssociationList::remove |
( |
const DtEntityIdentifier & |
entityId | ) |
|
|
virtual |
Remove association by entity id.
| virtual DtEntityIdentifier DtEntityIdIntAssociationList::lookup |
( |
int |
integer, |
|
|
bool * |
found = NULL |
|
) |
| const |
|
virtual |
Find an entity id associated with an integer.
| virtual int DtEntityIdIntAssociationList::lookup |
( |
const DtEntityIdentifier & |
entityId, |
|
|
bool * |
found = NULL |
|
) |
| const |
|
virtual |
Find an integer associated with an entity id.
| virtual bool DtEntityIdIntAssociationList::contains |
( |
int |
integer | ) |
const |
|
virtual |
Returns true if this item is in the list.
| virtual bool DtEntityIdIntAssociationList::contains |
( |
const DtEntityIdentifier & |
entityId | ) |
const |
|
virtual |
Returns true if this item is in the list.
| virtual const DtList* DtEntityIdIntAssociationList::listOfIntegers |
( |
| ) |
const |
|
virtual |
Return a list of all integers in the association list.
| virtual const DtList* DtEntityIdIntAssociationList::listOfEntityIds |
( |
| ) |
const |
|
virtual |
Return a list of all entity identifiers in the association list.
| virtual int DtEntityIdIntAssociationList::count |
( |
| ) |
const |
|
virtual |
Returns the total number of associations in the list.
| void DtEntityIdIntAssociationList::empty |
( |
| ) |
|
Removes all items from the association list.
Non-virtual called by the destructor.
Adds all associations in source to this association list.
Member Data Documentation
| DtHashList DtEntityIdIntAssociationList::myEntIdToIntHashList |
|
protected |
| DtHashList DtEntityIdIntAssociationList::myIntToEntIdHashList |
|
protected |
The documentation for this class was generated from the following file: