MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
stringTree.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1992-2024 MAK Technologies, Inc
3 ** All rights reserved.
4 *******************************************************************************/
7 #pragma once
8 
9 
10 
11 #include <lgrOmtReader/omtReader.h>
12 #include <vlutil/vlString.h>
17 {
18 public:
19 
21  DtStringTree();
22 
24  virtual ~DtStringTree();
25 
27  DtStringTree(const DtStringTree& orig);
28 
30  DtStringTree& operator=(const DtStringTree& rhs);
31 
33  virtual void appendToArray(DtStringTree* backTree);
34 
36  virtual const DtStringTree* findKey(const DtString& key) const;
37 
39  inline void setValue(DtString newValue) {myValue = newValue;};
40  inline const DtString& value() const {return myValue;};
41  inline void setKey(DtString newValue) {myKey = newValue;};
42  inline const DtString& key() const {return myKey;};
43  inline void setDatatype(DtString newValue) {myDatatype = newValue;};
44  inline const DtString& datatype() const {return myDatatype;};
45  inline void setOffset(unsigned int newValue) {myOffset = newValue;};
46  inline unsigned int offset() const {return myOffset;} ;
47 
49  DtStringTree* myNext;
52 
53 protected:
54 
58  unsigned int myOffset; //Offset from the start of the byte stream where you may find this value
59 };
60 
61 
62 
void setOffset(unsigned int newValue)
Definition: stringTree.h:45
unsigned int offset() const
Definition: stringTree.h:46
DtString myDatatype
Definition: stringTree.h:57
const DtString & datatype() const
Definition: stringTree.h:44
void setKey(DtString newValue)
Definition: stringTree.h:41
Contains defines for export control for OMT Reader.
const DtString & value() const
Definition: stringTree.h:40
#define DT_DLL_OMTREADER
Definition: omtReader.h:23
void setDatatype(DtString newValue)
Definition: stringTree.h:43
void setValue(DtString newValue)
Accessors.
Definition: stringTree.h:39
const DtString & key() const
Definition: stringTree.h:42
DtStringTree * myArray
Definition: stringTree.h:51
Basically a struct with a destructor, a string tree is a collection of indexed strings used to hold m...
Definition: stringTree.h:16
DtString myValue
Definition: stringTree.h:55
unsigned int myOffset
Definition: stringTree.h:58
DtStringTree * myChild
Definition: stringTree.h:50
DtString myKey
Definition: stringTree.h:56

Document ID: Generated on Thu Oct 3 15:35:11 EDT 2024 from SVN revision 270037
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)