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

Public Member Functions | |
| DtCeEntUnderFire () | |
| default constructor | |
| DtCeEntUnderFire (DtReaderWriterRegistry *parentRegistry) | |
| real constructor | |
| DtCeEntUnderFire (const DtCeEntUnderFire &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| copy constructor | |
| virtual | ~DtCeEntUnderFire () |
| destructor | |
| DtCeEntUnderFire & | operator= (const DtCeEntUnderFire &orig) |
| assignment operator | |
| virtual DtSimCondExpr * | clone (DtReaderWriterRegistry *parentRegistry=NULL) |
| clone operator | |
| virtual int | type () const |
| Returns DtCondExprEntityUnderFireType (defined in condExprTypes.h). | |
| virtual void | setEntityName (const DtString &name) |
| Set the entity name. | |
| virtual const DtString & | entityName () const |
| Returns the entity name. | |
| virtual void | setModifier (const DtString &arg) |
| Set the test modifier. | |
| virtual const DtString & | modifier () const |
| Returns the modifier. | |
| 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 () |
| Returns a new DtCeEntUnderFire. | |
Protected Attributes | |
| DtRwString | myEntityName |
| DtRwString | myModifier |
class DtCeEntUnderFire:
Instances of DtCeEntUnderFire represent an entity under fire test.
default constructor
| DtCeEntUnderFire::DtCeEntUnderFire | ( | DtReaderWriterRegistry * | parentRegistry | ) |
real constructor
| DtCeEntUnderFire::DtCeEntUnderFire | ( | const DtCeEntUnderFire & | orig, |
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
copy constructor
| virtual DtCeEntUnderFire::~DtCeEntUnderFire | ( | ) | [virtual] |
destructor
| DtCeEntUnderFire& DtCeEntUnderFire::operator= | ( | const DtCeEntUnderFire & | orig | ) |
assignment operator
| virtual DtSimCondExpr* DtCeEntUnderFire::clone | ( | DtReaderWriterRegistry * | parentRegistry = NULL | ) | [virtual] |
clone operator
Implements DtSimCondExpr.
| virtual int DtCeEntUnderFire::type | ( | ) | const [virtual] |
Returns DtCondExprEntityUnderFireType (defined in condExprTypes.h).
Implements DtSimCondExpr.
| virtual void DtCeEntUnderFire::setEntityName | ( | const DtString & | name | ) | [virtual] |
Set the entity name.
| virtual const DtString& DtCeEntUnderFire::entityName | ( | ) | const [virtual] |
Returns the entity name.
| virtual void DtCeEntUnderFire::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& DtCeEntUnderFire::modifier | ( | ) | const [virtual] |
Returns the modifier.
| virtual DtString DtCeEntUnderFire::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 under fire 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 DtCeEntUnderFire::netRepSize | ( | ) | const [virtual] |
returns the size of the full network representation padded to an 8-byte boundary.
Reimplemented from DtSimCondExpr.
| virtual bool DtCeEntUnderFire::setFromNet | ( | const char * | contentBuffer, |
| unsigned | contentSize | ||
| ) | [virtual] |
Fills in the expression from the network buffer.
Reimplemented from DtSimCondExpr.
| virtual bool DtCeEntUnderFire::setToNet | ( | ) | [virtual] |
Fills in the network buffer (created by base class conditional expression) with the conditional expression contents.
Reimplemented from DtSimCondExpr.
| static DtSimCondExpr* DtCeEntUnderFire::creator | ( | ) | [static] |
Returns a new DtCeEntUnderFire.
DtRwString DtCeEntUnderFire::myEntityName [protected] |
DtRwString DtCeEntUnderFire::myModifier [protected] |