VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfobjparam
rwStatePropertyInitialization.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2018 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include <
readerWriter/rwReal.h
>
12
#include <
readerWriter/rwInt.h
>
13
#include <
readerWriter/rwBoolean.h
>
14
#include <
readerWriter/rwString.h
>
15
#include <
vrfutil/rwTemplatedList.h
>
16
#include "
vrfobjparam/vrfobjparamDefines.h
"
17
18
class
DT_DLL_vrfobjparam
DtRwStatePropertyInitialization
:
public
DtReaderWriter
19
{
20
public
:
22
DtRwStatePropertyInitialization
();
23
25
DtRwStatePropertyInitialization
(
const
DtString
& name,
DtReaderWriterRegistry
*
26
parentRegistry = NULL);
27
28
DtRwStatePropertyInitialization
(
const
DtSymbolString
& name,
DtReaderWriterRegistry
*
29
parentRegistry = NULL);
30
32
DtRwStatePropertyInitialization
(
const
DtString
& name,
const
DtRwStatePropertyInitialization
& orig,
33
DtReaderWriterRegistry
* parentRegistry = NULL);
34
35
DtRwStatePropertyInitialization
(
const
DtSymbolString
& name,
const
DtRwStatePropertyInitialization
& orig,
36
DtReaderWriterRegistry
* parentRegistry = NULL);
37
39
const
DtRwStatePropertyInitialization
&
operator=
(
const
DtRwStatePropertyInitialization
& orig);
40
41
virtual
~
DtRwStatePropertyInitialization
();
42
43
virtual
DtRwStatePropertyInitialization
* clone(
const
DtString
& name,
44
DtReaderWriterRegistry
* parentRegistry = NULL)
const
;
45
46
virtual
DtRwStatePropertyInitialization
* clone(
const
DtSymbolString
& name,
47
DtReaderWriterRegistry
* parentRegistry = NULL)
const
;
48
51
virtual
DtString
statePropertyName()
const
;
52
virtual
void
setStatePropertyName(
const
DtString
& val);
54
57
virtual
double
realValue()
const
;
58
virtual
void
setRealValue(
double
val);
59
virtual
bool
realValueSpecified()
const
;
61
64
virtual
int
intValue()
const
;
65
virtual
void
setIntValue(
int
val);
66
virtual
bool
intValueSpecified()
const
;
68
71
virtual
bool
boolValue()
const
;
72
virtual
void
setBoolValue(
bool
val);
73
virtual
bool
boolValueSpecified()
const
;
75
78
virtual
DtString
stringValue()
const
;
79
virtual
void
setStringValue(
const
DtString
& val);
80
virtual
bool
stringValueSpecified()
const
;
82
84
bool
operator==
(
const
DtRwStatePropertyInitialization
& rhs)
const
;
85
bool
operator!=
(
const
DtRwStatePropertyInitialization
& rhs)
const
86
{
87
return
!(*
this
== rhs);
88
}
89
93
virtual
const
char
*
readerWriterType
()
const
;
94
96
static
const
char
*
theXmlType
();
97
98
virtual
const
char
*
xmlType
()
const
99
{
100
return
theXmlType
();
101
}
102
103
protected
:
107
111
DtRwString
myStatePropertyName
;
112
116
DtRwReal
myRealValue
;
117
121
DtRwInt
myIntValue
;
122
126
DtRwBoolean
myBoolValue
;
127
131
DtRwString
myStringValue
;
132
134
};
135
136
typedef
DtRwTemplatedListPtr<DtRwStatePropertyInitialization, true>
DtRwStatePropertyInitializationList
;
137
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)