Class template flt_negation
boost::log::filters::flt_negation — Negation filter.
Synopsis
template<typename FltT>
class flt_negation :
public basic_filter< FltT::char_type, flt_negation< FltT > >
{
public:
explicit flt_negation(FltT const &);
bool operator()(values_view_type const &) const;
};
Description
The filter is used when result of the inner sub-filter has to be negated.
flt_negation
public
construct/copy/destruct
-
explicit flt_negation(FltT const & that);
Constructs the filter and initializes the stored subfilter with that
flt_negation
public member functions
-
bool operator()(values_view_type const & values) const;
Passes the call to the aggregated functional object
Parameters: |
values |
A set of attribute values of a single log record |
|
Returns: |
The opposite value to the result of the aggregated sub-filter. |