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

Public Member Functions | |
| DtCeCheckEntityIdentificationLevel () | |
| default constructor | |
| DtCeCheckEntityIdentificationLevel (DtReaderWriterRegistry *parentRegistry) | |
| real constructor | |
| DtCeCheckEntityIdentificationLevel (const DtCeCheckEntityIdentificationLevel &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| copy constructor | |
| virtual | ~DtCeCheckEntityIdentificationLevel () |
| destructor | |
| DtCeCheckEntityIdentificationLevel & | operator= (const DtCeCheckEntityIdentificationLevel &orig) |
| assignment operator | |
| virtual DtSimCondExpr * | clone (DtReaderWriterRegistry *parentRegistry=NULL) |
| clone operator | |
| virtual int | type () const |
| Returns DtCondExprCheckEntityDetectLevelType (defined in condExprTypes.h). | |
| virtual void | setEntityName (const DtString &name) |
| Set the entity name. | |
| virtual const DtString & | entityName () const |
| virtual void | setLevel (const int level) |
| Set the identification level. | |
| virtual const int | level () 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 |
| DtRwInt | myIdentificationLevel |
| DtRwString | myModifier |
class DtCeCheckEntityIdentificationLevel:
Instances of DtCeCheckEntityIdentificationLevel represent testing for a particular entity's detection level.
default constructor
| DtCeCheckEntityIdentificationLevel::DtCeCheckEntityIdentificationLevel | ( | DtReaderWriterRegistry * | parentRegistry | ) |
real constructor
| DtCeCheckEntityIdentificationLevel::DtCeCheckEntityIdentificationLevel | ( | const DtCeCheckEntityIdentificationLevel & | orig, |
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
copy constructor
| virtual DtCeCheckEntityIdentificationLevel::~DtCeCheckEntityIdentificationLevel | ( | ) | [virtual] |
destructor
| DtCeCheckEntityIdentificationLevel& DtCeCheckEntityIdentificationLevel::operator= | ( | const DtCeCheckEntityIdentificationLevel & | orig | ) |
assignment operator
| virtual DtSimCondExpr* DtCeCheckEntityIdentificationLevel::clone | ( | DtReaderWriterRegistry * | parentRegistry = NULL | ) | [virtual] |
clone operator
Implements DtSimCondExpr.
| virtual int DtCeCheckEntityIdentificationLevel::type | ( | ) | const [virtual] |
Returns DtCondExprCheckEntityDetectLevelType (defined in condExprTypes.h).
Implements DtSimCondExpr.
| virtual void DtCeCheckEntityIdentificationLevel::setEntityName | ( | const DtString & | name | ) | [virtual] |
Set the entity name.
| virtual const DtString& DtCeCheckEntityIdentificationLevel::entityName | ( | ) | const [virtual] |
| virtual void DtCeCheckEntityIdentificationLevel::setLevel | ( | const int | level | ) | [virtual] |
Set the identification level.
| virtual const int DtCeCheckEntityIdentificationLevel::level | ( | ) | const [virtual] |
| virtual void DtCeCheckEntityIdentificationLevel::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& DtCeCheckEntityIdentificationLevel::modifier | ( | ) | const [virtual] |
| virtual DtString DtCeCheckEntityIdentificationLevel::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 a Check Entity Identification Level 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 DtCeCheckEntityIdentificationLevel::netRepSize | ( | ) | const [virtual] |
returns the size of the full network representation padded to an 8-byte boundary.
Reimplemented from DtSimCondExpr.
| virtual bool DtCeCheckEntityIdentificationLevel::setFromNet | ( | const char * | contentBuffer, |
| unsigned | contentSize | ||
| ) | [virtual] |
Fills in the expression from the network buffer.
Reimplemented from DtSimCondExpr.
| virtual bool DtCeCheckEntityIdentificationLevel::setToNet | ( | ) | [virtual] |
Fills in the network buffer (created by base class conditional expression) with the conditional expression contents.
Reimplemented from DtSimCondExpr.
| static DtSimCondExpr* DtCeCheckEntityIdentificationLevel::creator | ( | ) | [static] |