Instances of DtGlobalIdHashlist are hash lists, where you can store associations between DtGlobalObjectDesignators and arbitrary pieces of data.
More...
Detailed Description
Instances of DtGlobalIdHashlist are hash lists, where you can store associations between DtGlobalObjectDesignators and arbitrary pieces of data.
Constructor & Destructor Documentation
| DtGlobalIdHashlist::DtGlobalIdHashlist |
( |
bool |
intrusive = false | ) |
|
Default constructor.
Pass true only if the data that you are listing are instances of a class derived from DtListedObject.
| virtual DtGlobalIdHashlist::~DtGlobalIdHashlist |
( |
| ) |
|
|
virtual |
Member Function Documentation
If an item with key already exists, then add will replace the data and move it to the location in list.
If your data was alloc'ed, do not add unless you know key is unique, or a memory leak will result. Add an association between key and data to the list.
| virtual const DtList* DtGlobalIdHashlist::list |
( |
| ) |
const |
|
virtual |
Get a DtList containing all of the void* data that you have listed, regardless of keys.
Lookup the data associated with key.
Referenced by operator[]().
Remove the current association involving key from the list.
Returns the data that was associated with key.
Member Data Documentation
| DtList* DtGlobalIdHashlist::myList |
|
protected |
The documentation for this class was generated from the following file: