![]() |
VR-Link API Documentation for HLA 1516
|
Inheritance diagram for DtOldHashlist:
Collaboration diagram for DtOldHashlist:Public Member Functions | |
| DtOldHashlist (unsigned numBuckets) | |
| virtual | ~DtOldHashlist () |
| const DtList * | list () const |
| virtual unsigned | hash (DtHashKey key) const |
| virtual int | isEqual (DtHashKey key1, DtHashKey key2) const |
| DtListItem * | add (DtHashKey key, void *data) |
| DtListItem * | addToStart (DtHashKey key, void *data) |
| DtListItem * | addToEnd (DtHashKey key, void *data) |
| DtListItem * | addBefore (DtHashKey key, void *data, DtListItem *before) |
| DtListItem * | addAfter (DtHashKey key, void *data, DtListItem *after) |
| virtual void * | remove (DtHashKey key) |
| virtual void * | operator[] (DtHashKey key) const |
| virtual void * | lookup (DtHashKey key) const |
| DtListItem * | itemLookup (DtHashKey key) const |
| unsigned | nBuckets (void) const |
| unsigned | bucketCount (unsigned index) const |
Protected Member Functions | |
| DtList * | bucket (DtHashKey key) const |
| void | addToBucket (DtHashKey k, DtListItem *item) |
| DtListItem * | removeFromBucket (DtHashKey key) |
Protected Attributes | |
| DtList * | myList |
| DtList * | buckets |
| unsigned | nbuck |
| DtOldHashlist::DtOldHashlist | ( | unsigned | numBuckets | ) |
| virtual DtOldHashlist::~DtOldHashlist | ( | ) | [virtual] |
| DtListItem * DtOldHashlist::add | ( | DtHashKey | key, |
| void * | data | ||
| ) | [inline] |
| DtListItem* DtOldHashlist::addAfter | ( | DtHashKey | key, |
| void * | data, | ||
| DtListItem * | after | ||
| ) |
| DtListItem * DtOldHashlist::addBefore | ( | DtHashKey | key, |
| void * | data, | ||
| DtListItem * | before | ||
| ) | [inline] |
References DtListItem::prev().
| void DtOldHashlist::addToBucket | ( | DtHashKey | k, |
| DtListItem * | item | ||
| ) | [protected] |
| DtListItem * DtOldHashlist::addToEnd | ( | DtHashKey | key, |
| void * | data | ||
| ) | [inline] |
| DtListItem * DtOldHashlist::addToStart | ( | DtHashKey | key, |
| void * | data | ||
| ) | [inline] |
| DtList * DtOldHashlist::bucket | ( | DtHashKey | key | ) | const [inline, protected] |
| unsigned int DtOldHashlist::bucketCount | ( | unsigned | index | ) | const [inline] |
| unsigned DtOldHashlist::hash | ( | DtHashKey | key | ) | const [inline, virtual] |
References DtHashKey::i.
| int DtOldHashlist::isEqual | ( | DtHashKey | key1, |
| DtHashKey | key2 | ||
| ) | const [inline, virtual] |
References DtHashKey::i.
| DtListItem* DtOldHashlist::itemLookup | ( | DtHashKey | key | ) | const |
| const DtList * DtOldHashlist::list | ( | ) | const [inline] |
| void * DtOldHashlist::lookup | ( | DtHashKey | key | ) | const [inline, virtual] |
References DtListItem::data().
| unsigned int DtOldHashlist::nBuckets | ( | void | ) | const [inline] |
| void * DtOldHashlist::operator[] | ( | DtHashKey | key | ) | const [inline, virtual] |
| virtual void* DtOldHashlist::remove | ( | DtHashKey | key | ) | [virtual] |
| DtListItem* DtOldHashlist::removeFromBucket | ( | DtHashKey | key | ) | [protected] |
DtList* DtOldHashlist::buckets [protected] |
DtList* DtOldHashlist::myList [protected] |
unsigned DtOldHashlist::nbuck [protected] |