API Guides > ConceptRT 3.x
PredicateDelegate< ParameterType > Class Template Reference

Predicate delegate. More...

Detailed Description

template<class ParameterType>
class ConceptRT::PredicateDelegate< ParameterType >

Predicate delegate.

Template Parameters
ParameterTypeType of the objects to evaluate.
+ Inheritance diagram for PredicateDelegate< ParameterType >:

Public Member Methods

 PredicateDelegate (Delegate< ParameterPredicate< ParameterType > & > &predicateDelegate)
 Constructor. More...
 
bool Evaluate (ParameterType value) const
 Evaluate the condition on the given value. More...
 
- Public Member Methods inherited from Predicate< ParameterType >
virtual ~Predicate ()
 Desctructor. More...
 
bool operator() (ParameterType value) const
 Operator of transcoding to bool. More...
 

Constructor & Destructor Documentation

PredicateDelegate ( Delegate< ParameterPredicate< ParameterType > & > &  predicateDelegate)
inline

Constructor.

Parameters
predicateDelegateThe delegate to evaluate.

Methods Documentation

bool Evaluate ( ParameterType  value) const
inlinevirtual

Evaluate the condition on the given value.

Parameters
valueThe value to evaluate.
Returns
True if conditions are met, False if not.

Implements Predicate< ParameterType >.