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
rwPropertiesMap.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/rwPropertiesList.h
>
12
29
class
DT_DLL_vrfutil
DtRwPropertiesMap
:
public
DtRwPropertiesList
30
{
31
private
:
33
DtRwPropertiesMap
();
34
35
public
:
36
37
DtRwPropertiesMap
(
const
DtString
& name,
DtReaderWriterRegistry
* parentRegistry = 0);
38
DtRwPropertiesMap
(
const
DtString
& name,
const
DtRwPropertiesMap
& orig,
39
DtReaderWriterRegistry
* parentRegistry = 0);
40
virtual
~
DtRwPropertiesMap
();
41
45
virtual
const
char
*
readerWriterType
()
const
;
46
48
static
const
char
*
theXmlType
();
49
50
virtual
const
char
*
xmlType
()
const
51
{
52
return
theXmlType
();
53
}
54
55
virtual
void
writeSelf
(std::string& fp,
int
indentLevel = 0,
56
bool
writeUnspecified =
false
,
const
DtFilename& path =
57
DtFilename::nullFilename());
58
59
DtRwPropertiesMap
&
operator=
(
const
DtRwPropertiesMap
&);
60
63
virtual
void
setKeyType(
const
DtString
&);
64
virtual
const
DtReaderWriter
* keyType()
const
;
66
69
virtual
bool
keyIsInt()
const
;
70
virtual
bool
keyIsReal()
const
;
71
virtual
bool
keyIsString()
const
;
73
75
virtual
bool
isSimilarProperty
(
const
DtPropertyInterface
* rhs)
const
;
76
77
bool
operator==
(
const
DtRwPropertiesMap
&)
const
;
78
79
protected
:
81
virtual
DtPropertyInterface
*
createPrototype
(DtlObjPtr args);
82
virtual
DtlObjPtr
variablesStart
(DtlObjPtr args)
const
;
83
85
virtual
int
hlaAlignment
(
const
DtPropertyInterface
* field)
const
;
86
88
virtual
void
getSize
(
const
DtPropertyInterface
*,
int
&
size
)
const
;
89
90
virtual
void
createListEntry
(
DtPropertyInterface
* iFace, DtlObjPtr variableItem,
91
const
DtReaderWriter::SearchPaths
& searchPaths,
92
const
DtVariableBindingsList
& variableBindings);
93
94
virtual
char
*
encode
(
const
DtPropertyInterface
*,
char
*
buf
)
const
;
95
virtual
const
char
*
decode
(
DtPropertyInterface
* iFace,
const
char
*
buf
);
96
97
virtual
void
getData
(
const
DtEnvironmentSP
env,
const
DtEnvValueSP root,
98
const
DtReaderWriter::SearchPaths
& searchPaths,
99
const
DtVariableBindingsList
& varBindings);
100
virtual
void
putData
(
DtEnvironmentSP
env, DtEnvValueSP value)
const
;
101
102
protected
:
103
mutable
DtPropertyInterface
*
myKeyType
;
104
};
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
)