![]() |
VR-Forces 4.0.4 Class Documentation
|
class DtCeEntEmbarkationStateChange More...

Public Member Functions | |
| DtCeEntEmbarkationStateChange () | |
| default constructor | |
| DtCeEntEmbarkationStateChange (DtReaderWriterRegistry *parentRegistry) | |
| real constructor | |
| DtCeEntEmbarkationStateChange (const DtCeEntEmbarkationStateChange &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| copy constructor | |
| virtual | ~DtCeEntEmbarkationStateChange () |
| destructor | |
| DtCeEntEmbarkationStateChange & | operator= (const DtCeEntEmbarkationStateChange &orig) |
| assignment operator | |
| virtual DtSimCondExpr * | clone (DtReaderWriterRegistry *parentRegistry=NULL) |
| clone operator | |
| virtual int | type () const |
| Returns DtCondExprEntityDestroyedType (defined in condExprTypes.h). | |
| virtual void | setEntityName (const DtString &name) |
| Set the entity name. | |
| virtual const DtString & | entityName () const |
| virtual void | setEmbarkedOn (const DtString &name) |
| Set to see if this entity is embarked on the specified entity. | |
| virtual const DtString & | embarkedOn () const |
| virtual void | setModifier (const DtString &arg) |
| Set the test modifier. | |
| virtual const DtString & | modifier () 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 DtSimCondExpr * | creator () |
Protected Attributes | |
| DtRwString | myEntityName |
| DtRwString | myModifier |
| DtRwString | myEmbarkedOn |
class DtCeEntEmbarkationStateChange
Instances of DtCeEntEmbarkationStateChange represent an Entity Embarked test to see if the entity is embarked on the specified entity
default constructor
| DtCeEntEmbarkationStateChange::DtCeEntEmbarkationStateChange | ( | DtReaderWriterRegistry * | parentRegistry | ) |
real constructor
| DtCeEntEmbarkationStateChange::DtCeEntEmbarkationStateChange | ( | const DtCeEntEmbarkationStateChange & | orig, |
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
copy constructor
| virtual DtCeEntEmbarkationStateChange::~DtCeEntEmbarkationStateChange | ( | ) | [virtual] |
destructor
| DtCeEntEmbarkationStateChange& DtCeEntEmbarkationStateChange::operator= | ( | const DtCeEntEmbarkationStateChange & | orig | ) |
assignment operator
| virtual DtSimCondExpr* DtCeEntEmbarkationStateChange::clone | ( | DtReaderWriterRegistry * | parentRegistry = NULL | ) | [virtual] |
clone operator
Implements DtSimCondExpr.
| virtual int DtCeEntEmbarkationStateChange::type | ( | ) | const [virtual] |
Returns DtCondExprEntityDestroyedType (defined in condExprTypes.h).
Implements DtSimCondExpr.
| virtual void DtCeEntEmbarkationStateChange::setEntityName | ( | const DtString & | name | ) | [virtual] |
Set the entity name.
| virtual const DtString& DtCeEntEmbarkationStateChange::entityName | ( | ) | const [virtual] |
| virtual void DtCeEntEmbarkationStateChange::setEmbarkedOn | ( | const DtString & | name | ) | [virtual] |
Set to see if this entity is embarked on the specified entity.
If blank, then it can be embarked on anyone
| virtual const DtString& DtCeEntEmbarkationStateChange::embarkedOn | ( | ) | const [virtual] |
| virtual void DtCeEntEmbarkationStateChange::setModifier | ( | const DtString & | arg | ) | [virtual] |
Set the test modifier.
If it is the string "ANY", checks all subordinate entities to see if any of them match the test, If it is an entity name, checks to see if the entity is not on that entity
| virtual const DtString& DtCeEntEmbarkationStateChange::modifier | ( | ) | const [virtual] |
| virtual DtString DtCeEntEmbarkationStateChange::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 Destroyed 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 DtCeEntEmbarkationStateChange::netRepSize | ( | ) | const [virtual] |
returns the size of the full network representation padded to an 8-byte boundary.
Reimplemented from DtSimCondExpr.
| virtual bool DtCeEntEmbarkationStateChange::setFromNet | ( | const char * | contentBuffer, |
| unsigned | contentSize | ||
| ) | [virtual] |
Fills in the expression from the network buffer.
Reimplemented from DtSimCondExpr.
| virtual bool DtCeEntEmbarkationStateChange::setToNet | ( | ) | [virtual] |
Fills in the network buffer (created by base class conditional expression) with the conditional expression contents.
Reimplemented from DtSimCondExpr.
| static DtSimCondExpr* DtCeEntEmbarkationStateChange::creator | ( | ) | [static] |
DtRwString DtCeEntEmbarkationStateChange::myModifier [protected] |