![]() |
VR-Forces 4.0.4 Class Documentation
|
Description: A readable, writable list of DtForceType. More...

Public Member Functions | |
| DtRwForces (const DtString &name=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=NULL) | |
| real constructor | |
| DtRwForces (const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL) | |
| DtRwForces (const DtRwForces &orig) | |
| copy constructor | |
| DtRwForces & | operator= (const DtRwForces &orig) |
| assign to DtForceType... assigns value only | |
| DtRwForces & | operator= (const std::vector< DtForceType > &orig) |
| assign from DtForceType | |
| virtual | ~DtRwForces () |
| virtual const std::vector < DtForceType > & | value () const |
| additional operator overrides | |
| virtual void | setValue (const std::vector< DtForceType > &value) |
| virtual void | addForce (DtForceType t) |
| virtual void | removeForce (DtForceType t) |
| 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 const char * | readerWriterType () const |
| Used to supply a string type that this reader writer type is. | |
| virtual bool | operator== (const DtRwForces &) const |
| virtual bool | operator!= (const DtRwForces &) const |
| bool | hasForce (const DtForceType &) const |
| int | size () const |
| bool | empty () const |
| void | clear () |
| DtForceType & | operator[] (int) |
| const DtForceType | operator[] (int) const |
Protected Attributes | |
| std::vector< DtForceType > | myValue |
Description: A readable, writable list of DtForceType.
| DtRwForces::DtRwForces | ( | const DtString & | name = DtString::nullString(), |
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
real constructor
| DtRwForces::DtRwForces | ( | const DtSymbolString & | name, |
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
| DtRwForces::DtRwForces | ( | const DtRwForces & | orig | ) |
copy constructor
| virtual DtRwForces::~DtRwForces | ( | ) | [virtual] |
| DtRwForces& DtRwForces::operator= | ( | const DtRwForces & | orig | ) |
assign to DtForceType... assigns value only
| DtRwForces& DtRwForces::operator= | ( | const std::vector< DtForceType > & | orig | ) |
assign from DtForceType
| virtual const std::vector<DtForceType>& DtRwForces::value | ( | ) | const [virtual] |
additional operator overrides
| virtual void DtRwForces::setValue | ( | const std::vector< DtForceType > & | value | ) | [virtual] |
| virtual void DtRwForces::addForce | ( | DtForceType | t | ) | [virtual] |
| virtual void DtRwForces::removeForce | ( | DtForceType | t | ) | [virtual] |
| virtual void DtRwForces::putData | ( | FILE * | fp, |
| int | indentLevel = 0 |
||
| ) | [virtual] |
Deriving class overrides these to get/put class specific data.
Reimplemented from DtReaderWriter.
| virtual DtlObjPtr DtRwForces::getData | ( | DtlObjPtr | args, |
| const DtFilename & | searchPath, | ||
| const DtVariableBindingsList & | variableBindings | ||
| ) | [virtual] |
| virtual const char* DtRwForces::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 DtRwForces::operator== | ( | const DtRwForces & | ) | const [virtual] |
| virtual bool DtRwForces::operator!= | ( | const DtRwForces & | ) | const [virtual] |
| bool DtRwForces::hasForce | ( | const DtForceType & | ) | const |
| DtForceType& DtRwForces::operator[] | ( | int | ) |
| const DtForceType DtRwForces::operator[] | ( | int | ) | const |
| int DtRwForces::size | ( | ) | const [inline] |
References myValue.
| bool DtRwForces::empty | ( | ) | const [inline] |
References myValue.
| void DtRwForces::clear | ( | ) | [inline] |
References myValue.
std::vector<DtForceType> DtRwForces::myValue [protected] |