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

class DtCeEntLeftOfLine: More...

Inheritance diagram for DtCeEntLeftOfLine:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtCeEntLeftOfLine ()
 default constructor
 DtCeEntLeftOfLine (DtReaderWriterRegistry *parentRegistry)
 real constructor
 DtCeEntLeftOfLine (const DtCeEntLeftOfLine &orig, DtReaderWriterRegistry *parentRegistry=NULL)
 copy constructor
virtual ~DtCeEntLeftOfLine ()
 destructor
DtCeEntLeftOfLineoperator= (const DtCeEntLeftOfLine &orig)
 assignment operator
virtual DtSimCondExprclone (DtReaderWriterRegistry *parentRegistry=NULL)
 clone operator
virtual int type () const
 Returns DtCondExprEntityLeftOfLineType (defined in condExprTypes.h).
virtual void setEntityName (const DtString &name)
 Set the entity name.
virtual const DtStringentityName () const
virtual void setLineName (const DtString &lineName)
 Set Line name.
virtual const DtStringlineName () const
virtual void setModifier (const DtString &arg)
 Set the test modifier.
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
 returns the size of the full network representation padded to an 8-byte boundary.
virtual bool setFromNet (const char *contentBuffer, unsigned contentSize)
 Fills in the expression from the network buffer.
virtual bool setToNet ()
 Fills in the network buffer (created by base class conditional expression) with the conditional expression contents.

Static Public Member Functions

static DtSimCondExprcreator ()

Protected Attributes

DtRwString myEntityName
DtRwString myLineName
DtRwString myModifier

Detailed Description

class DtCeEntLeftOfLine:

Instances of DtCeEntLeftOfLine represent an Entity Left of Line test.


Constructor & Destructor Documentation

default constructor

real constructor

DtCeEntLeftOfLine::DtCeEntLeftOfLine ( const DtCeEntLeftOfLine orig,
DtReaderWriterRegistry parentRegistry = NULL 
)

copy constructor

destructor


Member Function Documentation

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

assignment operator

virtual DtSimCondExpr* DtCeEntLeftOfLine::clone ( DtReaderWriterRegistry parentRegistry = NULL) [virtual]

clone operator

Implements DtSimCondExpr.

virtual int DtCeEntLeftOfLine::type ( ) const [virtual]

Returns DtCondExprEntityLeftOfLineType (defined in condExprTypes.h).

Implements DtSimCondExpr.

virtual void DtCeEntLeftOfLine::setEntityName ( const DtString name) [virtual]

Set the entity name.

virtual const DtString& DtCeEntLeftOfLine::entityName ( ) const [virtual]
virtual void DtCeEntLeftOfLine::setLineName ( const DtString lineName) [virtual]

Set Line name.

virtual const DtString& DtCeEntLeftOfLine::lineName ( ) const [virtual]
virtual void DtCeEntLeftOfLine::setModifier ( const DtString arg) [virtual]

Set the test modifier.

If it is an empty string, checks only the specified entity. If it is the string "ANY", checks all subordinate entities to see if any of them match the test, If it is neither of the above, it requires that all specified entities match.

virtual const DtString& DtCeEntLeftOfLine::modifier ( ) const [virtual]
virtual DtString DtCeEntLeftOfLine::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. Since an Entity Left Of Line test has no sub-expressions, it only returns a string representation if passed an index of DtSimCondExpr::DtSR_EXPR.

See the documentation for DtSimCondExpr::stringRep for more information.

Implements DtSimCondExpr.

virtual int DtCeEntLeftOfLine::netRepSize ( ) const [virtual]

returns the size of the full network representation padded to an 8-byte boundary.

Reimplemented from DtSimCondExpr.

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

Fills in the expression from the network buffer.

Reimplemented from DtSimCondExpr.

virtual bool DtCeEntLeftOfLine::setToNet ( ) [virtual]

Fills in the network buffer (created by base class conditional expression) with the conditional expression contents.

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)