Boost C++ LibrariesSourceForge.net Logo

PrevUpHomeNext

Filters

Header <boost/log/filters/attr.hpp>
Header <boost/log/filters/basic_filters.hpp>
Header <boost/log/filters/exception_policies.hpp>
Header <boost/log/filters/has_attr.hpp>

Andrey Semashev

22.04.2007

The header contains implementation of a generic attribute placeholder in filters.


BOOST_LOG_FILTERS_ATTR_HPP_INCLUDED_
namespace boost {
  namespace log {
    namespace filters {
      template<typename CharT, typename FunT, typename AttributeValueTypesT, 
               typename ExceptionPolicyT> 
        class flt_attr;
      template<typename AttributeValueTypesT, typename CharT> 
        implementation_defined attr(const CharT *);
      template<typename AttributeValueTypesT, typename CharT> 
        implementation_defined attr(std::basic_string< CharT > const &);
      template<typename AttributeValueTypesT, typename CharT> 
        implementation_defined attr(const CharT *, std::nothrow_t const &);
      template<typename AttributeValueTypesT, typename CharT> 
        implementation_defined 
        attr(std::basic_string< CharT > const &, std::nothrow_t const &);
    }
  }
}

Andrey Semashev

22.04.2007

The header contains implementation of basic facilities used in auto-generated filters, including base class for filters.


BOOST_LOG_FILTERS_BASIC_FILTERS_HPP_INCLUDED_
namespace boost {
  namespace log {
    namespace filters {
      struct filter_base;
      template<typename T> struct is_filter;
      template<typename CharT, typename DerivedT> struct basic_filter;

      template<typename CharT, typename T> class flt_wrap;
      template<typename FltT> class flt_negation;
      template<typename LeftT, typename RightT> class flt_and;
      template<typename LeftT, typename RightT> class flt_or;
      template<typename CharT, typename FunT> 
        flt_wrap< CharT, FunT > wrap(FunT const &);
      template<typename FunT> unspecified wrap(FunT const &);
      template<typename CharT, typename FltT> 
        flt_negation< FltT > operator!(basic_filter< CharT, FltT > const &);
      template<typename CharT, typename LeftT, typename RightT> 
        flt_and< LeftT, RightT > 
        operator&&(basic_filter< CharT, LeftT > const &, 
                   basic_filter< CharT, RightT > const &);
      template<typename CharT, typename LeftT, typename RightT> 
        flt_or< LeftT, RightT > 
        operator||(basic_filter< CharT, LeftT > const &, 
                   basic_filter< CharT, RightT > const &);
    }
  }
}

Andrey Semashev

01.11.2009

The header contains declaration of policies for exception throwing from filters


BOOST_LOG_FILTERS_EXCEPTION_POLICIES_HPP_INCLUDED_
namespace boost {
  namespace log {
    namespace filters {
      struct no_throw_policy;
      struct throw_policy;
    }
  }
}

Andrey Semashev

22.04.2007

The header contains implementation of a filter that checks presence of an attribute in a log record.


BOOST_LOG_FILTERS_HAS_ATTR_HPP_INCLUDED_
namespace boost {
  namespace log {
    namespace filters {
      template<typename CharT, typename AttributeValueTypesT = void> 
        class flt_has_attr;

      template<typename CharT> class flt_has_attr<CharT, void>;
    }
  }
}

PrevUpHomeNext