VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
DtFormationableSubordinatePredicate Class Reference

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.

Inheritance diagram for DtFormationableSubordinatePredicate:
Inheritance graph
[legend]

Public Member Functions

 DtFormationableSubordinatePredicate (bool negate=false)
 
virtual ~DtFormationableSubordinatePredicate ()
 
 DtFormationableSubordinatePredicate (const DtFormationableSubordinatePredicate &orig)
 
virtual DtVrfObjectPredicateclone () const
 
- Public Member Functions inherited from DtCompositePredicate
 DtCompositePredicate (bool negate=false)
 
virtual ~DtCompositePredicate ()
 
 DtCompositePredicate (const DtCompositePredicate &orig)
 
DtCompositePredicateoperator= (const DtCompositePredicate &orig)
 
virtual void addPredicate (const DtVrfObjectPredicate &predicate)
 
virtual void removePredicate (const DtVrfObjectPredicate &predicate)
 
virtual bool hasPredicate (const DtVrfObjectPredicate &predicate) const
 
- Public Member Functions inherited from DtVrfObjectPredicate
 DtVrfObjectPredicate (bool negate=false)
 
virtual ~DtVrfObjectPredicate ()
 
 DtVrfObjectPredicate (const DtVrfObjectPredicate &orig)
 
DtVrfObjectPredicateoperator= (const DtVrfObjectPredicate &orig)
 
bool operator== (const DtVrfObjectPredicate &orig) const
 
bool operator!= (const DtVrfObjectPredicate &orig) const
 
virtual bool negated () const
 
virtual void setNegate (bool negate)
 
bool isTrue (const DtSimObject *vrfObject) const
 
virtual bool canBeTrue (const DtSimObject *vrfObject)
 
virtual bool canBeFalse (const DtSimObject *vrfObject)
 
virtual void stringRep (std::ostream &str, int indentLevel=0) const
 

Additional Inherited Members

- Static Public Member Functions inherited from DtVrfObjectPredicate
static const DtVrfObjectPredicatenullPredicate ()
 
- 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
 

Constructor & Destructor Documentation

DtFormationableSubordinatePredicate::DtFormationableSubordinatePredicate ( bool  negate = false)
virtual DtFormationableSubordinatePredicate::~DtFormationableSubordinatePredicate ( )
virtual

destructor

DtFormationableSubordinatePredicate::DtFormationableSubordinatePredicate ( const DtFormationableSubordinatePredicate orig)

copy constructor

Member Function Documentation

virtual DtVrfObjectPredicate* DtFormationableSubordinatePredicate::clone ( ) const
virtual

clone function

Reimplemented from DtCompositePredicate.


The documentation for this class was generated from the following file:

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)