![]() |
VR-Forces 4.0.4 Class Documentation
|
Description: DtNLengthRealVector is a named, readable/writable vector of integers of arbitrary length. More...

Public Member Functions | |
| DtNLengthRealVector () | |
| default constructor | |
| DtNLengthRealVector (const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL) | |
| real constructor | |
| DtNLengthRealVector (const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL) | |
| DtNLengthRealVector (const DtNLengthRealVector &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| copy constructor | |
| const DtNLengthRealVector & | operator= (const DtNLengthRealVector &orig) |
| assign to DtNLengthRealVector... assigns value only | |
| virtual | ~DtNLengthRealVector () |
| virtual DtNLengthRealVector * | clone (DtReaderWriterRegistry *parentRegistry=0) const |
| virtual void | setVectorLength (int length) |
| NB: Setting the vector length reallocates the memory for the object, thereby destroying any existing data. | |
| virtual int | vectorLength () const |
| virtual DtReal & | operator[] (const int i) |
| virtual DtReal | value (const int i) const |
| virtual void | putData (FILE *fp, int indentLevel=0) |
| Deriving class overrides these to get/put class specific data. | |
| virtual DtlObjPtr | getData (DtlObjPtr args, const DtFilename &searchPath, const DtVariableBindingsList &variableBindings) |
| virtual void | copyVector (const DtNLengthRealVector &vector) |
| virtual const char * | readerWriterType () const |
| Used to supply a string type that this reader writer type is. | |
Protected Attributes | |
| DtReal * | myReals |
| int | myVectorLength |
Description: DtNLengthRealVector is a named, readable/writable vector of integers of arbitrary length.
default constructor
| DtNLengthRealVector::DtNLengthRealVector | ( | const DtString & | name, |
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
real constructor
| DtNLengthRealVector::DtNLengthRealVector | ( | const DtSymbolString & | name, |
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
| DtNLengthRealVector::DtNLengthRealVector | ( | const DtNLengthRealVector & | orig, |
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
copy constructor
| virtual DtNLengthRealVector::~DtNLengthRealVector | ( | ) | [virtual] |
| const DtNLengthRealVector& DtNLengthRealVector::operator= | ( | const DtNLengthRealVector & | orig | ) |
assign to DtNLengthRealVector... assigns value only
| virtual DtNLengthRealVector* DtNLengthRealVector::clone | ( | DtReaderWriterRegistry * | parentRegistry = 0 | ) | const [virtual] |
| virtual void DtNLengthRealVector::setVectorLength | ( | int | length | ) | [virtual] |
NB: Setting the vector length reallocates the memory for the object, thereby destroying any existing data.
| virtual int DtNLengthRealVector::vectorLength | ( | ) | const [virtual] |
| virtual DtReal& DtNLengthRealVector::operator[] | ( | const int | i | ) | [virtual] |
| virtual DtReal DtNLengthRealVector::value | ( | const int | i | ) | const [virtual] |
| virtual void DtNLengthRealVector::putData | ( | FILE * | fp, |
| int | indentLevel = 0 |
||
| ) | [virtual] |
Deriving class overrides these to get/put class specific data.
Reimplemented from DtReaderWriter.
| virtual DtlObjPtr DtNLengthRealVector::getData | ( | DtlObjPtr | args, |
| const DtFilename & | searchPath, | ||
| const DtVariableBindingsList & | variableBindings | ||
| ) | [virtual] |
| virtual void DtNLengthRealVector::copyVector | ( | const DtNLengthRealVector & | vector | ) | [virtual] |
| virtual const char* DtNLengthRealVector::readerWriterType | ( | ) | const [virtual] |
Used to supply a string type that this reader writer type is.
This can be used in place of dynamic-casting. Also used by the opd editor to determine which type of control to create
Reimplemented from DtReaderWriter.
DtReal* DtNLengthRealVector::myReals [protected] |
int DtNLengthRealVector::myVectorLength [protected] |