VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
DtAggregateSpatialModelPredicate Class Reference

Contains the declaration of class DtAggregateSpatialModelPredicate, a predicate that tests if an entity should be included in the aggregate spatial model. More...

Inheritance diagram for DtAggregateSpatialModelPredicate:
Inheritance graph
[legend]

Public Member Functions

 DtAggregateSpatialModelPredicate (bool negate=false)
virtual ~DtAggregateSpatialModelPredicate ()
 destructor
 DtAggregateSpatialModelPredicate (const DtAggregateSpatialModelPredicate &orig)
 copy constructor
virtual DtVrfObjectPredicateclone () const
 clone function
- Public Member Functions inherited from DtCompositePredicate
 DtCompositePredicate (bool negate=false)
 default constructor
virtual ~DtCompositePredicate ()
 destructor
 DtCompositePredicate (const DtCompositePredicate &orig)
 copy constructor
DtCompositePredicateoperator= (const DtCompositePredicate &orig)
 assignment operator
virtual void addPredicate (const DtVrfObjectPredicate &predicate)
 adds a sub-predicate
virtual void removePredicate (const DtVrfObjectPredicate &predicate)
 removes a force type from the set of types to be checked
virtual bool hasPredicate (const DtVrfObjectPredicate &predicate) const
 returns true if the predicate is in the predicate list
- 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.
virtual bool canBeTrue (const DtVrfObject *vrfObject)
virtual bool canBeFalse (const DtVrfObject *vrfObject)
virtual void stringRep (std::ostream &str, int indentLevel=0) const

Additional Inherited Members

- Static Public Member Functions inherited from DtVrfObjectPredicate
static const DtVrfObjectPredicatenullPredicate ()
 Returns an instance of a DtNullVrfObjectPredicate.
- Protected Member Functions inherited from DtCompositePredicate
virtual bool eval (const DtVrfObject *object)
 The actual test this predicate performs.
virtual bool predicateEqual (const DtVrfObjectPredicate &orig) const
 Used by equality operator used to compare predicates.
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.
- Protected Attributes inherited from DtCompositePredicate
DtList myPredicates

Detailed Description

Contains the declaration of class DtAggregateSpatialModelPredicate, a predicate that tests if an entity should be included in the aggregate spatial model.

Constructor & Destructor Documentation

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

destructor

DtAggregateSpatialModelPredicate::DtAggregateSpatialModelPredicate ( const DtAggregateSpatialModelPredicate orig)

copy constructor

Member Function Documentation

virtual DtVrfObjectPredicate* DtAggregateSpatialModelPredicate::clone ( ) const
virtual

clone function

Reimplemented from DtCompositePredicate.


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

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)