VR-Forces Development_Version Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrfutil
vrfSubObjectParameterList.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2013 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
10
11
#pragma once
12
13
#include "
vrfutil/rwList.h
"
14
#include "
vrfutil/vrfSubObjectParameterEntry.h
"
15
16
class
DtVrfSubObjectParameterEntry
;
17
20
#include "
vrfutil/vrfutilDefines.h
"
21
class
DT_DLL_vrfutil
DtVrfSubObjectParameterList
:
public
DtRwList
22
{
23
public
:
24
25
struct
SubordinateAdder
26
{
27
SubordinateAdder
(
DtVrfSubObjectParameterList
* list) : myList(list) {}
28
void
operator()(
DtReaderWriter
* rwObject)
29
{
30
myList->addSubObjectEntry(*static_cast<DtVrfSubObjectParameterEntry*>(rwObject));
31
}
32
DtVrfSubObjectParameterList
*
myList
;
33
};
34
36
DtVrfSubObjectParameterList
(
const
DtString
& name = DtString::nullString(),
37
DtReaderWriterRegistry
* parentRegistry = NULL);
38
DtVrfSubObjectParameterList
(
const
DtSymbolString
& name,
39
DtReaderWriterRegistry
* parentRegistry = NULL);
40
42
DtVrfSubObjectParameterList
(
const
DtVrfSubObjectParameterList
& orig,
43
const
DtString
& name = DtString::nullString(),
44
DtReaderWriterRegistry
* parentRegistry = NULL);
45
DtVrfSubObjectParameterList
(
const
DtVrfSubObjectParameterList
& orig,
46
const
DtSymbolString
& name,
47
DtReaderWriterRegistry
* parentRegistry = NULL);
48
49
const
DtVrfSubObjectParameterList
&
operator=
(
50
const
DtVrfSubObjectParameterList
& orig);
51
53
virtual
~
DtVrfSubObjectParameterList
();
54
55
virtual
DtVrfSubObjectParameterList
* clone(
56
const
DtString
& name = DtString::nullString(),
57
DtReaderWriterRegistry
* parentRegistry = NULL)
const
;
58
virtual
DtVrfSubObjectParameterList
* clone(
59
const
DtSymbolString
& name,
60
DtReaderWriterRegistry
* parentRegistry = NULL)
const
;
61
62
virtual
DtVrfSubObjectParameterEntry
* addSubObjectEntry(
63
const
DtVrfSubObjectParameterEntry
& subEntry);
64
68
virtual
void
removeSubObjectEntry(
const
DtVrfSubObjectParameterEntry
* subEntry);
69
71
bool
operator==
(
const
DtVrfSubObjectParameterList
&)
const
;
72
bool
operator!=
(
const
DtVrfSubObjectParameterList
&)
const
;
73
74
virtual
const
char
*
readerWriterType
()
const
;
75
77
virtual
void
getSelf
(DtlObjPtr args,
const
DtReaderWriter::SearchPaths
& searchPaths,
78
const
DtVariableBindingsList
& variableBindings);
79
82
virtual
void
getData
(
const
DtEnvironmentSP
,
const
DtEnvValueSP value,
83
const
DtReaderWriter::SearchPaths
& searchPaths =
DtReaderWriter::SearchPaths
(),
84
const
DtVariableBindingsList
& bindings =
DtVariableBindingsList
());
85
87
static
const
char
*
theXmlType
();
88
89
virtual
const
char
*
xmlType
()
const
90
{
91
return
theXmlType
();
92
}
93
95
virtual
std::set<DtString>
supportedXmlTypes
()
const
;
97
98
protected
:
99
102
virtual
DtlObjPtr
getData
(DtlObjPtr args,
const
DtReaderWriter::SearchPaths
& searchPaths,
103
const
DtVariableBindingsList
& variableBindings);
104
105
virtual
void
emptyList();
106
virtual
void
copyList(
const
DtVrfSubObjectParameterList
& orig);
107
108
virtual
DtVrfSubObjectParameterEntry
* addSubObjectEntry(
109
DtVrfSubObjectParameterEntry
* subEntry);
110
};
Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)