![]() |
VR-Forces 4.3 Class Documentation
|
Contains the DtDestroyedPredicate class declaration. More...

Public Member Functions | |
| DtDestroyedPredicate (bool negate=false) | |
| default constructor | |
| virtual | ~DtDestroyedPredicate () |
| destructor | |
| DtDestroyedPredicate (const DtDestroyedPredicate &orig) | |
| copy constructor | |
| DtDestroyedPredicate & | operator= (const DtDestroyedPredicate &orig) |
| assignment operator | |
| virtual DtVrfObjectPredicate * | clone () const |
| clone function | |
Public Member Functions inherited from DtVrfObjectPredicate | |
| DtVrfObjectPredicate (bool negate=false) | |
| constructor | |
| virtual | ~DtVrfObjectPredicate () |
| destructor | |
| DtVrfObjectPredicate (const DtVrfObjectPredicate &orig) | |
| copy constructor | |
| DtVrfObjectPredicate & | operator= (const DtVrfObjectPredicate &orig) |
| assignment operator | |
| bool | operator== (const DtVrfObjectPredicate &orig) const |
| Equality operators used to compare predicates. | |
| bool | operator!= (const DtVrfObjectPredicate &orig) const |
| virtual bool | negated () const |
| virtual void | setNegate (bool negate) |
| bool | isTrue (const DtVrfObject *vrfObject) |
| This function evaluates the eval function (to be defined in derived classes) given a DtVrfObject and returns the result, negated if indicated. | |
Protected Member Functions | |
| virtual bool | eval (const DtVrfObject *object) |
| The actual test this predicate performs. | |
Protected Member Functions inherited from DtVrfObjectPredicate | |
| virtual bool | predicateEqual (const DtVrfObjectPredicate &orig) const |
| Test if this instance of a predicate is equal to another. | |
Additional Inherited Members | |
Static Public Member Functions inherited from DtVrfObjectPredicate | |
| static const DtVrfObjectPredicate & | nullPredicate () |
| Returns an instance of a DtNullVrfObjectPredicate. | |
Protected Attributes inherited from DtVrfObjectPredicate | |
| bool | myNegated |
Contains the DtDestroyedPredicate class declaration.
Instances of DtDestroyedPredicate can be used to evaluate if an entity's damage appearance is DtDamageDestroyed.
| DtDestroyedPredicate::DtDestroyedPredicate | ( | bool | negate = false | ) |
default constructor
|
virtual |
destructor
| DtDestroyedPredicate::DtDestroyedPredicate | ( | const DtDestroyedPredicate & | orig | ) |
copy constructor
| DtDestroyedPredicate& DtDestroyedPredicate::operator= | ( | const DtDestroyedPredicate & | orig | ) |
assignment operator
|
virtual |
clone function
Implements DtVrfObjectPredicate.
|
protectedvirtual |
The actual test this predicate performs.
Implements DtVrfObjectPredicate.