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

class DtRwCondExpr: More...

Inheritance diagram for DtRwCondExpr:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtRwCondExpr (const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL)
 real constructor
 DtRwCondExpr (const DtString &name, DtSimCondExpr *condExpr, DtReaderWriterRegistry *parentRegistry=NULL)
 initializing constructor
 DtRwCondExpr (const DtString &name, const DtRwCondExpr &orig, DtReaderWriterRegistry *parentRegistry=NULL)
 real copy constructor
virtual ~DtRwCondExpr ()
 destructor
DtRwCondExpr & operator= (const DtRwCondExpr &orig)
 assignment operator
virtual DtRwCondExpr * clone (const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL)
 clone operator
virtual bool evaluate (const DtString &echelonId, DtSimManager *simManager) const
 Evaluate this conditional expression for entity given by the echelonId, in the context of the given DtSimManager, and return the current result.
virtual DtSimCondExpr * condExpr () const
virtual void setCondExpr (DtSimCondExpr *arg)
virtual void putData (FILE *fp, int indentLevel=0)
 Deriving class overrides these to get/put class specific data.
virtual DtlObjPtr getData (DtlObjPtr args, const DtFilename &searchPath, const DtVariableBindingsList &variableBindings)

Protected Member Functions

 DtRwCondExpr ()
 default constructor (DO NOT USE)
 DtRwCondExpr (const DtRwCondExpr &orig)
 copy constructor (DO NOT USE)

Protected Attributes

DtSimCondExpr * myCondExpr

Detailed Description

class DtRwCondExpr:

DtRwCondExpr is a ReaderWriter class for storing a conditional expression in a member variable. Since the usual DtSimCondExpr class uses its "name" string as a way of storing its type, this class is necesary to store an actual named Conditional Expression.


Constructor & Destructor Documentation

DtRwCondExpr::DtRwCondExpr ( const DtString &  name,
DtReaderWriterRegistry *  parentRegistry = NULL 
)

real constructor

DtRwCondExpr::DtRwCondExpr ( const DtString &  name,
DtSimCondExpr *  condExpr,
DtReaderWriterRegistry *  parentRegistry = NULL 
)

initializing constructor

DtRwCondExpr::DtRwCondExpr ( const DtString &  name,
const DtRwCondExpr &  orig,
DtReaderWriterRegistry *  parentRegistry = NULL 
)

real copy constructor

virtual DtRwCondExpr::~DtRwCondExpr ( ) [virtual]

destructor

DtRwCondExpr::DtRwCondExpr ( ) [protected]

default constructor (DO NOT USE)

DtRwCondExpr::DtRwCondExpr ( const DtRwCondExpr &  orig) [protected]

copy constructor (DO NOT USE)


Member Function Documentation

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

assignment operator

virtual DtRwCondExpr* DtRwCondExpr::clone ( const DtString &  name,
DtReaderWriterRegistry *  parentRegistry = NULL 
) [virtual]

clone operator

virtual bool DtRwCondExpr::evaluate ( const DtString &  echelonId,
DtSimManager *  simManager 
) const [virtual]

Evaluate this conditional expression for entity given by the echelonId, in the context of the given DtSimManager, and return the current result.

virtual DtSimCondExpr* DtRwCondExpr::condExpr ( ) const [virtual]
virtual void DtRwCondExpr::setCondExpr ( DtSimCondExpr *  arg) [virtual]
virtual void DtRwCondExpr::putData ( FILE *  fp,
int  indentLevel = 0 
) [virtual]

Deriving class overrides these to get/put class specific data.

Reimplemented from DtReaderWriter.

virtual DtlObjPtr DtRwCondExpr::getData ( DtlObjPtr  args,
const DtFilename &  searchPath,
const DtVariableBindingsList &  variableBindings 
) [virtual]

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)