// $Id$ // // Copyright (C) 2006 #ifndef IH_ReadHelper_ #define IH_ReadHelper_ 1 // Custom includes ///////////////////////////////ih.p//////////////////////////////////////// namespace senf { template struct ReadHelper::InternalPredicate { virtual ~InternalPredicate() {} template struct Dispatcher : public ReadHelper::InternalPredicate { Dispatcher(Predicate p) : predicate(p) {} virtual std::string::size_type operator()(std::string const & data); Predicate predicate; }; virtual std::string::size_type operator()(std::string const & data) = 0; }; } ///////////////////////////////ih.e//////////////////////////////////////// #endif // Local Variables: // mode: c++ // End: