Predicate pattern
| ParameterType | Type of the value to evaluate. |
Predicate pattern that enables us to evaluate values in order to respond to a certain condition given by the overloaded of the method Evaluate
Inheritance diagram for Predicate< ParameterType >:Public Member Methods | |
| virtual | ~Predicate () |
| Desctructor. More... | |
| virtual bool | Evaluate (ParameterType value) const =0 |
| Evaluate the condition on the given value. More... | |
| bool | operator() (ParameterType value) const |
| Operator of transcoding to bool. More... | |
|
inlinevirtual |
Desctructor.
|
pure virtual |
Evaluate the condition on the given value.
| value | The value to evaluate. |
Implemented in PredicateDelegate< ParameterType >, PredicateFalse< ParameterType >, PredicateTrue< ParameterType >, and FilterFactoryByName.
|
inline |
Operator of transcoding to bool.
| value | The value to evaluate. |