VR-Forces 4.6.1 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
vrfutil
rwPropertiesList.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2013 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include <
vrfutil/rwProperties.h
>
12
#include <
vrfutil/propertyInterface.h
>
13
33
class
DT_DLL_vrfutil
DtRwPropertiesList
:
public
DtRwProperties
34
{
35
private
:
37
DtRwPropertiesList
();
38
39
public
:
40
41
DtRwPropertiesList
(
const
DtString
& name,
DtReaderWriterRegistry
* parentRegistry = 0);
42
DtRwPropertiesList
(
const
DtString
& name,
const
DtRwPropertiesList
& orig,
43
DtReaderWriterRegistry
* parentRegistry = 0);
44
virtual
~
DtRwPropertiesList
();
45
49
virtual
const
char
*
readerWriterType
()
const
;
50
52
static
const
char
*
theXmlType
();
53
54
virtual
const
char
*
xmlType
()
const
55
{
56
return
theXmlType
();
57
}
58
60
virtual
char
*
encode
(
char
*)
const
;
61
63
virtual
const
char
*
decode
(
const
char
*);
64
66
virtual
bool
isValidProperty
(
const
DtPropertyInterface
*)
const
;
67
69
virtual
int
count
()
const
;
70
72
virtual
void
getSelf
(DtlObjPtr args,
73
const
DtReaderWriter::SearchPaths
& searchPaths =
DtReaderWriter::SearchPaths
(),
74
const
DtVariableBindingsList
& variableBindings =
nullVariableReference
());
75
76
virtual
void
writeSelf
(std::string& fp,
int
indentLevel = 0,
77
bool
writeUnspecified =
false
,
const
DtFilename& path =
78
DtFilename::nullFilename());
79
81
virtual
void
setPrototype(
const
DtPropertyInterface
*);
82
84
virtual
const
DtPropertyInterface
* prototype()
const
;
85
87
virtual
DtPropertyInterface
* clonePrototype(
DtReaderWriterRegistry
* parent = 0);
88
89
DtRwPropertiesList
&
operator=
(
const
DtRwPropertiesList
&);
90
91
virtual
void
getSize
(
int
&
size
)
const
;
92
94
virtual
bool
isSimilarProperty
(
const
DtPropertyInterface
* rhs)
const
;
95
96
bool
operator==
(
const
DtRwPropertiesList
&)
const
;
97
98
protected
:
99
virtual
void
bindToRwAsVariable
(
const
DtReaderWriter
* rw);
100
101
virtual
void
createListEntry(
DtPropertyInterface
* iFace,
102
DtlObjPtr variableItem,
103
const
DtReaderWriter::SearchPaths
& searchPaths,
104
const
DtVariableBindingsList
& variableBindings);
105
106
virtual
DtPropertyInterface
* createPrototype(DtlObjPtr);
107
virtual
DtlObjPtr variablesStart(DtlObjPtr args)
const
;
108
110
virtual
const
char
*
decode
(
DtPropertyInterface
*,
const
char
*);
111
112
virtual
DtlObjPtr
getData
(DtlObjPtr variableList,
113
const
DtReaderWriter::SearchPaths
& searchPaths,
114
const
DtVariableBindingsList
& variableBindings);
115
116
virtual
int
hlaAlignment
(
const
DtPropertyInterface
* field)
const
;
117
virtual
void
getData
(
const
DtEnvironmentSP
env,
const
DtEnvValueSP root,
118
const
DtReaderWriter::SearchPaths
& searchPaths,
const
DtVariableBindingsList
& varBindings);
119
virtual
void
putData
(
DtEnvironmentSP
, DtEnvValueSP value)
const
;
120
121
virtual
void
assignPrototypeToChildren();
122
123
virtual
void
setPrototypeIntoTarget(
const
DtPropertyInterface
* prototype,
DtReaderWriter
* target);
124
125
protected
:
126
DtPropertyInterface
*
myPrototype
;
127
mutable
DtRwPropertyInt
myCount
;
128
};
Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)