VR-Link API Documentation for HLA 1.3
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:

List of all members.

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
DtStringHashKeyoperator= (const DtStringHashKey &orig)
 assignment operator
virtual DtBaseHashKeyclone () const
 Make a copy of this hash key.
virtual const DtStringvalue () 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.

Protected Member Functions

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

Protected Attributes

DtString myString

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

empty constructor -- generally should not be called

default constructor

DtStringHashKey::DtStringHashKey ( const char *  str)

alternate constructor

virtual DtStringHashKey::~DtStringHashKey ( ) [virtual]

destructor

copy constructor


Member Function Documentation

virtual DtBaseHashKey* DtStringHashKey::clone ( ) const [virtual]

Make a copy of this hash key.

Implements DtBaseHashKey.

virtual DtU32 DtStringHashKey::computeHashValue ( ) [protected, virtual]

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


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

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)