![]() |
VR-Link API Documentation for DIS
|
Instances of DtIntHashKey are used as a hash key made from an integer. More...
Inheritance diagram for DtIntHashKey:
Collaboration diagram for DtIntHashKey:Public Member Functions | |
| DtIntHashKey (DtU32 num) | |
| default constructor | |
| virtual | ~DtIntHashKey () |
| destructor | |
| DtIntHashKey (const DtIntHashKey &orig) | |
| copy constructor | |
| DtIntHashKey & | operator= (const DtIntHashKey &orig) |
| assignment operator | |
| virtual DtBaseHashKey * | clone () const |
| Make a copy of this hash key. | |
| virtual DtU32 | value () const |
| Get hash key value. | |
| virtual const DtString | stringRep () const |
| get the string representation of 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 DtU32 | computeHashValue () |
| Compute the hashed value for this key. | |
Protected Attributes | |
| DtU32 | myNum |
Instances of DtIntHashKey are used as a hash key made from an integer.
DtHashlist has been deprecated, and replaced by std::map. This
| DtIntHashKey::DtIntHashKey | ( | DtU32 | num | ) |
default constructor
| virtual DtIntHashKey::~DtIntHashKey | ( | ) | [virtual] |
destructor
| DtIntHashKey::DtIntHashKey | ( | const DtIntHashKey & | orig | ) |
copy constructor
| virtual DtBaseHashKey* DtIntHashKey::clone | ( | ) | const [virtual] |
Make a copy of this hash key.
Implements DtBaseHashKey.
| virtual DtU32 DtIntHashKey::computeHashValue | ( | ) | [protected, virtual] |
Compute the hashed value for this key.
Implements DtBaseHashKey.
| virtual bool DtIntHashKey::equalTo | ( | const DtBaseHashKey & | otherKey | ) | const [virtual] |
Subclasses may override this to provide an optimized comparison between two keys.
Reimplemented from DtBaseHashKey.
| DtIntHashKey& DtIntHashKey::operator= | ( | const DtIntHashKey & | orig | ) |
assignment operator
| virtual const DtString DtIntHashKey::stringRep | ( | ) | const [virtual] |
get the string representation of this key
Implements DtBaseHashKey.
| virtual DtU32 DtIntHashKey::value | ( | ) | const [virtual] |
Get hash key value.
DtU32 DtIntHashKey::myNum [protected] |