VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes
DtWhileBlock Class Reference

class DtWhileBlock: More...

Inheritance diagram for DtWhileBlock:
Inheritance graph
[legend]

List of all members.

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
DtWhileBlockoperator= (const DtWhileBlock &orig)
 assignment operator
virtual DtSimBlockclone (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 DtWhileStmtwhileStmt () const
 Get this block's while statement.
virtual DtWhileStmtwhileStmt ()
 Get this block's while statement.

Protected Attributes

DtWhileStmtmyWhileStmt

Detailed Description

class DtWhileBlock:

Instances of DtWhileBlock hold statements that are nested inside a while loop.


Constructor & Destructor Documentation

DtWhileBlock::DtWhileBlock ( DtWhileStmt whileStmt = NULL)

default constructor

DtWhileBlock::DtWhileBlock ( const DtString name,
DtWhileStmt whileStmt = NULL,
DtReaderWriterRegistry parentRegistry = NULL 
)

real constructor

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


Member Function Documentation

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.


Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)