![]() |
VR-Forces Developer's Guide
|
Contains the declaration of class DtFormationableSubordinatePredicate, a predicate that tests if an entity is capable of being part of a formation as a subordinate.
Instances of DtFormationableSubordinatePredicate are used to determine whether a subordinate is capable part of a formation (i.e. it can move and its not embarked). It is composed of a DtAbleToMovePredicate and a negated DtEmbarkedOnPredicate.

Additional Inherited Members | |
Static Public Member Functions inherited from DtVrfObjectPredicate | |
| static const DtVrfObjectPredicate & | nullPredicate () |
Protected Member Functions inherited from DtCompositePredicate | |
| virtual bool | eval (const DtSimObject *vrfObject) const |
| virtual bool | predicateEqual (const DtVrfObjectPredicate &orig) const |
| virtual bool | canEvalTrue (const DtSimObject *vrfObject) const override |
| virtual bool | canEvalFalse (const DtSimObject *vrfObject) const override |
| virtual void | typeSpecificStringRep (std::ostream &str, int indentLevel) const |
Protected Attributes inherited from DtCompositePredicate | |
| DtList | myPredicates |
Protected Attributes inherited from DtVrfObjectPredicate | |
| bool | myNegated |
| DtFormationableSubordinatePredicate::DtFormationableSubordinatePredicate | ( | bool | negate = false | ) |
|
virtual |
destructor
| DtFormationableSubordinatePredicate::DtFormationableSubordinatePredicate | ( | const DtFormationableSubordinatePredicate & | orig | ) |
copy constructor
|
virtual |
clone function
Reimplemented from DtCompositePredicate.