26 #ifndef SHORE_PROCESSING_MONOLITHIC_SOURCE_HPP__
27 #define SHORE_PROCESSING_MONOLITHIC_SOURCE_HPP__
30 #include <boost/utility/enable_if.hpp>
45 typename T=
typename source_traits<S>::current_type,
46 typename Cmp=bool (*)(
const T &,
const T &)>
52 typedef S source_type;
53 typedef T current_type;
54 typedef Cmp compare_type;
68 static std::string get_name(_S &b,
69 typename boost::enable_if<shore::has_get_name<_S> >::type * =0)
77 static std::string get_name(_S &b,
78 typename boost::disable_if<shore::has_get_name<_S> >::type * =0)
84 void get_source_data()
115 :m_check(get_name(m_basic),cmp)
118 add_plugin(&m_check);
125 template<
typename Arg>
128 m_check(get_name(m_basic),cmp)
131 add_plugin(&m_check);
138 template<
typename Arg1,
typename Arg2>
141 m_check(get_name(m_basic),cmp)
144 add_plugin(&m_check);
192 #endif // SHORE_PROCESSING_MONOLITHIC_SOURCE_HPP__