VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
DtIntHashKey Class Reference

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
DtIntHashKeyoperator= (const DtIntHashKey &orig)
 assignment operator
virtual DtBaseHashKeyclone () const
 Make a copy of this hash key.
virtual DtU32 value () const
 Get hash key value.
virtual DtHashKeyType hashKeyType () const
 Get the type of HashKey.
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.
- Public Member Functions inherited from DtBaseHashKey
 DtBaseHashKey ()
 default constructor
virtual ~DtBaseHashKey ()
 destructor
 DtBaseHashKey (const DtBaseHashKey &orig)
 copy constructor
DtBaseHashKeyoperator= (const DtBaseHashKey &orig)
 assignment operator
virtual bool operator== (const DtBaseHashKey &other) const
 equality operator
virtual bool operator!= (const DtBaseHashKey &other) const
 equality operator
virtual DtU32 hashValue () const
 Get the hashed value for this key.

Protected Member Functions

virtual DtU64 computeHashValue ()
 Compute the hashed value for this key.

Protected Attributes

DtU32 myNum
- Protected Attributes inherited from DtBaseHashKey
bool myHashValueIsComputed
 myHashValueIsComputed is modified in hashValue()
DtU32 myHashValue
 myHashValue is modified in the const function hashValue()

Detailed Description

Instances of DtIntHashKey are used as a hash key made from an integer.

DtHashlist has been deprecated, and replaced by std::map. This

Deprecated:
This class has been deprecated, see DtHashList

Constructor & Destructor Documentation

DtIntHashKey::DtIntHashKey ( DtU32  num)

default constructor

virtual DtIntHashKey::~DtIntHashKey ( )
virtual

destructor

DtIntHashKey::DtIntHashKey ( const DtIntHashKey orig)

copy constructor

Member Function Documentation

virtual DtBaseHashKey* DtIntHashKey::clone ( ) const
virtual

Make a copy of this hash key.

Implements DtBaseHashKey.

virtual DtU64 DtIntHashKey::computeHashValue ( )
protectedvirtual

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.

virtual DtHashKeyType DtIntHashKey::hashKeyType ( ) const
inlinevirtual

Get the type of HashKey.

Reimplemented from DtBaseHashKey.

References DtIntHashKeyType.

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.

Member Data Documentation

DtU32 DtIntHashKey::myNum
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Fri May 15 06:36:13 EDT 2015 from SVN revision 153263
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)