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
vrfutil
rwKeywordValuePairsReader.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/vrfutilDefines.h
"
12
#include <
readerWriter/readerWriter.h
>
13
#include "
vrfutil/rwKeyValueList.h
"
14
#include "
vrfutil/rwTemplatedList.h
"
15
16
#include <string>
17
#include <map>
18
#include <set>
19
20
class
DtFilename;
21
26
class
DT_DLL_vrfutil
DtRwKeywordValuePairsReader
:
public
DtRwTemplatedListPtr
<DtRwKeyValueList, true>
27
{
28
public
:
30
DtRwKeywordValuePairsReader
(
const
DtString
& name =
"DtRwKeywordValuePairsReader"
);
31
33
DtRwKeywordValuePairsReader
(
const
DtRwKeywordValuePairsReader
& orig);
34
36
const
DtRwKeywordValuePairsReader
&
operator=
(
const
DtRwKeywordValuePairsReader
& orig);
37
38
virtual
~
DtRwKeywordValuePairsReader
();
39
40
virtual
const
char
*
readerWriterType
();
41
43
static
const
char
*
theXmlType
();
44
45
virtual
const
char
*
xmlType
()
const
46
{
47
return
theXmlType
();
48
}
49
51
virtual
bool
hasMappingFor(
const
DtString
&)
const
;
52
54
virtual
std::map<DtString, DtString> asStdMap(
const
DtString
&)
const
;
55
57
virtual
bool
isUserEditable(
const
DtString
&)
const
;
58
60
virtual
void
setValuesFor(
const
DtString
& rw,
const
std::map<DtString, DtString>&);
61
virtual
void
setValuesFor(
const
DtString
& rw,
const
DtRwKeyValueList
&);
62
64
virtual
void
remove
(
const
DtString
&);
65
67
68
virtual
void
getData
(
const
DtEnvironmentSP
env,
const
DtEnvValueSP envObject,
69
const
DtReaderWriter::SearchPaths
& searchPaths,
const
DtVariableBindingsList
& bindings);
70
73
virtual
std::set<DtString> readerWriterItems()
const
;
74
76
virtual
void
rename(
const
DtString
& from,
const
DtString
& to);
77
82
virtual
DtString
displayNameForKeyword(
const
DtString
& rwName,
const
DtString
& keyword)
const
;
83
};
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
)