![]() |
VR-Link API Documentation for HLA 1516
|
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. | |
| 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 |
Basically a struct with a destructor, a string tree is a collection of indexed strings used to hold more complex attributes or parameters.
Default Constructor.
| virtual DtStringTree::~DtStringTree | ( | ) | [virtual] |
Destructor.
| DtStringTree::DtStringTree | ( | const DtStringTree & | orig | ) |
Copy Constructor.
| 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] |
DtString DtStringTree::myDatatype [protected] |
DtString DtStringTree::myKey [protected] |
The next items in the tree.
unsigned int DtStringTree::myOffset [protected] |
DtString DtStringTree::myValue [protected] |