Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.

Struct severity_visitor

boost::log::expressions::channel_severity_filter_terminal::severity_visitor — Severity level visitor.


// In header: <boost/log/expressions/predicates/channel_severity_filter.hpp>

// Severity level visitor.

struct severity_visitor {
  // types
  typedef void result_type;

  // construct/copy/destruct
  severity_visitor(channel_severity_filter_terminal const &, 
                   severity_value_type const &, bool &);

  // public member functions
  result_type operator()(severity_value_type const &) const;


severity_visitor public construct/copy/destruct

  1. severity_visitor(channel_severity_filter_terminal const & self, 
                     severity_value_type const & severity, bool & res);

severity_visitor public member functions

  1. result_type operator()(severity_value_type const & severity) const;