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

Public Member Functions | |
| DtCeAltitude () | |
| default constructor | |
| DtCeAltitude (DtReaderWriterRegistry *parentRegistry) | |
| real constructor | |
| DtCeAltitude (const DtCeAltitude &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| copy constructor | |
| virtual | ~DtCeAltitude () |
| destructor | |
| DtCeAltitude & | operator= (const DtCeAltitude &orig) |
| assignment operator | |
| virtual DtSimCondExpr * | clone (DtReaderWriterRegistry *parentRegistry=NULL) |
| clone operator | |
| virtual int | type () const |
| Returns DtCondExprAltitudeType (defined in condExprTypes.h). | |
| virtual void | setEntityName (const DtString &name) |
| Set the entity name. | |
| virtual const DtString & | entityName () const |
| virtual void | setModifier (const DtString &arg) |
| Set the test modifier. | |
| virtual const DtString & | modifier () const |
| virtual void | setAltitude (DtReal alt) |
| Set the time to test. | |
| virtual DtReal | altitude () const |
| virtual void | setOper (const DtString &arg) |
| Set the relational operator type. | |
| virtual const DtString & | oper () 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 |
| DtRwReal | myAltitude |
| DtRwString | myOper |
class DtCeAltitude:
DtCeAltitude represents a relational operator (<, >) test between the current entity altitude and the test altitude.
default constructor
| DtCeAltitude::DtCeAltitude | ( | DtReaderWriterRegistry * | parentRegistry | ) |
real constructor
| DtCeAltitude::DtCeAltitude | ( | const DtCeAltitude & | orig, |
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
copy constructor
| virtual DtCeAltitude::~DtCeAltitude | ( | ) | [virtual] |
destructor
| DtCeAltitude& DtCeAltitude::operator= | ( | const DtCeAltitude & | orig | ) |
assignment operator
| virtual DtSimCondExpr* DtCeAltitude::clone | ( | DtReaderWriterRegistry * | parentRegistry = NULL | ) | [virtual] |
clone operator
Implements DtSimCondExpr.
| virtual int DtCeAltitude::type | ( | ) | const [virtual] |
Returns DtCondExprAltitudeType (defined in condExprTypes.h).
Implements DtSimCondExpr.
| virtual void DtCeAltitude::setEntityName | ( | const DtString & | name | ) | [virtual] |
Set the entity name.
| virtual const DtString& DtCeAltitude::entityName | ( | ) | const [virtual] |
| virtual void DtCeAltitude::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& DtCeAltitude::modifier | ( | ) | const [virtual] |
| virtual void DtCeAltitude::setAltitude | ( | DtReal | alt | ) | [virtual] |
Set the time to test.
| virtual DtReal DtCeAltitude::altitude | ( | ) | const [virtual] |
| virtual void DtCeAltitude::setOper | ( | const DtString & | arg | ) | [virtual] |
Set the relational operator type.
| virtual const DtString& DtCeAltitude::oper | ( | ) | const [virtual] |
| virtual DtString DtCeAltitude::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 DtCeAltitude 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 DtCeAltitude::netRepSize | ( | ) | const [virtual] |
Returns the size of the full network representation padded to an 8-byte boundary.
Reimplemented from DtSimCondExpr.
| virtual bool DtCeAltitude::setFromNet | ( | const char * | contentBuffer, |
| unsigned | contentSize | ||
| ) | [virtual] |
Fills in the expression from the network buffer.
Reimplemented from DtSimCondExpr.
| virtual bool DtCeAltitude::setToNet | ( | ) | [virtual] |
Fills in the network buffer (created by base class conditional expression) with the conditional expression contents.
Reimplemented from DtSimCondExpr.
| static DtSimCondExpr* DtCeAltitude::creator | ( | ) | [static] |
DtRwString DtCeAltitude::myEntityName [protected] |
DtRwString DtCeAltitude::myModifier [protected] |
DtRwReal DtCeAltitude::myAltitude [protected] |
DtRwString DtCeAltitude::myOper [protected] |