1 #ifndef DATATOOLS_I_PREDICATE_H 3 #define DATATOOLS_I_PREDICATE_H 13 :
public std::unary_function<const T&, bool>
16 virtual bool operator()(
const T & obj_)
const = 0;
21 template<
class Mother,
class Daughter>
29 _mother_predicate_ = &mother_predicate_;
35 return (*_mother_predicate_)(obj);
46 #endif // DATATOOLS_I_PREDICATE_H