VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfutil
nLenRealVec.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1999-2000 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: nLenRealVec.h,v $ $Revision: 1.9 $ $State: Exp $
7
*******************************************************************************/
8
11
17
18
#ifndef DtNLengthRealVector_H_
19
#define DtNLengthRealVector_H_
20
21
#include <vlutil/vlMachineTypes.h>
22
#include "
vrfutil/rdrWritr.h
"
23
24
class
DtReaderWriterRegistry
;
25
29
#include "
vrfutil/vrfutilDefines.h
"
30
class
DT_DLL_vrfutil
DtNLengthRealVector
:
public
DtReaderWriter
31
{
32
public
:
34
DtNLengthRealVector
();
35
37
DtNLengthRealVector
(
const
DtString
& name,
DtReaderWriterRegistry
*
38
parentRegistry = NULL);
39
DtNLengthRealVector
(
const
DtSymbolString
& name,
DtReaderWriterRegistry
*
40
parentRegistry = NULL);
41
43
DtNLengthRealVector
(
const
DtNLengthRealVector
& orig,
44
DtReaderWriterRegistry
* parentRegistry = NULL);
45
47
const
DtNLengthRealVector
&
operator=
(
const
DtNLengthRealVector
& orig);
48
49
virtual
~
DtNLengthRealVector
();
50
51
virtual
DtNLengthRealVector
* clone(
DtReaderWriterRegistry
* parentRegistry = 0)
const
;
52
55
virtual
void
setVectorLength(
int
length);
56
virtual
int
vectorLength()
const
;
57
58
virtual
DtReal& operator[] (
const
int
i);
59
virtual
DtReal value(
const
int
i)
const
;
60
61
virtual
void
putData
(FILE * fp,
int
indentLevel = 0);
62
virtual
DtlObjPtr
getData
(DtlObjPtr args,
const
DtFilename& searchPath,
63
const
DtVariableBindingsList
& variableBindings);
64
65
virtual
void
copyVector(
const
DtNLengthRealVector
& vector);
66
70
virtual
const
char
*
readerWriterType
()
const
;
71
72
protected
:
73
DtReal*
myReals
;
74
int
myVectorLength
;
75
};
76
77
#endif
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)