![]() |
VR-Link API Documentation for DIS
|
Instances of DtEventIdHashKey are hash keys made from DtEventIds. More...
Inheritance diagram for DtEventIdHashKey:
Collaboration diagram for DtEventIdHashKey:Public Member Functions | |
| DtEventIdHashKey () | |
| empty constructor | |
| DtEventIdHashKey (const DtEventID &id) | |
| default constructor | |
| virtual | ~DtEventIdHashKey () |
| destructor | |
| DtEventIdHashKey (const DtEventIdHashKey &orig) | |
| copy constructor | |
| DtEventIdHashKey & | operator= (const DtEventIdHashKey &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 DtEventID & | value () const |
| Get hash key value. | |
| virtual const DtString | stringRep () const |
| Get the string representation of this key. | |
Public Member Functions inherited from DtBaseHashKey | |
| DtBaseHashKey () | |
| default constructor | |
| virtual | ~DtBaseHashKey () |
| destructor | |
| DtBaseHashKey (const DtBaseHashKey &orig) | |
| copy constructor | |
| DtBaseHashKey & | operator= (const DtBaseHashKey &orig) |
| assignment operator | |
| virtual bool | operator!= (const DtBaseHashKey &other) const |
| equality operator | |
| virtual DtU32 | hashValue () const |
| Get the hashed value for this key. | |
| virtual bool | equalTo (const DtBaseHashKey &otherKey) const |
| Subclasses may override this to provide an optimized comparison between two keys. | |
Protected Member Functions | |
| virtual DtU64 | computeHashValue () |
| Compute the hashed value for this key. | |
Protected Attributes | |
| DtEventID | myId |
Protected Attributes inherited from DtBaseHashKey | |
| bool | myHashValueIsComputed |
| myHashValueIsComputed is modified in hashValue() | |
| DtU32 | myHashValue |
| myHashValue is modified in the const function hashValue() | |
Instances of DtEventIdHashKey are hash keys made from DtEventIds.
They can be used with DtHashList to store arbitrary pieces of data hashed by DtEventId.
| DtEventIdHashKey::DtEventIdHashKey | ( | ) |
empty constructor
| DtEventIdHashKey::DtEventIdHashKey | ( | const DtEventID & | id | ) |
default constructor
|
virtual |
destructor
| DtEventIdHashKey::DtEventIdHashKey | ( | const DtEventIdHashKey & | orig | ) |
copy constructor
|
virtual |
Make a copy of this hash key.
Implements DtBaseHashKey.
|
protectedvirtual |
Compute the hashed value for this key.
Implements DtBaseHashKey.
| DtEventIdHashKey& DtEventIdHashKey::operator= | ( | const DtEventIdHashKey & | orig | ) |
assignment operator
|
virtual |
Override equality operator to NOT use stringRep(), as this is expensive.
Reimplemented from DtBaseHashKey.
|
virtual |
Get the string representation of this key.
Implements DtBaseHashKey.
|
virtual |
Get hash key value.
|
protected |