#include <gridclientpredicate.hpp>
Public Member Functions | |
| virtual | ~GridClientPredicate () |
| virtual bool | apply (const E1 &e) const =0 |
Defines predicate construct. Predicate like closure is a first-class function that is defined with (or closed over) its free variables that are bound to the closure scope at execution.
Note that this interface does not impose or assume any specific thread-safety by its implementations. Each implementation can elect what type of thread-safety it provides, if any.
| <E1> | Type of the free variable, i.e. the element the predicate is called on. |
| virtual GridClientPredicate< E1 >::~GridClientPredicate | ( | ) | [inline, virtual] |
Destructor.
| virtual bool GridClientPredicate< E1 >::apply | ( | const E1 & | e | ) | const [pure virtual] |
Predicate body.
| e | Bound free variable, i.e. the element the closure is called or closed on. |
Implemented in GridClientCompositeFilter< T >, and GridClientPredicateLambdaWrapper< T >.
1.7.1