VR-Link API Documentation for DIS
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:

List of all members.

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 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

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

default constructor

virtual DtIntHashKey::~DtIntHashKey ( ) [virtual]

destructor

copy constructor


Member Function Documentation

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.


Member Data Documentation


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

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)