![]() |
VR-Link API Documentation for HLA Evolved
|
Instances of DtStringHashKey are used as a hash key made from a string. More...
Inheritance diagram for DtStringHashKey:
Collaboration diagram for DtStringHashKey:Public Member Functions | |
| DtStringHashKey () | |
| empty constructor – generally should not be called More... | |
| DtStringHashKey (const DtString &str) | |
| default constructor More... | |
| DtStringHashKey (const char *str) | |
| alternate constructor More... | |
| virtual | ~DtStringHashKey () |
| destructor More... | |
| DtStringHashKey (const DtStringHashKey &orig) | |
| copy constructor More... | |
| DtStringHashKey & | operator= (const DtStringHashKey &orig) |
| assignment operator More... | |
| virtual DtBaseHashKey * | clone () const |
| Make a copy of this hash key. More... | |
| virtual const DtString & | value () const |
| Gt hash key value. More... | |
| virtual void | setValue (const DtString &val) |
| Set 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 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 | |
| DtString | myString |
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 DtStringHashKey are used as a hash key made from a string.
DtHashlist has been deprecated, and replaced by std::map.
| DtStringHashKey::DtStringHashKey | ( | ) |
empty constructor – generally should not be called
| DtStringHashKey::DtStringHashKey | ( | const DtString & | str | ) |
default constructor
| DtStringHashKey::DtStringHashKey | ( | const char * | str | ) |
alternate constructor
|
virtual |
destructor
| DtStringHashKey::DtStringHashKey | ( | const DtStringHashKey & | orig | ) |
copy constructor
|
virtual |
Make a copy of this hash key.
Implements DtBaseHashKey.
|
protectedvirtual |
Compute the hashed value for this key.
Implements DtBaseHashKey.
|
inlinevirtual |
| DtStringHashKey& DtStringHashKey::operator= | ( | const DtStringHashKey & | orig | ) |
assignment operator
|
virtual |
Set hash key value.
|
virtual |
Get the string representation of this key.
Implements DtBaseHashKey.
|
virtual |
Gt hash key value.
|
protected |