![]() |
VR-Forces 4.0.4 Class Documentation
|
class DtRwCondExpr: More...

Public Member Functions | |
| DtRwCondExpr (const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL) | |
| real constructor | |
| DtRwCondExpr (const DtString &name, DtSimCondExpr *condExpr, DtReaderWriterRegistry *parentRegistry=NULL) | |
| initializing constructor | |
| DtRwCondExpr (const DtString &name, const DtRwCondExpr &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| real copy constructor | |
| virtual | ~DtRwCondExpr () |
| destructor | |
| DtRwCondExpr & | operator= (const DtRwCondExpr &orig) |
| assignment operator | |
| virtual DtRwCondExpr * | clone (const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL) |
| clone operator | |
| virtual bool | evaluate (const DtString &echelonId, DtSimManager *simManager) const |
| Evaluate this conditional expression for entity given by the echelonId, in the context of the given DtSimManager, and return the current result. | |
| virtual DtSimCondExpr * | condExpr () const |
| virtual void | setCondExpr (DtSimCondExpr *arg) |
| 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) |
Protected Member Functions | |
| DtRwCondExpr () | |
| default constructor (DO NOT USE) | |
| DtRwCondExpr (const DtRwCondExpr &orig) | |
| copy constructor (DO NOT USE) | |
Protected Attributes | |
| DtSimCondExpr * | myCondExpr |
class DtRwCondExpr:
DtRwCondExpr is a ReaderWriter class for storing a conditional expression in a member variable. Since the usual DtSimCondExpr class uses its "name" string as a way of storing its type, this class is necesary to store an actual named Conditional Expression.
| DtRwCondExpr::DtRwCondExpr | ( | const DtString & | name, |
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
real constructor
| DtRwCondExpr::DtRwCondExpr | ( | const DtString & | name, |
| DtSimCondExpr * | condExpr, | ||
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
initializing constructor
| DtRwCondExpr::DtRwCondExpr | ( | const DtString & | name, |
| const DtRwCondExpr & | orig, | ||
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
real copy constructor
| virtual DtRwCondExpr::~DtRwCondExpr | ( | ) | [virtual] |
destructor
| DtRwCondExpr::DtRwCondExpr | ( | ) | [protected] |
default constructor (DO NOT USE)
| DtRwCondExpr::DtRwCondExpr | ( | const DtRwCondExpr & | orig | ) | [protected] |
copy constructor (DO NOT USE)
| DtRwCondExpr& DtRwCondExpr::operator= | ( | const DtRwCondExpr & | orig | ) |
assignment operator
| virtual DtRwCondExpr* DtRwCondExpr::clone | ( | const DtString & | name, |
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) | [virtual] |
clone operator
| virtual bool DtRwCondExpr::evaluate | ( | const DtString & | echelonId, |
| DtSimManager * | simManager | ||
| ) | const [virtual] |
Evaluate this conditional expression for entity given by the echelonId, in the context of the given DtSimManager, and return the current result.
| virtual DtSimCondExpr* DtRwCondExpr::condExpr | ( | ) | const [virtual] |
| virtual void DtRwCondExpr::setCondExpr | ( | DtSimCondExpr * | arg | ) | [virtual] |
| virtual void DtRwCondExpr::putData | ( | FILE * | fp, |
| int | indentLevel = 0 |
||
| ) | [virtual] |
Deriving class overrides these to get/put class specific data.
Reimplemented from DtReaderWriter.
| virtual DtlObjPtr DtRwCondExpr::getData | ( | DtlObjPtr | args, |
| const DtFilename & | searchPath, | ||
| const DtVariableBindingsList & | variableBindings | ||
| ) | [virtual] |
DtSimCondExpr* DtRwCondExpr::myCondExpr [protected] |