VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
10 
11 #include <omtReader/omtReader.h>
12 #include <vlutil/vlString.h>
13 #ifdef DtUSE_UTILITIES_NAMESPACE
14 namespace DtUSE_UTILITIES_NAMESPACE
15 {
16 #endif
17 
18 
19 
21 {
22 public:
23 
25  DtStringTree();
26 
28  virtual ~DtStringTree();
29 
31  DtStringTree(const DtStringTree& orig);
32 
34  DtStringTree& operator=(const DtStringTree& rhs);
35 
37  virtual void appendToArray(DtStringTree* backTree);
38 
40  virtual const DtStringTree* findKey(const DtString& key) const;
41 
43  inline void setValue(DtString newValue) {myValue = newValue;};
44  inline const DtString& value() const {return myValue;};
45  inline void setKey(DtString newValue) {myKey = newValue;};
46  inline const DtString& key() const {return myKey;};
47  inline void setDatatype(DtString newValue) {myDatatype = newValue;};
48  inline const DtString& datatype() const {return myDatatype;};
49  inline void setOffset(unsigned int newValue) {myOffset = newValue;};
50  inline unsigned int offset() const {return myOffset;} ;
51 
53  DtStringTree* myNext;
56 
57 protected:
58 
62  unsigned int myOffset; //Offset from the start of the byte stream where you may find this value
63 };
64 
65 #ifdef DtUSE_UTILITIES_NAMESPACE
66 } // end of namespace DtUSE_UTILITIES_NAMESPACE
67 #endif

Document ID: Generated on Tue Mar 1 02:56:17 EST 2016 from SVN revision 162687
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)