![]() |
VR-Forces 4.7 Class Documentation
|
DtNullVrfObjectPredicate; class that represents a null DtVrfObject predicate (always returns true) More...

Public Member Functions | |
| DtNullVrfObjectPredicate () | |
| constructor Note this predicate cannot be negated | |
| virtual | ~DtNullVrfObjectPredicate () |
| destructor | |
| DtNullVrfObjectPredicate (const DtNullVrfObjectPredicate &orig) | |
| copy constructor | |
| DtNullVrfObjectPredicate & | operator= (const DtNullVrfObjectPredicate &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. | |
| virtual bool | canBeTrue (const DtVrfObject *vrfObject) |
| virtual bool | canBeFalse (const DtVrfObject *vrfObject) |
| virtual void | stringRep (std::ostream &str, int indentLevel=0) const |
Protected Member Functions | |
| virtual bool | eval (const DtVrfObject *vrfObject) |
| The actual test to be applied to the given vrfObject. | |
Protected Member Functions inherited from DtVrfObjectPredicate | |
| virtual bool | predicateEqual (const DtVrfObjectPredicate &orig) const |
| Test if this instance of a predicate is equal to another. | |
| virtual bool | canEvalTrue (const DtVrfObject *vrfObject) |
| virtual bool | canEvalFalse (const DtVrfObject *vrfObject) |
| virtual void | typeSpecificStringRep (std::ostream &str, int indentLevel) const |
| Override in specific subclasses to print the predicate description to the stream. | |
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 |
DtNullVrfObjectPredicate; class that represents a null DtVrfObject predicate (always returns true)
Instances of DtNullVrfObjectPredicate are a special case predicate used to that performs no actual test on a DtVrfObject. It always returns true.
| DtNullVrfObjectPredicate::DtNullVrfObjectPredicate | ( | ) |
constructor Note this predicate cannot be negated
|
virtual |
destructor
| DtNullVrfObjectPredicate::DtNullVrfObjectPredicate | ( | const DtNullVrfObjectPredicate & | orig | ) |
copy constructor
| DtNullVrfObjectPredicate& DtNullVrfObjectPredicate::operator= | ( | const DtNullVrfObjectPredicate & | orig | ) |
assignment operator
|
virtual |
clone function
Implements DtVrfObjectPredicate.
|
protectedvirtual |