h o m e d o c u m e n t a t i o n c l a s s h i e r a r c h y

UnaryPredicate0D Class Reference

#include <Predicates0D.h>

Inheritance diagram for UnaryPredicate0D:

FalseUP0D TrueUP0D List of all members.

Detailed Description

Base class for Unary Predicates that work on Interface0DIterator. A UnaryPredicate0D is a functor that evaluates a condition on a Interface0DIterator and returns true or false depending on whether this condition is satisfied or not. The UnaryPredicate0D is used by calling its () operator. Any inherited class must overload the () operator.

Public Member Functions

 UnaryPredicate0D ()
virtual ~UnaryPredicate0D ()
virtual string getName () const
virtual bool operator() (Interface0DIterator &it)

Constructor & Destructor Documentation

UnaryPredicate0D  )  [inline]

Default constructor.

virtual ~UnaryPredicate0D  )  [inline, virtual]


Member Function Documentation

virtual string getName  )  const [inline, virtual]

Returns the string of the name of the UnaryPredicate0D.

Reimplemented in TrueUP0D, and FalseUP0D.

virtual bool operator() Interface0DIterator it  )  [inline, virtual]

The () operator. Must be overload by inherited classes.

it The Interface0DIterator pointing onto the Interface0D at which we wish to evaluate the predicate.
true if the condition is satisfied, false otherwise.

Reimplemented in TrueUP0D, and FalseUP0D.

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