VR-Link API Documentation for HLA 1.3
Public Member Functions | Protected Member Functions | Protected Attributes
DtObjectIdHashKey Class Reference

Instances of DtObjectIdHashKey are hash keys made from DtObjectIds. More...

+ Inheritance diagram for DtObjectIdHashKey:
+ Collaboration diagram for DtObjectIdHashKey:

List of all members.

Public Member Functions

 DtObjectIdHashKey ()
 empty constructor
 DtObjectIdHashKey (const DtObjectId &id)
 default constructor
virtual ~DtObjectIdHashKey ()
 destructor
 DtObjectIdHashKey (const DtObjectIdHashKey &orig)
 copy constructor
DtObjectIdHashKeyoperator= (const DtObjectIdHashKey &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 DtObjectIdvalue () const
 Get hash key value.

Protected Member Functions

virtual const DtString stringRep () const
 Get the string representation of this key.
virtual DtU32 computeHashValue ()
 Compute the hashed value for this key.

Protected Attributes

DtObjectId myId

Detailed Description

Instances of DtObjectIdHashKey are hash keys made from DtObjectIds.

They can be used with DtBaseHashList to store arbitrary pieces of data hashed by DtObjectId.


Constructor & Destructor Documentation

empty constructor

default constructor

destructor

copy constructor


Member Function Documentation

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

Make a copy of this hash key.

Implements DtBaseHashKey.

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

Compute the hashed value for this key.

Implements DtBaseHashKey.

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

assignment operator

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

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

Reimplemented from DtBaseHashKey.

virtual const DtString DtObjectIdHashKey::stringRep ( ) const [protected, virtual]

Get the string representation of this key.

Implements DtBaseHashKey.

virtual const DtObjectId& DtObjectIdHashKey::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)