![]() |
VR-Forces 4.0.4 Class Documentation
|

Public Member Functions | |
| DtIfBlock (DtIfStmt *ifStmt=NULL) | |
| default constructor | |
| DtIfBlock (const DtString &name, DtIfStmt *ifStmt=NULL, DtReaderWriterRegistry *parentRegistry=NULL) | |
| real constructor | |
| DtIfBlock (const DtIfBlock &orig) | |
| default copy constructor NOTE: this does a deep copy of the statements. | |
| DtIfBlock (const DtString &name, const DtIfBlock &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| better copy constructor NOTE: this does a deep copy of the statements. | |
| virtual | ~DtIfBlock () |
| destructor | |
| DtIfBlock & | operator= (const DtIfBlock &orig) |
| assignment operator | |
| virtual DtSimBlock * | clone (const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL) const |
| The normal clone function. | |
| virtual void | exitFromBlock (DtPlan &planContext) |
| This function is called by the last statement in the block so that the block can do whatever is appropriate at the end of this block. | |
| virtual void | setIfStmt (DtIfStmt *arg) |
| Set this block's If statement. | |
| virtual const DtIfStmt * | ifStmt () const |
| Get this block's If statement. | |
| virtual DtIfStmt * | ifStmt () |
| Get this block's If statement. | |
Protected Attributes | |
| DtIfStmt * | myIfStmt |
class DtIfBlock:
Instances of DtIfBlock hold statements that are nested inside conditionals ("If" statements).
| DtIfBlock::DtIfBlock | ( | DtIfStmt * | ifStmt = NULL | ) |
default constructor
| DtIfBlock::DtIfBlock | ( | const DtString & | name, |
| DtIfStmt * | ifStmt = NULL, |
||
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
real constructor
| DtIfBlock::DtIfBlock | ( | const DtIfBlock & | orig | ) |
default copy constructor NOTE: this does a deep copy of the statements.
| DtIfBlock::DtIfBlock | ( | const DtString & | name, |
| const DtIfBlock & | orig, | ||
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
better copy constructor NOTE: this does a deep copy of the statements.
| virtual DtIfBlock::~DtIfBlock | ( | ) | [virtual] |
destructor
| virtual DtSimBlock* DtIfBlock::clone | ( | const DtString & | name, |
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) | const [virtual] |
The normal clone function.
Implements DtSimBlock.
| virtual void DtIfBlock::exitFromBlock | ( | DtPlan & | planContext | ) | [virtual] |
This function is called by the last statement in the block so that the block can do whatever is appropriate at the end of this block.
For If blocks, this will jump to the first statement after the If Statement.
Implements DtSimBlock.
| virtual void DtIfBlock::setIfStmt | ( | DtIfStmt * | arg | ) | [virtual] |
Set this block's If statement.
| virtual const DtIfStmt* DtIfBlock::ifStmt | ( | ) | const [virtual] |
Get this block's If statement.
| virtual DtIfStmt* DtIfBlock::ifStmt | ( | ) | [virtual] |
Get this block's If statement.
DtIfStmt* DtIfBlock::myIfStmt [protected] |