Boost C++ Libraries

PrevUpHomeNext

Class template flt_or

boost::log::filters::flt_or — Disjunction filter.

Synopsis

// In header: <boost/log/filters/basic_filters.hpp>

template<typename LeftT, typename RightT> 
class flt_or :
  public basic_filter< LeftT::char_type, flt_or< LeftT, RightT > >
{
public:
  // construct/copy/destruct
  flt_or(LeftT const &, RightT const &);

  // public member functions
  bool operator()(values_view_type const &) const;
};

Description

The filter implements logical OR of results of two sub-filters.

flt_or public construct/copy/destruct

  1. flt_or(LeftT const & left, RightT const & right);

    Constructs the filter and initializes the stored subfilters

flt_or public member functions

  1. bool operator()(values_view_type const & values) const;

    Parameters:
    values

    A set of attribute values of a single log record

    Returns:

    Disjunction of the results of the aggregated sub-filters.


PrevUpHomeNext