VR-Forces 4.1.1 Class Documentation
List of all members | Public Member Functions | Protected Member Functions
DtAbleToMovePredicate Class Reference

Instances of DtAbleToMovePredicate are used to determine whether an entity is capable of moving or not. More...

Inheritance diagram for DtAbleToMovePredicate:
Inheritance graph
[legend]

Public Member Functions

 DtAbleToMovePredicate (bool negate=false)
virtual ~DtAbleToMovePredicate ()
 destructor
 DtAbleToMovePredicate (const DtAbleToMovePredicate &orig)
 copy constructor
virtual DtVrfObjectPredicateclone () const
 clone function
- Public Member Functions inherited from DtVrfObjectPredicate
 DtVrfObjectPredicate (bool negate=false)
 constructor
virtual ~DtVrfObjectPredicate ()
 destructor
 DtVrfObjectPredicate (const DtVrfObjectPredicate &orig)
 copy constructor
DtVrfObjectPredicateoperator= (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 *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.

Additional Inherited Members

- Static Public Member Functions inherited from DtVrfObjectPredicate
static const DtVrfObjectPredicatenullPredicate ()
 Returns an instance of a DtNullVrfObjectPredicate.
- Protected Attributes inherited from DtVrfObjectPredicate
bool myNegated

Detailed Description

Instances of DtAbleToMovePredicate are used to determine whether an entity is capable of moving or not.

Constructor & Destructor Documentation

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

destructor

DtAbleToMovePredicate::DtAbleToMovePredicate ( const DtAbleToMovePredicate orig)

copy constructor

Member Function Documentation

virtual DtVrfObjectPredicate* DtAbleToMovePredicate::clone ( ) const
virtual

clone function

Implements DtVrfObjectPredicate.

virtual bool DtAbleToMovePredicate::eval ( const DtVrfObject vrfObject)
protectedvirtual
Returns
false if vrfObject is destroyed or mobility killed, true otherwise

Implements DtVrfObjectPredicate.


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

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)