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

Public Member Functions | |
| DtWhenBlock (DtWhenStmt *whenStmt=NULL) | |
| default constructor | |
| DtWhenBlock (const DtString &name, DtWhenStmt *whenStmt=NULL, DtReaderWriterRegistry *parentRegistry=NULL) | |
| real constructor | |
| DtWhenBlock (const DtWhenBlock &orig) | |
| Default copy constructor. | |
| DtWhenBlock (const DtString &name, const DtWhenBlock &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| Better copy constructor. | |
| virtual | ~DtWhenBlock () |
| destructor | |
| DtWhenBlock & | operator= (const DtWhenBlock &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 | setWhenStmt (DtWhenStmt *arg) |
| Set this block's When statement. | |
| virtual const DtWhenStmt * | whenStmt () const |
| Get this block's When statement. | |
| virtual DtWhenStmt * | whenStmt () |
| Get this block's When statement. | |
Protected Attributes | |
| DtWhenStmt * | myWhenStmt |
class DtWhenBlock:
Instances of DtWhenBlock hold statements that are nested inside triggers ("When" statements).
| DtWhenBlock::DtWhenBlock | ( | DtWhenStmt * | whenStmt = NULL | ) |
default constructor
| DtWhenBlock::DtWhenBlock | ( | const DtString & | name, |
| DtWhenStmt * | whenStmt = NULL, |
||
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
real constructor
| DtWhenBlock::DtWhenBlock | ( | const DtWhenBlock & | orig | ) |
Default copy constructor.
NOTE: this does a deep copy of the statements.
| DtWhenBlock::DtWhenBlock | ( | const DtString & | name, |
| const DtWhenBlock & | orig, | ||
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
Better copy constructor.
NOTE: this does a deep copy of the statements.
| virtual DtWhenBlock::~DtWhenBlock | ( | ) | [virtual] |
destructor
| DtWhenBlock& DtWhenBlock::operator= | ( | const DtWhenBlock & | orig | ) |
assignment operator
| virtual DtSimBlock* DtWhenBlock::clone | ( | const DtString & | name, |
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) | const [virtual] |
The normal clone function.
Implements DtSimBlock.
| virtual void DtWhenBlock::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 When blocks, this will call the When statements exitFromTrigger function.
Implements DtSimBlock.
| virtual void DtWhenBlock::setWhenStmt | ( | DtWhenStmt * | arg | ) | [virtual] |
Set this block's When statement.
| virtual const DtWhenStmt* DtWhenBlock::whenStmt | ( | ) | const [virtual] |
Get this block's When statement.
| virtual DtWhenStmt* DtWhenBlock::whenStmt | ( | ) | [virtual] |
Get this block's When statement.
DtWhenStmt* DtWhenBlock::myWhenStmt [protected] |