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

BinaryPredicate1D Class Reference

#include <Predicates1D.h>

Inheritance diagram for BinaryPredicate1D:

FalseBP1D Length2DBP1D SameShapeIdBP1D TrueBP1D ViewMapGradientNormBP1D List of all members.

Detailed Description

Base class for Binary Predicates working on Interface1D. A BinaryPredicate1D is typically an ordering relation between two Interface1D. It evaluates a relation between 2 Interface1D and returns true or false. It is used by calling the () operator.


Public Member Functions

 BinaryPredicate1D ()
virtual ~BinaryPredicate1D ()
virtual string getName () const
virtual bool operator() (Interface1D &inter1, Interface1D &inter2)

Constructor & Destructor Documentation

BinaryPredicate1D  )  [inline]
 

Default constructor.

virtual ~BinaryPredicate1D  )  [inline, virtual]
 

Destructor.


Member Function Documentation

virtual string getName  )  const [inline, virtual]
 

Returns the string of the name of the binary predicate.

Reimplemented in TrueBP1D, FalseBP1D, Length2DBP1D, SameShapeIdBP1D, and ViewMapGradientNormBP1D.

virtual bool operator() Interface1D inter1,
Interface1D inter2
[inline, virtual]
 

The () operator. Must be overload by inherited classes. It evaluates a relation between 2 Interface1D.

Parameters:
inter1 The first Interface1D.
inter2 The second Interface1D.
Returns:
true or false.

Reimplemented in TrueBP1D, FalseBP1D, Length2DBP1D, SameShapeIdBP1D, and ViewMapGradientNormBP1D.


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