![]() |
boost::log::filter_factory — The interface class for all filter factories.
// In header: <boost/log/utility/init/filter_parser.hpp> template<typename CharT> struct filter_factory { // types typedef CharT char_type; // Character type. typedef std::basic_string< char_type > string_type; // String type. typedef basic_attribute_values_view< char_type > values_view_type; // Attribute values view type. typedef function1< bool, values_view_type const & > filter_type; // Filter function type. // construct/copy/destruct ~filter_factory(); // public member functions filter_type on_exists_test(string_type const &); filter_type on_equality_relation(string_type const &, string_type const &); filter_type on_inequality_relation(string_type const &, string_type const &); filter_type on_less_relation(string_type const &, string_type const &); filter_type on_greater_relation(string_type const &, string_type const &); filter_type on_less_or_equal_relation(string_type const &, string_type const &); filter_type on_greater_or_equal_relation(string_type const &, string_type const &); filter_type on_custom_relation(string_type const &, string_type const &, string_type const &); };
filter_factory
public member functionsfilter_type on_exists_test(string_type const & name);The callback for filter for the attribute existence test.
filter_type on_equality_relation(string_type const & name, string_type const & arg);The callback for equality relation filter.
filter_type on_inequality_relation(string_type const & name, string_type const & arg);The callback for inequality relation filter.
filter_type on_less_relation(string_type const & name, string_type const & arg);The callback for less relation filter.
filter_type on_greater_relation(string_type const & name, string_type const & arg);The callback for greater relation filter.
filter_type on_less_or_equal_relation(string_type const & name, string_type const & arg);The callback for less or equal relation filter.
filter_type on_greater_or_equal_relation(string_type const & name, string_type const & arg);The callback for greater or equal relation filter.
filter_type on_custom_relation(string_type const & name, string_type const & rel, string_type const & arg);The callback for custom relation filter.