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

class DtIfBlock: More...

Inheritance diagram for DtIfBlock:
Inheritance graph
[legend]

List of all members.

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
DtIfBlockoperator= (const DtIfBlock &orig)
 assignment operator
virtual DtSimBlockclone (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 DtIfStmtifStmt () const
 Get this block's If statement.
virtual DtIfStmtifStmt ()
 Get this block's If statement.

Protected Attributes

DtIfStmtmyIfStmt

Detailed Description

class DtIfBlock:

Instances of DtIfBlock hold statements that are nested inside conditionals ("If" statements).


Constructor & Destructor Documentation

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


Member Function Documentation

DtIfBlock& DtIfBlock::operator= ( const DtIfBlock orig)

assignment operator

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.


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)