VR-Link API Documentation for HLA Evolved
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
DtStringHashKey Class Reference

Instances of DtStringHashKey are used as a hash key made from a string. More...

+ Inheritance diagram for DtStringHashKey:
+ Collaboration diagram for DtStringHashKey:

Public Member Functions

 DtStringHashKey ()
 empty constructor – generally should not be called
 DtStringHashKey (const DtString &str)
 default constructor
 DtStringHashKey (const char *str)
 alternate constructor
virtual ~DtStringHashKey ()
 destructor
 DtStringHashKey (const DtStringHashKey &orig)
 copy constructor
DtStringHashKey & operator= (const DtStringHashKey &orig)
 assignment operator
virtual DtBaseHashKey * clone () const
 Make a copy of this hash key.
virtual const DtString & value () const
 Gt hash key value.
virtual void setValue (const DtString &val)
 Set 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
DtBaseHashKey & operator= (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 DtU32 computeHashValue ()
 Compute the hashed value for this key.

Protected Attributes

DtString myString
- 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 DtStringHashKey are used as a hash key made from a string.

DtHashlist has been deprecated, and replaced by std::map. This

Deprecated:
This class has been deprecated, see DtHashList

Constructor & Destructor Documentation

DtStringHashKey::DtStringHashKey ( )

empty constructor – generally should not be called

DtStringHashKey::DtStringHashKey ( const DtString &  str)

default constructor

DtStringHashKey::DtStringHashKey ( const char *  str)

alternate constructor

virtual DtStringHashKey::~DtStringHashKey ( )
virtual

destructor

DtStringHashKey::DtStringHashKey ( const DtStringHashKey &  orig)

copy constructor

Member Function Documentation

virtual DtBaseHashKey* DtStringHashKey::clone ( ) const
virtual

Make a copy of this hash key.

Implements DtBaseHashKey.

virtual DtU32 DtStringHashKey::computeHashValue ( )
protectedvirtual

Compute the hashed value for this key.

Implements DtBaseHashKey.

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

assignment operator

virtual void DtStringHashKey::setValue ( const DtString &  val)
virtual

Set hash key value.

virtual const DtString DtStringHashKey::stringRep ( ) const
virtual

Get the string representation of this key.

Implements DtBaseHashKey.

virtual const DtString& DtStringHashKey::value ( ) const
virtual

Gt hash key value.

Member Data Documentation

DtString DtStringHashKey::myString
protected

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

Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)