VR-Link API Documentation for HLA 1.3
 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
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 More...
 
 DtStringHashKey (const DtString &str)
 default constructor More...
 
 DtStringHashKey (const char *str)
 alternate constructor More...
 
virtual ~DtStringHashKey ()
 destructor More...
 
 DtStringHashKey (const DtStringHashKey &orig)
 copy constructor More...
 
DtStringHashKeyoperator= (const DtStringHashKey &orig)
 assignment operator More...
 
virtual DtBaseHashKeyclone () const
 Make a copy of this hash key. More...
 
virtual const DtStringvalue () const
 Gt hash key value. More...
 
virtual void setValue (const DtString &val)
 Set 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 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

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

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

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 DtU64 DtStringHashKey::computeHashValue ( )
protectedvirtual

Compute the hashed value for this key.

Implements DtBaseHashKey.

virtual DtHashKeyType DtStringHashKey::hashKeyType ( ) const
inlinevirtual

Get the type of HashKey.

Reimplemented from DtBaseHashKey.

References DtStringHashKeyType.

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 Thu Sep 19 02:12:35 EDT 2024 from SVN revision 269601
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)