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

Public Member Functions | |
| DtWhileBlock (DtWhileStmt *whileStmt=NULL) | |
| default constructor | |
| DtWhileBlock (const DtString &name, DtWhileStmt *whileStmt=NULL, DtReaderWriterRegistry *parentRegistry=NULL) | |
| real constructor | |
| DtWhileBlock (const DtWhileBlock &orig) | |
| Default copy constructor. | |
| DtWhileBlock (const DtString &name, const DtWhileBlock &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| Better copy constructor. | |
| virtual | ~DtWhileBlock () |
| destructor | |
| DtWhileBlock & | operator= (const DtWhileBlock &orig) |
| assignment operator | |
| virtual DtSimBlock * | clone (const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL) const |
| The normal clone function. | |
| virtual void | exitFromBlock (DtPlan &planContext) |
| Re-evaluates the while loop's conditional expression and if true executes the block again. | |
| virtual void | setWhileStmt (DtWhileStmt *arg) |
| Set this block's while statement. | |
| virtual const DtWhileStmt * | whileStmt () const |
| Get this block's while statement. | |
| virtual DtWhileStmt * | whileStmt () |
| Get this block's while statement. | |
Protected Attributes | |
| DtWhileStmt * | myWhileStmt |
class DtWhileBlock:
Instances of DtWhileBlock hold statements that are nested inside a while loop.
| DtWhileBlock::DtWhileBlock | ( | DtWhileStmt * | whileStmt = NULL | ) |
default constructor
| DtWhileBlock::DtWhileBlock | ( | const DtString & | name, |
| DtWhileStmt * | whileStmt = NULL, |
||
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
real constructor
| DtWhileBlock::DtWhileBlock | ( | const DtWhileBlock & | orig | ) |
Default copy constructor.
NOTE: this does a deep copy of the statements.
| DtWhileBlock::DtWhileBlock | ( | const DtString & | name, |
| const DtWhileBlock & | orig, | ||
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
Better copy constructor.
NOTE: this does a deep copy of the statements.
| virtual DtWhileBlock::~DtWhileBlock | ( | ) | [virtual] |
destructor
| DtWhileBlock& DtWhileBlock::operator= | ( | const DtWhileBlock & | orig | ) |
assignment operator
| virtual DtSimBlock* DtWhileBlock::clone | ( | const DtString & | name, |
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) | const [virtual] |
The normal clone function.
Implements DtSimBlock.
| virtual void DtWhileBlock::exitFromBlock | ( | DtPlan & | planContext | ) | [virtual] |
Re-evaluates the while loop's conditional expression and if true executes the block again.
If not, the plan's execution stack is popped.
Implements DtSimBlock.
| virtual void DtWhileBlock::setWhileStmt | ( | DtWhileStmt * | arg | ) | [virtual] |
Set this block's while statement.
| virtual const DtWhileStmt* DtWhileBlock::whileStmt | ( | ) | const [virtual] |
Get this block's while statement.
| virtual DtWhileStmt* DtWhileBlock::whileStmt | ( | ) | [virtual] |
Get this block's while statement.
DtWhileStmt* DtWhileBlock::myWhileStmt [protected] |