![]() |
VR-Link API Documentation for HLA 1516
|
Instances of DtWStringHashKey are used as a hash key made from a wide string. More...
Inheritance diagram for DtWStringHashKey:
Collaboration diagram for DtWStringHashKey:Public Member Functions | |
| DtWStringHashKey () | |
| empty constructor -- generally should not be called | |
| DtWStringHashKey (const std::wstring &str) | |
| default constructor | |
| DtWStringHashKey (const wchar_t *str) | |
| alternate constructor | |
| virtual | ~DtWStringHashKey () |
| destructor | |
| DtWStringHashKey (const DtWStringHashKey &orig) | |
| copy constructor | |
| DtWStringHashKey & | operator= (const DtWStringHashKey &orig) |
| assignment operator | |
| virtual DtBaseHashKey * | clone () const |
| Make a copy of this hash key. | |
| virtual const std::wstring & | value () const |
| Gt hash key value. | |
| virtual void | setValue (const std::wstring &val) |
| Set hash key value. | |
| virtual const DtString | stringRep () const |
| Get the string representation of this key. | |
Protected Member Functions | |
| virtual DtU32 | computeHashValue () |
| Compute the hashed value for this key. | |
Protected Attributes | |
| std::wstring | myString |
Instances of DtWStringHashKey are used as a hash key made from a wide string.
DtHashlist has been deprecated, and replaced by std::map. This
empty constructor -- generally should not be called
| DtWStringHashKey::DtWStringHashKey | ( | const std::wstring & | str | ) |
default constructor
| DtWStringHashKey::DtWStringHashKey | ( | const wchar_t * | str | ) |
alternate constructor
| virtual DtWStringHashKey::~DtWStringHashKey | ( | ) | [virtual] |
destructor
| DtWStringHashKey::DtWStringHashKey | ( | const DtWStringHashKey & | orig | ) |
copy constructor
| virtual DtBaseHashKey* DtWStringHashKey::clone | ( | ) | const [virtual] |
Make a copy of this hash key.
Implements DtBaseHashKey.
| virtual DtU32 DtWStringHashKey::computeHashValue | ( | ) | [protected, virtual] |
Compute the hashed value for this key.
Implements DtBaseHashKey.
| DtWStringHashKey& DtWStringHashKey::operator= | ( | const DtWStringHashKey & | orig | ) |
assignment operator
| virtual void DtWStringHashKey::setValue | ( | const std::wstring & | val | ) | [virtual] |
Set hash key value.
| virtual const DtString DtWStringHashKey::stringRep | ( | ) | const [virtual] |
Get the string representation of this key.
Since this value is a wide string, it is expensive to convert to a string.
Implements DtBaseHashKey.
| virtual const std::wstring& DtWStringHashKey::value | ( | ) | const [virtual] |
Gt hash key value.
std::wstring DtWStringHashKey::myString [protected] |