VR-Link API Documentation for HLA 1516
List of all members | Public Member Functions | Public Attributes | Protected Attributes

Basically a struct with a destructor, a string tree is a collection of indexed strings used to hold more complex attributes or parameters. More...

+ Collaboration diagram for DtStringTree:

Public Member Functions

 DtStringTree ()
 Default Constructor.
virtual ~DtStringTree ()
 Destructor.
 DtStringTree (const DtStringTree &orig)
 Copy Constructor.
DtStringTreeoperator= (const DtStringTree &rhs)
 Assignment Operator.
virtual void appendToArray (DtStringTree *backTree)
 Place a string tree in the tail of this string tree.
virtual const DtStringTreefindKey (const DtString &key) const
 Go through the tree to find a specific key.
void setValue (DtString newValue)
 Accessors.
const DtStringvalue () const
void setKey (DtString newValue)
const DtStringkey () const
void setDatatype (DtString newValue)
const DtStringdatatype () const
void setOffset (unsigned int newValue)
unsigned int offset () const

Public Attributes

DtStringTreemyNext
 The next items in the tree.
DtStringTreemyChild
DtStringTreemyArray

Protected Attributes

DtString myValue
DtString myKey
DtString myDatatype
unsigned int myOffset

Detailed Description

Basically a struct with a destructor, a string tree is a collection of indexed strings used to hold more complex attributes or parameters.

Constructor & Destructor Documentation

DtStringTree::DtStringTree ( )

Default Constructor.

virtual DtStringTree::~DtStringTree ( )
virtual

Destructor.

DtStringTree::DtStringTree ( const DtStringTree orig)

Copy Constructor.

Member Function Documentation

virtual void DtStringTree::appendToArray ( DtStringTree backTree)
virtual

Place a string tree in the tail of this string tree.

const DtString& DtStringTree::datatype ( ) const
inline
virtual const DtStringTree* DtStringTree::findKey ( const DtString key) const
virtual

Go through the tree to find a specific key.

const DtString& DtStringTree::key ( ) const
inline
unsigned int DtStringTree::offset ( ) const
inline
DtStringTree& DtStringTree::operator= ( const DtStringTree rhs)

Assignment Operator.

void DtStringTree::setDatatype ( DtString  newValue)
inline
void DtStringTree::setKey ( DtString  newValue)
inline
void DtStringTree::setOffset ( unsigned int  newValue)
inline
void DtStringTree::setValue ( DtString  newValue)
inline

Accessors.

const DtString& DtStringTree::value ( ) const
inline

Member Data Documentation

DtStringTree* DtStringTree::myArray
DtStringTree* DtStringTree::myChild
DtString DtStringTree::myDatatype
protected
DtString DtStringTree::myKey
protected
DtStringTree* DtStringTree::myNext

The next items in the tree.

unsigned int DtStringTree::myOffset
protected
DtString DtStringTree::myValue
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)