VR-Link API Documentation for HLA 1.3
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
omtReader
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
20
class
DT_DLL_OMTREADER
DtStringTree
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;
54
DtStringTree
*
myChild
;
55
DtStringTree
*
myArray
;
56
57
protected
:
58
59
DtString
myValue
;
60
DtString
myKey
;
61
DtString
myDatatype
;
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 Mon Apr 8 04:49:21 EDT 2019 from SVN revision 197403
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)