VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes
DtNLengthIntegerVector Class Reference

Description: DtNLengthIntegerVector is a named, readable/writable vector of integers of arbitrary length. More...

Inheritance diagram for DtNLengthIntegerVector:
Inheritance graph
[legend]

List of all members.

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 DtNLengthIntegerVectoroperator= (const DtNLengthIntegerVector &orig)
 Assign to DtNLengthIntegerVector... assigns value only.
virtual ~DtNLengthIntegerVector ()
virtual DtNLengthIntegerVectorclone (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

Detailed Description

Description: DtNLengthIntegerVector is a named, readable/writable vector of integers of arbitrary length.


Constructor & Destructor Documentation

default constructor

DtNLengthIntegerVector::DtNLengthIntegerVector ( const DtString name,
DtReaderWriterRegistry parentRegistry = NULL 
)

real constructor

copy constructor


Member Function Documentation

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]

Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)