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

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

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

Public Member Functions

 DtEventIdHashKey ()
 empty constructor More...
 
 DtEventIdHashKey (const DtEventID &id)
 default constructor More...
 
virtual ~DtEventIdHashKey ()
 destructor More...
 
 DtEventIdHashKey (const DtEventIdHashKey &orig)
 copy constructor More...
 
DtEventIdHashKeyoperator= (const DtEventIdHashKey &orig)
 assignment operator More...
 
virtual bool operator== (const DtBaseHashKey &other) const
 Override equality operator to NOT use stringRep(), as this is expensive. More...
 
virtual DtBaseHashKeyclone () const
 Make a copy of this hash key. More...
 
virtual const DtEventIDvalue () const
 Get hash key value. More...
 
virtual DtHashKeyType hashKeyType () const
 Get the type of HashKey. More...
 
virtual const DtString stringRep () const
 Get the string representation of this key. More...
 
- Public Member Functions inherited from DtBaseHashKey
 DtBaseHashKey ()
 default constructor More...
 
virtual ~DtBaseHashKey ()
 destructor More...
 
 DtBaseHashKey (const DtBaseHashKey &orig)
 copy constructor More...
 
DtBaseHashKeyoperator= (const DtBaseHashKey &orig)
 assignment operator More...
 
virtual bool operator!= (const DtBaseHashKey &other) const
 equality operator More...
 
virtual DtU32 hashValue () const
 Get the hashed value for this key. More...
 
virtual bool equalTo (const DtBaseHashKey &otherKey) const
 Subclasses may override this to provide an optimized comparison between two keys. More...
 

Protected Member Functions

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

Protected Attributes

DtEventID myId
 
- Protected Attributes inherited from DtBaseHashKey
bool myHashValueIsComputed
 myHashValueIsComputed is modified in hashValue() More...
 
DtU32 myHashValue
 myHashValue is modified in the const function hashValue() More...
 

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.

virtual DtHashKeyType DtEventIdHashKey::hashKeyType ( ) const
inlinevirtual

Get the type of HashKey.

Reimplemented from DtBaseHashKey.

References DtEventIdHashKeyType.

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 Tue Aug 10 00:12:31 EDT 2021 from SVN revision 232765
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)