VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfutil
nLenIntVec.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1999 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: nLenIntVec.h,v $ $Revision: 1.11 $ $State: Exp $
7
*******************************************************************************/
8
11
17
18
#ifndef DtNLengthIntegerVector_H_
19
#define DtNLengthIntegerVector_H_
20
21
#include <vlutil/vlMachineTypes.h>
22
#include "
vrfutil/rdrWritr.h
"
23
24
class
DtReaderWriterRegistry
;
25
30
31
#include "
vrfutil/vrfutilDefines.h
"
32
class
DT_DLL_vrfutil
DtNLengthIntegerVector
:
public
DtReaderWriter
33
{
34
public
:
36
DtNLengthIntegerVector
();
37
39
DtNLengthIntegerVector
(
const
DtString
& name,
DtReaderWriterRegistry
*
40
parentRegistry = NULL);
41
DtNLengthIntegerVector
(
const
DtSymbolString& name,
DtReaderWriterRegistry
*
42
parentRegistry = NULL);
43
45
DtNLengthIntegerVector
(
const
DtNLengthIntegerVector
& orig,
46
DtReaderWriterRegistry
* parentRegistry = NULL);
47
49
const
DtNLengthIntegerVector
&
operator=
(
const
DtNLengthIntegerVector
& orig);
50
51
virtual
~
DtNLengthIntegerVector
();
52
53
virtual
DtNLengthIntegerVector
* clone(
DtReaderWriterRegistry
*
54
parentRegistry = NULL)
const
;
55
57
virtual
void
setVectorLength(
int
length);
58
virtual
int
vectorLength()
const
;
59
60
virtual
int
& operator[] (
const
int
i);
61
virtual
int
value(
const
int
i)
const
;
62
63
virtual
void
putData
(FILE * fp,
int
indentLevel = 0);
64
virtual
DtlObjPtr
getData
(DtlObjPtr args,
const
DtFilename& searchPath,
65
const
DtVariableBindingsList
& variableBindings);
66
67
virtual
void
copyVector(
const
DtNLengthIntegerVector
& vector);
68
72
virtual
const
char
*
readerWriterType
()
const
;
73
75
virtual
bool
operator==
(
const
DtNLengthIntegerVector
&)
const
;
76
virtual
bool
operator!=
(
const
DtNLengthIntegerVector
&)
const
;
77
78
protected
:
79
int
*
myIntegers
;
80
int
myVectorLength
;
81
};
82
83
#endif
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)