senf::ReadHelper< Handle >::ReadHelper::InternalPredicate::ReadHelper::InternalPredicate::Dispatcher< Predicate > Struct Template Reference

template to runtime polymorphic barrier for the predicate interface More...
Inheritance diagram for senf::ReadHelper< Handle >::ReadHelper::InternalPredicate::ReadHelper::InternalPredicate::Dispatcher< Predicate >:
Inheritance graph
[legend]

List of all members.


Detailed Description

template<class Handle>
template<class Predicate>
struct senf::ReadHelper< Handle >::InternalPredicate::Dispatcher< Predicate >

template to runtime polymorphic barrier for the predicate interface

For internal use only.

Implementation note:
This class will provide a polymorphic wrapper around the non-polymorphic ReadHelper predicate. This is used, so the predicate can be specified as an arbitrary callable object (even a boost::function or a Boost.Lambda expression) without imposing any inheritance relationship on the predicate

Definition at line 53 of file ReadHelper.ih.


Public Member Functions

  Dispatcher (Predicate p)
virtual std::string::size_type  operator() (std::string const &data)

Public Attributes

Predicate  predicate

Constructor & Destructor Documentation

template<class Handle>
template<class Predicate >
senf::ReadHelper< Handle >::ReadHelper::InternalPredicate::ReadHelper::InternalPredicate::Dispatcher< Predicate >::
Dispatcher ( Predicate  p )

Definition at line 56 of file ReadHelper.ih.


Member Function Documentation

template<class Handle >
template<class Predicate >
std::string::size_type senf::ReadHelper< Handle >::ReadHelper::InternalPredicate::ReadHelper::InternalPredicate::Dispatcher< Predicate >::
operator() ( std::string const &  data )

Member Data Documentation

template<class Handle>
template<class Predicate >
Predicate senf::ReadHelper< Handle >::ReadHelper::InternalPredicate::ReadHelper::InternalPredicate::Dispatcher< Predicate >::
predicate

Definition at line 58 of file ReadHelper.ih.


The documentation for this struct was generated from the following files: