VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Attributes
vrfAddConditionalExample::MyConditionalExpression Class Reference
Inheritance diagram for vrfAddConditionalExample::MyConditionalExpression:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 MyConditionalExpression ()
 MyConditionalExpression (DtReaderWriterRegistry *parentRegistry)
 MyConditionalExpression (const MyConditionalExpression &orig, DtReaderWriterRegistry *parentRegistry=NULL)
virtual ~MyConditionalExpression ()
MyConditionalExpressionoperator= (const MyConditionalExpression &orig)
virtual DtSimCondExprclone (DtReaderWriterRegistry *parentRegistry=NULL)
 clone operator
virtual int type () const
 Returns the type of conditional expression defined in condExprTypes.h.
virtual void setEntityName (const DtString &name)
virtual const DtStringentityName () const
virtual void setModifier (const DtString &arg)
virtual const DtStringmodifier () const
virtual DtString stringRep (int subExprIndex=DtSR_EXPR) const
 Get a readable string representation of this level of this expression.
virtual int netRepSize () const
 These 3 should become pure virtual functions.
virtual bool setFromNet (const char *contentBuffer, unsigned contentSize)
virtual bool setToNet ()

Static Public Member Functions

static DtSimCondExprcreator ()

Protected Attributes

DtRwString myEntityName
DtRwString myModifier

Constructor & Destructor Documentation


Member Function Documentation

MyConditionalExpression& vrfAddConditionalExample::MyConditionalExpression::operator= ( const MyConditionalExpression orig)

clone operator

Implements DtSimCondExpr.

Returns the type of conditional expression defined in condExprTypes.h.

Implements DtSimCondExpr.

virtual DtString vrfAddConditionalExample::MyConditionalExpression::stringRep ( int  subExprIndex = DtSR_EXPR) const [virtual]

Get a readable string representation of this level of this expression.

The subExprIndex argument indicates which stringRep to get if this expression can have sub-expressions. If a sub-expression index >= 0 is given, the string returned will be the one that should precede that sub-expression. A sub-expression index of DtSimCondExpr::DtSR_EXPR requests the string that should follow any and all sub-expressions, this is the value that should be used for expressions that have no subExprs (i.e. subExprCount() == 0).

Implements DtSimCondExpr.

These 3 should become pure virtual functions.

Reimplemented from DtSimCondExpr.

virtual bool vrfAddConditionalExample::MyConditionalExpression::setFromNet ( const char *  contentBuffer,
unsigned  contentSize 
) [virtual]

Reimplemented from DtSimCondExpr.

Reimplemented from DtSimCondExpr.


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)