VR-Link API Documentation for DIS
Public Member Functions | Protected Member Functions | Protected Attributes
DtEntityIdentifierHashKey Class Reference

Instances of DtEntityIdentifierHashKey are hash keys made from DtEntityIdentifiers. More...

+ Inheritance diagram for DtEntityIdentifierHashKey:
+ Collaboration diagram for DtEntityIdentifierHashKey:

List of all members.

Public Member Functions

 DtEntityIdentifierHashKey ()
 empty constructor
 DtEntityIdentifierHashKey (const DtEntityIdentifier &id)
 default constructor
virtual ~DtEntityIdentifierHashKey ()
 destructor
 DtEntityIdentifierHashKey (const DtEntityIdentifierHashKey &orig)
 copy constructor
DtEntityIdentifierHashKeyoperator= (const DtEntityIdentifierHashKey &orig)
 assignment operator
virtual bool operator== (const DtBaseHashKey &other) const
 Override equality operator to NOT use stringRep(), as this is expensive.
virtual DtBaseHashKeyclone () const
 Make a copy of this hash key.
virtual const DtEntityIdentifiervalue () const
 Get 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

DtEntityIdentifier myId

Detailed Description

Instances of DtEntityIdentifierHashKey are hash keys made from DtEntityIdentifiers.

They can be used with DtHashList to store arbitrary pieces of data hashed by DtEntityIdentifier.


Constructor & Destructor Documentation

empty constructor

default constructor

destructor

copy constructor


Member Function Documentation

virtual DtBaseHashKey* DtEntityIdentifierHashKey::clone ( ) const [virtual]

Make a copy of this hash key.

Implements DtBaseHashKey.

virtual DtU32 DtEntityIdentifierHashKey::computeHashValue ( ) [protected, virtual]

Compute the hashed value for this key.

Implements DtBaseHashKey.

DtEntityIdentifierHashKey& DtEntityIdentifierHashKey::operator= ( const DtEntityIdentifierHashKey orig)

assignment operator

virtual bool DtEntityIdentifierHashKey::operator== ( const DtBaseHashKey other) const [virtual]

Override equality operator to NOT use stringRep(), as this is expensive.

Reimplemented from DtBaseHashKey.

virtual const DtString DtEntityIdentifierHashKey::stringRep ( ) const [virtual]

Get the string representation of this key.

Implements DtBaseHashKey.

virtual const DtEntityIdentifier& DtEntityIdentifierHashKey::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)