![]() |
VR-Link API Documentation for HLA 1516
|
Instances of DtObjectIdHashKey are hash keys made from DtObjectIds. More...
Inheritance diagram for DtObjectIdHashKey:
Collaboration diagram for DtObjectIdHashKey:Public Member Functions | |
| DtObjectIdHashKey () | |
| empty constructor | |
| DtObjectIdHashKey (const DtObjectId &id) | |
| default constructor | |
| virtual | ~DtObjectIdHashKey () |
| destructor | |
| DtObjectIdHashKey (const DtObjectIdHashKey &orig) | |
| copy constructor | |
| DtObjectIdHashKey & | operator= (const DtObjectIdHashKey &orig) |
| assignment operator | |
| virtual bool | operator== (const DtBaseHashKey &other) const |
| Override equality operator to NOT use stringRep(), as this is expensive. | |
| virtual DtBaseHashKey * | clone () const |
| Make a copy of this hash key. | |
| virtual const DtObjectId & | value () const |
| Get hash key value. | |
Protected Member Functions | |
| virtual const DtString | stringRep () const |
| Get the string representation of this key. | |
| virtual DtU32 | computeHashValue () |
| Compute the hashed value for this key. | |
Protected Attributes | |
| DtObjectId | myId |
Instances of DtObjectIdHashKey are hash keys made from DtObjectIds.
They can be used with DtBaseHashList to store arbitrary pieces of data hashed by DtObjectId.
empty constructor
| DtObjectIdHashKey::DtObjectIdHashKey | ( | const DtObjectId & | id | ) |
default constructor
| virtual DtObjectIdHashKey::~DtObjectIdHashKey | ( | ) | [virtual] |
destructor
| DtObjectIdHashKey::DtObjectIdHashKey | ( | const DtObjectIdHashKey & | orig | ) |
copy constructor
| virtual DtBaseHashKey* DtObjectIdHashKey::clone | ( | ) | const [virtual] |
Make a copy of this hash key.
Implements DtBaseHashKey.
| virtual DtU32 DtObjectIdHashKey::computeHashValue | ( | ) | [protected, virtual] |
Compute the hashed value for this key.
Implements DtBaseHashKey.
| DtObjectIdHashKey& DtObjectIdHashKey::operator= | ( | const DtObjectIdHashKey & | orig | ) |
assignment operator
| virtual bool DtObjectIdHashKey::operator== | ( | const DtBaseHashKey & | other | ) | const [virtual] |
Override equality operator to NOT use stringRep(), as this is expensive.
Reimplemented from DtBaseHashKey.
| virtual const DtString DtObjectIdHashKey::stringRep | ( | ) | const [protected, virtual] |
Get the string representation of this key.
Implements DtBaseHashKey.
| virtual const DtObjectId& DtObjectIdHashKey::value | ( | ) | const [virtual] |
Get hash key value.
DtObjectId DtObjectIdHashKey::myId [protected] |