VR-Link API Documentation for HLA 1516
stringTree.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *******************************************************************************/
7 #pragma once
8 
9 #include <omtReader/omtReader.h>
10 #include <vlutil/vlString.h>
11 
16 {
17 public:
18 
20  DtStringTree();
21 
23  virtual ~DtStringTree();
24 
26  DtStringTree(const DtStringTree& orig);
27 
29  DtStringTree& operator=(const DtStringTree& rhs);
30 
32  virtual void appendToArray(DtStringTree* backTree);
33 
35  virtual const DtStringTree* findKey(const DtString& key) const;
36 
38  inline void setValue(DtString newValue) {myValue = newValue;};
39  inline const DtString& value() const {return myValue;};
40  inline void setKey(DtString newValue) {myKey = newValue;};
41  inline const DtString& key() const {return myKey;};
42  inline void setDatatype(DtString newValue) {myDatatype = newValue;};
43  inline const DtString& datatype() const {return myDatatype;};
44  inline void setOffset(unsigned int newValue) {myOffset = newValue;};
45  inline unsigned int offset() const {return myOffset;} ;
46 
48  DtStringTree* myNext;
51 
52 protected:
53 
57  unsigned int myOffset; //Offset from the start of the byte stream where you may find this value
58 };
59 

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)