void default_filter_factory< CharT >::on_string_argument(
    string_type const& name, const char_type* b, const char_type* e, filter_type& filter)
{
    filter = log::filters::attr<
        string_type
    >(name, std::nothrow).satisfies(log::aux::bind2nd(RelationT(), string_type(b, e)));
}
示例#2
0
 result_type operator() (long val) const
 {
     typedef binder2nd< RelationT, long > predicate;
     m_filter = predicate_wrapper< log::integral_types::type, predicate >(m_name, predicate(RelationT(), val));
 }
示例#3
0
 result_type operator() (string_type const& val) const
 {
     m_filter = predicate_wrapper< log::string_types::type, predicate >(m_name, predicate(RelationT(), val));
 }
示例#4
0
 result_type operator() (double val) const
 {
     typedef binder2nd< RelationT, double > predicate;
     m_filter = predicate_wrapper< log::floating_point_types::type, predicate >(m_name, predicate(RelationT(), val));
 }
void default_filter_factory< CharT >::on_fp_argument(string_type const& name, double val, filter_type& filter)
{
    filter = log::filters::attr<
        log::floating_point_types
    >(name, std::nothrow).satisfies(log::aux::bind2nd(RelationT(), val));
}
void default_filter_factory< CharT >::on_integral_argument(string_type const& name, long val, filter_type& filter)
{
    filter = log::filters::attr<
        log::integral_types
    >(name, std::nothrow).satisfies(log::aux::bind2nd(RelationT(), val));
}