The base class for filter factories. More...
#include <filter_parser.hpp>
Public Types | |
typedef AttributeValueT | value_type |
The type(s) of the attribute value expected. More... | |
typedef base_type::string_type | string_type |
typedef CharT | char_type |
Character type. More... | |
Public Member Functions | |
virtual filter | on_exists_test (attribute_name const &name) |
The callback for filter for the attribute existence test. More... | |
virtual filter | on_equality_relation (attribute_name const &name, string_type const &arg) |
The callback for equality relation filter. More... | |
virtual filter | on_inequality_relation (attribute_name const &name, string_type const &arg) |
The callback for inequality relation filter. More... | |
virtual filter | on_less_relation (attribute_name const &name, string_type const &arg) |
The callback for less relation filter. More... | |
virtual filter | on_greater_relation (attribute_name const &name, string_type const &arg) |
The callback for greater relation filter. More... | |
virtual filter | on_less_or_equal_relation (attribute_name const &name, string_type const &arg) |
The callback for less or equal relation filter. More... | |
virtual filter | on_greater_or_equal_relation (attribute_name const &name, string_type const &arg) |
The callback for greater or equal relation filter. More... | |
virtual filter | on_custom_relation (attribute_name const &name, string_type const &rel, string_type const &arg) |
The callback for custom relation filter. More... | |
virtual value_type | parse_argument (string_type const &arg) |
The function parses the argument value for a binary relation. More... | |
The base class for filter factories.
The class defines default implementations for most filter expressions. In order to be able to construct filters, the attribute value type must support reading from a stream. Also, the default filters will rely on relational operators for the type, so these operators must also be defined.
|
inherited |
Character type.
typedef base_type::string_type boost::basic_filter_factory< CharT, AttributeValueT >::string_type |
typedef AttributeValueT boost::basic_filter_factory< CharT, AttributeValueT >::value_type |
The type(s) of the attribute value expected.
|
inlinevirtual |
The callback for custom relation filter.
Reimplemented from boost::filter_factory< CharT >.
References BOOST_LOG_THROW_DESCR_PARAMS, and boost::fusion::filter().
|
inlinevirtual |
The callback for equality relation filter.
Reimplemented from boost::filter_factory< CharT >.
References boost::fusion::filter().
|
inlinevirtual |
The callback for filter for the attribute existence test.
Reimplemented from boost::filter_factory< CharT >.
References boost::fusion::filter().
|
inlinevirtual |
The callback for greater or equal relation filter.
Reimplemented from boost::filter_factory< CharT >.
References boost::fusion::filter().
|
inlinevirtual |
The callback for greater relation filter.
Reimplemented from boost::filter_factory< CharT >.
References boost::fusion::filter().
|
inlinevirtual |
The callback for inequality relation filter.
Reimplemented from boost::filter_factory< CharT >.
References boost::fusion::filter().
|
inlinevirtual |
The callback for less or equal relation filter.
Reimplemented from boost::filter_factory< CharT >.
References boost::fusion::filter().
|
inlinevirtual |
The callback for less relation filter.
Reimplemented from boost::filter_factory< CharT >.
References boost::fusion::filter().
|
inlinevirtual |
The function parses the argument value for a binary relation.
References boost::lexical_cast().