Boost C++ Libraries

PrevUpHomeNext

Class template flt_and

boost::log::filters::flt_and — Conjunction filter.

Synopsis

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

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

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

Description

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

flt_and public construct/copy/destruct

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

    Constructs the filter and initializes the stored subfilters

flt_and 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:

    Conjunction of the results of the aggregated sub-filters.


PrevUpHomeNext