VR-Link API Documentation for DIS
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes

Instances of DtEventIdHashKey are hash keys made from DtEventIds. More...

+ Inheritance diagram for DtEventIdHashKey:
+ Collaboration diagram for DtEventIdHashKey:

Public Member Functions

 DtEventIdHashKey ()
 empty constructor
 DtEventIdHashKey (const DtEventID &id)
 default constructor
virtual ~DtEventIdHashKey ()
 destructor
 DtEventIdHashKey (const DtEventIdHashKey &orig)
 copy constructor
DtEventIdHashKeyoperator= (const DtEventIdHashKey &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 DtEventIDvalue () const
 Get hash key value.
virtual const DtString stringRep () const
 Get the string representation of this key.
- 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 DtU32 hashValue () const
 Get the hashed value for 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 DtU64 computeHashValue ()
 Compute the hashed value for this key.

Protected Attributes

DtEventID myId
- 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 DtEventIdHashKey are hash keys made from DtEventIds.

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

Constructor & Destructor Documentation

DtEventIdHashKey::DtEventIdHashKey ( )

empty constructor

DtEventIdHashKey::DtEventIdHashKey ( const DtEventID id)

default constructor

virtual DtEventIdHashKey::~DtEventIdHashKey ( )
virtual

destructor

DtEventIdHashKey::DtEventIdHashKey ( const DtEventIdHashKey orig)

copy constructor

Member Function Documentation

virtual DtBaseHashKey* DtEventIdHashKey::clone ( ) const
virtual

Make a copy of this hash key.

Implements DtBaseHashKey.

virtual DtU64 DtEventIdHashKey::computeHashValue ( )
protectedvirtual

Compute the hashed value for this key.

Implements DtBaseHashKey.

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

assignment operator

virtual bool DtEventIdHashKey::operator== ( const DtBaseHashKey other) const
virtual

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

Reimplemented from DtBaseHashKey.

virtual const DtString DtEventIdHashKey::stringRep ( ) const
virtual

Get the string representation of this key.

Implements DtBaseHashKey.

virtual const DtEventID& DtEventIdHashKey::value ( ) const
virtual

Get hash key value.

Member Data Documentation

DtEventID DtEventIdHashKey::myId
protected

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

Document ID: Generated on Wed Oct 23 22:25:48 EDT 2013 from SVN revision 132765
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)