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

class DtWhenBlock: More...

Inheritance diagram for DtWhenBlock:
Inheritance graph
[legend]

List of all members.

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
DtWhenBlockoperator= (const DtWhenBlock &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 setWhenStmt (DtWhenStmt *arg)
 Set this block's When statement.
virtual const DtWhenStmtwhenStmt () const
 Get this block's When statement.
virtual DtWhenStmtwhenStmt ()
 Get this block's When statement.

Protected Attributes

DtWhenStmtmyWhenStmt

Detailed Description

class DtWhenBlock:

Instances of DtWhenBlock hold statements that are nested inside triggers ("When" statements).


Constructor & Destructor Documentation

DtWhenBlock::DtWhenBlock ( DtWhenStmt whenStmt = NULL)

default constructor

DtWhenBlock::DtWhenBlock ( const DtString name,
DtWhenStmt whenStmt = NULL,
DtReaderWriterRegistry parentRegistry = NULL 
)

real constructor

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


Member Function Documentation

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.


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)