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