Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::filter_factory< CharT > Struct Template Reference

The interface class for all filter factories. More...

#include <filter_parser.hpp>

Inheritance diagram for boost::filter_factory< CharT >:

Public Types

typedef CharT char_type
 Character type. More...
 
typedef std::basic_string
< char_type
string_type
 String type. More...
 

Public Member Functions

virtual ~filter_factory ()
 Default constructor. More...
 
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...
 

Detailed Description

template<typename CharT>
struct boost::filter_factory< CharT >

The interface class for all filter factories.

Member Typedef Documentation

template<typename CharT >
typedef CharT boost::filter_factory< CharT >::char_type

Character type.

template<typename CharT >
typedef std::basic_string< char_type > boost::filter_factory< CharT >::string_type

String type.

Constructor & Destructor Documentation

template<typename CharT >
virtual boost::filter_factory< CharT >::~filter_factory ( )
inlinevirtual

Default constructor.

Virtual destructor

Member Function Documentation

template<typename CharT >
virtual filter boost::filter_factory< CharT >::on_custom_relation ( attribute_name const &  name,
string_type const &  rel,
string_type const &  arg 
)
inlinevirtual

The callback for custom relation filter.

Reimplemented in boost::basic_filter_factory< CharT, AttributeValueT >.

References BOOST_LOG_THROW_DESCR_PARAMS, and boost::fusion::filter().

template<typename CharT >
virtual filter boost::filter_factory< CharT >::on_equality_relation ( attribute_name const &  name,
string_type const &  arg 
)
inlinevirtual

The callback for equality relation filter.

Reimplemented in boost::basic_filter_factory< CharT, AttributeValueT >.

References BOOST_LOG_THROW_DESCR_PARAMS, and boost::fusion::filter().

template<typename CharT >
virtual filter boost::filter_factory< CharT >::on_exists_test ( attribute_name const &  name)
inlinevirtual

The callback for filter for the attribute existence test.

Reimplemented in boost::basic_filter_factory< CharT, AttributeValueT >.

References boost::fusion::filter(), and boost::expressions::has_attr().

template<typename CharT >
virtual filter boost::filter_factory< CharT >::on_greater_or_equal_relation ( attribute_name const &  name,
string_type const &  arg 
)
inlinevirtual

The callback for greater or equal relation filter.

Reimplemented in boost::basic_filter_factory< CharT, AttributeValueT >.

References BOOST_LOG_THROW_DESCR_PARAMS, and boost::fusion::filter().

template<typename CharT >
virtual filter boost::filter_factory< CharT >::on_greater_relation ( attribute_name const &  name,
string_type const &  arg 
)
inlinevirtual

The callback for greater relation filter.

Reimplemented in boost::basic_filter_factory< CharT, AttributeValueT >.

References BOOST_LOG_THROW_DESCR_PARAMS, and boost::fusion::filter().

template<typename CharT >
virtual filter boost::filter_factory< CharT >::on_inequality_relation ( attribute_name const &  name,
string_type const &  arg 
)
inlinevirtual

The callback for inequality relation filter.

Reimplemented in boost::basic_filter_factory< CharT, AttributeValueT >.

References BOOST_LOG_THROW_DESCR_PARAMS, and boost::fusion::filter().

template<typename CharT >
virtual filter boost::filter_factory< CharT >::on_less_or_equal_relation ( attribute_name const &  name,
string_type const &  arg 
)
inlinevirtual

The callback for less or equal relation filter.

Reimplemented in boost::basic_filter_factory< CharT, AttributeValueT >.

References BOOST_LOG_THROW_DESCR_PARAMS, and boost::fusion::filter().

template<typename CharT >
virtual filter boost::filter_factory< CharT >::on_less_relation ( attribute_name const &  name,
string_type const &  arg 
)
inlinevirtual

The callback for less relation filter.

Reimplemented in boost::basic_filter_factory< CharT, AttributeValueT >.

References BOOST_LOG_THROW_DESCR_PARAMS, and boost::fusion::filter().


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