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

Instances of DtSystemHashKey are used as hash keys for an emitter system. More...

+ Inheritance diagram for DtSystemHashKey:
+ Collaboration diagram for DtSystemHashKey:

Public Member Functions

 DtSystemHashKey ()
 default constructor - generally should not be called
 DtSystemHashKey (const DtGlobalObjectDesignator &id, int systemId)
 default constructor
virtual ~DtSystemHashKey ()
 destructor
 DtSystemHashKey (const DtSystemHashKey &orig)
 copy constructor
DtSystemHashKeyoperator= (const DtSystemHashKey &orig)
 assignment operator
virtual DtBaseHashKeyclone () const
 Make a copy of this hash key.
virtual int value () 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 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

DtGlobalObjectDesignatorHashKey myDesHashKey
int mySystemId
- 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 DtSystemHashKey are used as hash keys for an emitter system.

Constructor & Destructor Documentation

DtSystemHashKey::DtSystemHashKey ( )

default constructor - generally should not be called

DtSystemHashKey::DtSystemHashKey ( const DtGlobalObjectDesignator id,
int  systemId 
)

default constructor

virtual DtSystemHashKey::~DtSystemHashKey ( )
virtual

destructor

DtSystemHashKey::DtSystemHashKey ( const DtSystemHashKey orig)

copy constructor

Member Function Documentation

virtual DtBaseHashKey* DtSystemHashKey::clone ( ) const
virtual

Make a copy of this hash key.

Implements DtBaseHashKey.

virtual DtU64 DtSystemHashKey::computeHashValue ( )
protectedvirtual

Compute the hashed value for this key.

Implements DtBaseHashKey.

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

assignment operator

virtual const DtString DtSystemHashKey::stringRep ( ) const
virtual

Get the string representation of this key.

Implements DtBaseHashKey.

virtual int DtSystemHashKey::value ( ) const
virtual

Get hash key value.

Member Data Documentation

DtGlobalObjectDesignatorHashKey DtSystemHashKey::myDesHashKey
protected
int DtSystemHashKey::mySystemId
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)