VR-Forces 4.5 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
rwIntegerAttribute.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/integerAttribute.h
"
12
#include "
vrfutil/readerWriter.h
"
13
17
18
#include "
vrfutil/vrfutilDefines.h
"
19
class
DT_DLL_vrfutil
DtRwIntegerAttribute
:
public
DtReaderWriter
,
public
DtIntegerAttribute
20
{
21
public
:
22
24
DtRwIntegerAttribute
(
const
DtString
& name = DtString::nullString(),
25
DtReaderWriterRegistry
*
const
parentRegistry = NULL);
26
27
DtRwIntegerAttribute
(
const
DtSymbolString
& name,
28
DtReaderWriterRegistry
*
const
parentRegistry = NULL);
29
30
DtRwIntegerAttribute
(
const
DtString
& name,
31
const
DtString
& key,
32
const
int
& data,
33
DtReaderWriterRegistry
*
const
parentRegistry = NULL);
34
35
DtRwIntegerAttribute
(
const
DtSymbolString
& name,
36
const
DtString
& key,
37
const
int
& data,
38
DtReaderWriterRegistry
*
const
parentRegistry = NULL);
39
41
virtual
~
DtRwIntegerAttribute
();
42
44
DtRwIntegerAttribute
(
const
DtRwIntegerAttribute
& orig,
45
const
DtString
& name = DtString::nullString(),
46
DtReaderWriterRegistry
* parentRegistry = NULL);
47
48
DtRwIntegerAttribute
(
const
DtRwIntegerAttribute
& orig,
49
const
DtSymbolString
& name,
50
DtReaderWriterRegistry
* parentRegistry = NULL);
51
53
DtRwIntegerAttribute
&
operator=
(
const
DtRwIntegerAttribute
& orig);
54
56
DtIntegerAttribute
&
operator=
(
const
DtIntegerAttribute
& integerAttribute);
57
61
virtual
void
putData
(std::ostream&fp,
int
indentlLevel = 0);
62
virtual
DtlObjPtr
getData
(DtlObjPtr args,
const
DtReaderWriter::SearchPaths
& searchPaths,
63
const
DtVariableBindingsList
& variableBindings);
64
66
virtual
void
putData
(
DtEnvironmentSP
, DtEnvValueSP value)
const
;
67
69
virtual
void
getData
(
const
DtEnvironmentSP
,
const
DtEnvValueSP,
70
const
DtReaderWriter::SearchPaths
& searchPaths =
DtReaderWriter::SearchPaths
(),
71
const
DtVariableBindingsList
& bindings =
DtVariableBindingsList
());
72
76
virtual
const
char
*
readerWriterType
()
const
;
77
79
static
const
char
*
theXmlType
();
80
81
virtual
const
char
*
xmlType
()
const
82
{
83
return
theXmlType
();
84
}
85
86
bool
operator==
(
const
DtRwIntegerAttribute
&)
const
;
87
bool
operator!=
(
const
DtRwIntegerAttribute
& rhs)
const
{
return
!(*
this
== rhs); };
88
};
89
90
namespace
DtBufferSerialize
91
{
92
DT_DLL_vrfutil
int
getSize
(
const
DtRwIntegerAttribute
& val);
93
DT_DLL_vrfutil
const
char
*
decode
(
DtRwIntegerAttribute
& val,
const
char
*buffer) ;
94
DT_DLL_vrfutil
char
*
encode
(
const
DtRwIntegerAttribute
& val,
char
*buffer);
95
}
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)