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
nLengthIntegerVector.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2013 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
14
15
#pragma once
16
17
#include <vlutil/vlMachineTypes.h>
18
#include "
vrfutil/readerWriter.h
"
19
20
class
DtReaderWriterRegistry
;
21
26
27
#include "
vrfutil/vrfutilDefines.h
"
28
class
DT_DLL_vrfutil
DtNLengthIntegerVector
:
public
DtReaderWriter
29
{
30
public
:
32
DtNLengthIntegerVector
();
33
35
DtNLengthIntegerVector
(
const
DtString
& name,
DtReaderWriterRegistry
*
36
parentRegistry = NULL);
37
DtNLengthIntegerVector
(
const
DtSymbolString
& name,
DtReaderWriterRegistry
*
38
parentRegistry = NULL);
39
41
DtNLengthIntegerVector
(
const
DtNLengthIntegerVector
& orig,
42
DtReaderWriterRegistry
* parentRegistry = NULL);
43
45
const
DtNLengthIntegerVector
&
operator=
(
const
DtNLengthIntegerVector
& orig);
46
47
virtual
~
DtNLengthIntegerVector
();
48
49
virtual
DtNLengthIntegerVector
* clone(
DtReaderWriterRegistry
*
50
parentRegistry = NULL)
const
;
51
53
virtual
void
setVectorLength(
int
length);
54
virtual
int
vectorLength()
const
;
55
56
virtual
int
& operator[] (
const
int
i);
57
virtual
int
value(
const
int
i)
const
;
58
59
virtual
void
putData
(std::string& fp,
int
indentLevel = 0);
60
virtual
DtlObjPtr
getData
(DtlObjPtr args,
const
DtReaderWriter::SearchPaths
& searchPaths,
61
const
DtVariableBindingsList
& variableBindings);
62
63
virtual
void
copyVector(
const
DtNLengthIntegerVector
& vector);
64
68
virtual
const
char
*
readerWriterType
()
const
;
69
71
virtual
bool
operator==
(
const
DtNLengthIntegerVector
&)
const
;
72
virtual
bool
operator!=
(
const
DtNLengthIntegerVector
&)
const
;
73
76
virtual
void
putData
(
DtEnvironmentSP
, DtEnvValueSP parent)
const
;
77
virtual
void
getData
(
const
DtEnvironmentSP
,
const
DtEnvValueSP value,
78
const
DtReaderWriter::SearchPaths
& searchPaths =
DtReaderWriter::SearchPaths
(),
79
const
DtVariableBindingsList
& bindings =
DtVariableBindingsList
());
80
82
static
const
char
*
theXmlType
();
83
84
virtual
const
char
*
xmlType
()
const
85
{
86
return
theXmlType
();
87
}
88
virtual
void
stringToIntList(
const
DtString
&
string
);
89
virtual
DtString
intListToString()
const
;
91
92
protected
:
93
int
*
myIntegers
;
94
int
myVectorLength
;
95
};
96
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
)