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

List of all members.

Public Member Functions

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

Public Attributes

DtStringTree * myNext
 The next items in the tree.
DtStringTree * myChild
DtStringTree * myArray

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

Default Constructor.

virtual DtStringTree::~DtStringTree ( ) [virtual]

Destructor.

Copy Constructor.


Member Function Documentation

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]
virtual void DtStringTree::mergeStringTree ( DtStringTree *  backTree) [virtual]

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

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

The next items in the tree.

unsigned int DtStringTree::myOffset [protected]

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)