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

Public Member Functions | |
| DtNLengthIntegerVector () | |
| default constructor | |
| DtNLengthIntegerVector (const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL) | |
| real constructor | |
| DtNLengthIntegerVector (const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL) | |
| DtNLengthIntegerVector (const DtNLengthIntegerVector &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| copy constructor | |
| const DtNLengthIntegerVector & | operator= (const DtNLengthIntegerVector &orig) |
| Assign to DtNLengthIntegerVector... assigns value only. | |
| virtual | ~DtNLengthIntegerVector () |
| virtual DtNLengthIntegerVector * | clone (DtReaderWriterRegistry *parentRegistry=NULL) const |
| virtual void | setVectorLength (int length) |
| As many values as possible under the new length are saved. | |
| virtual int | vectorLength () const |
| virtual int & | operator[] (const int i) |
| virtual int | 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 DtNLengthIntegerVector &vector) |
| virtual const char * | readerWriterType () const |
| Used to supply a string type that this reader writer type is. | |
| virtual bool | operator== (const DtNLengthIntegerVector &) const |
| Equivalence operators. | |
| virtual bool | operator!= (const DtNLengthIntegerVector &) const |
Protected Attributes | |
| int * | myIntegers |
| int | myVectorLength |
Description: DtNLengthIntegerVector is a named, readable/writable vector of integers of arbitrary length.
default constructor
| DtNLengthIntegerVector::DtNLengthIntegerVector | ( | const DtString & | name, |
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
real constructor
| DtNLengthIntegerVector::DtNLengthIntegerVector | ( | const DtSymbolString & | name, |
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
| DtNLengthIntegerVector::DtNLengthIntegerVector | ( | const DtNLengthIntegerVector & | orig, |
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
copy constructor
| virtual DtNLengthIntegerVector::~DtNLengthIntegerVector | ( | ) | [virtual] |
| const DtNLengthIntegerVector& DtNLengthIntegerVector::operator= | ( | const DtNLengthIntegerVector & | orig | ) |
Assign to DtNLengthIntegerVector... assigns value only.
| virtual DtNLengthIntegerVector* DtNLengthIntegerVector::clone | ( | DtReaderWriterRegistry * | parentRegistry = NULL | ) | const [virtual] |
| virtual void DtNLengthIntegerVector::setVectorLength | ( | int | length | ) | [virtual] |
As many values as possible under the new length are saved.
| virtual int DtNLengthIntegerVector::vectorLength | ( | ) | const [virtual] |
| virtual int& DtNLengthIntegerVector::operator[] | ( | const int | i | ) | [virtual] |
| virtual int DtNLengthIntegerVector::value | ( | const int | i | ) | const [virtual] |
| virtual void DtNLengthIntegerVector::putData | ( | FILE * | fp, |
| int | indentLevel = 0 |
||
| ) | [virtual] |
Deriving class overrides these to get/put class specific data.
Reimplemented from DtReaderWriter.
| virtual DtlObjPtr DtNLengthIntegerVector::getData | ( | DtlObjPtr | args, |
| const DtFilename & | searchPath, | ||
| const DtVariableBindingsList & | variableBindings | ||
| ) | [virtual] |
| virtual void DtNLengthIntegerVector::copyVector | ( | const DtNLengthIntegerVector & | vector | ) | [virtual] |
| virtual const char* DtNLengthIntegerVector::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.
| virtual bool DtNLengthIntegerVector::operator== | ( | const DtNLengthIntegerVector & | ) | const [virtual] |
Equivalence operators.
| virtual bool DtNLengthIntegerVector::operator!= | ( | const DtNLengthIntegerVector & | ) | const [virtual] |
int* DtNLengthIntegerVector::myIntegers [protected] |
int DtNLengthIntegerVector::myVectorLength [protected] |