Boost C++ LibrariesSourceForge.net Logo

PrevUpHomeNext

Formatters

Header <boost/log/formatters/attr.hpp>
Header <boost/log/formatters/basic_formatters.hpp>
Header <boost/log/formatters/c_decorator.hpp>
Header <boost/log/formatters/chain.hpp>
Header <boost/log/formatters/char_decorator.hpp>
Header <boost/log/formatters/csv_decorator.hpp>
Header <boost/log/formatters/date_time.hpp>
Header <boost/log/formatters/exception_policies.hpp>
Header <boost/log/formatters/format.hpp>
Header <boost/log/formatters/if.hpp>
Header <boost/log/formatters/message.hpp>
Header <boost/log/formatters/named_scope.hpp>
Header <boost/log/formatters/stream.hpp>
Header <boost/log/formatters/wrappers.hpp>
Header <boost/log/formatters/xml_decorator.hpp>

Andrey Semashev

22.04.2007

The header contains implementation of a generic attribute formatter.


BOOST_LOG_FORMATTERS_ATTR_HPP_INCLUDED_
namespace boost {
  namespace log {
    namespace formatters {
      template<typename CharT, typename AttributeValueTypesT, 
               typename ExceptionPolicyT> 
        class fmt_attr;
      template<typename CharT, typename AttributeValueTypesT, 
               typename ExceptionPolicyT> 
        class fmt_attr_formatted;
    }
  }
}

Andrey Semashev

22.04.2007

The header contains implementation of basic facilities for auto-generated formatters, including the base class for formatters.


BOOST_LOG_FORMATTERS_BASIC_FORMATTERS_HPP_INCLUDED_
namespace boost {
  namespace log {
    namespace formatters {
      struct formatter_base;
      template<typename T> struct is_formatter;
      template<typename CharT, typename DerivedT> struct basic_formatter;
    }
  }
}

Andrey Semashev

07.06.2009

The header contains implementation of C-style decorators.


BOOST_LOG_FORMATTERS_C_DECORATOR_HPP_INCLUDED_
namespace boost {
  namespace log {
    namespace formatters {
      template<typename FormatterT> class fmt_c_ascii_decorator;

      implementation_defined c_dec;
      implementation_defined c_ascii_dec;
    }
  }
}

Andrey Semashev

22.04.2007

The header contains implementation of formatter chaining mechanism.


BOOST_LOG_FORMATTERS_CHAIN_HPP_INCLUDED_
namespace boost {
  namespace log {
    namespace formatters {
      template<typename CharT, typename LeftFmtT, typename RightFmtT> 
        class fmt_chain;
    }
  }
}

Andrey Semashev

07.06.2009

The header contains implementation of a character decorator.


BOOST_LOG_FORMATTERS_CHAR_DECORATOR_HPP_INCLUDED_
namespace boost {
  namespace log {
    namespace formatters {
      template<typename FormatterT> class fmt_char_decorator;
      template<typename RangeT> 
        implementation_defined char_dec(RangeT const &);
      template<typename RangeT1, typename RangeT2> 
        implementation_defined char_dec(RangeT1 const &, RangeT2 const &);
    }
  }
}

Andrey Semashev

07.06.2009

The header contains implementation of CSV-style decorator. See: http://en.wikipedia.org/wiki/Comma-separated_values


BOOST_LOG_FORMATTERS_CSV_DECORATOR_HPP_INCLUDED_

Andrey Semashev

11.03.2008

The header contains implementation of date and time-related formatters.

namespace boost {
  namespace log {
    namespace formatters {
      template<typename CharT, typename AttributeValueTypesT, 
               template< typename > class FormatterImplT, 
               typename ExceptionPolicyT> 
        class fmt_date_time_facade;
      template<typename AttributeValueTypesT, typename CharT, 
               typename... ArgsT> 
        fmt_date_time_facade< CharT, AttributeValueTypesT, implementation_defined, throw_policy > 
        date(std::basic_string< CharT > const &, ArgsT...const &);
      template<typename AttributeValueTypesT, typename CharT, 
               typename... ArgsT> 
        fmt_date_time_facade< CharT, AttributeValueTypesT, implementation_defined, throw_policy > 
        time(std::basic_string< CharT > const &, ArgsT...const &);
      template<typename AttributeValueTypesT, typename CharT, 
               typename... ArgsT> 
        fmt_date_time_facade< CharT, AttributeValueTypesT, implementation_defined, throw_policy > 
        date_time(std::basic_string< CharT > const &, ArgsT...const &);
      template<typename AttributeValueTypesT, typename CharT, 
               typename... ArgsT> 
        fmt_date_time_facade< CharT, AttributeValueTypesT, implementation_defined, throw_policy > 
        time_duration(std::basic_string< CharT > const &, ArgsT...const &);
      template<typename AttributeValueTypesT, typename CharT, 
               typename... ArgsT> 
        fmt_date_time_facade< CharT, AttributeValueTypesT, implementation_defined, throw_policy > 
        time_period(std::basic_string< CharT > const &, ArgsT...const &);
      template<typename AttributeValueTypesT, typename CharT, 
               typename... ArgsT> 
        fmt_date_time_facade< CharT, AttributeValueTypesT, implementation_defined, no_throw_policy > 
        date(std::basic_string< CharT > const &, ArgsT...const &, 
             std::nothrow_t const &);
      template<typename AttributeValueTypesT, typename CharT, 
               typename... ArgsT> 
        fmt_date_time_facade< CharT, AttributeValueTypesT, implementation_defined, no_throw_policy > 
        time(std::basic_string< CharT > const &, ArgsT...const &, 
             std::nothrow_t const &);
      template<typename AttributeValueTypesT, typename CharT, 
               typename... ArgsT> 
        fmt_date_time_facade< CharT, AttributeValueTypesT, implementation_defined, no_throw_policy > 
        date_time(std::basic_string< CharT > const &, ArgsT...const &, 
                  std::nothrow_t const &);
      template<typename AttributeValueTypesT, typename CharT, 
               typename... ArgsT> 
        fmt_date_time_facade< CharT, AttributeValueTypesT, implementation_defined, no_throw_policy > 
        time_duration(std::basic_string< CharT > const &, ArgsT...const &, 
                      std::nothrow_t const &);
      template<typename AttributeValueTypesT, typename CharT, 
               typename... ArgsT> 
        fmt_date_time_facade< CharT, AttributeValueTypesT, implementation_defined, no_throw_policy > 
        time_period(std::basic_string< CharT > const &, ArgsT...const &, 
                    std::nothrow_t const &);
    }
  }
}

Andrey Semashev

01.11.2009

The header contains declaration of policies for exception throwing from formatters


BOOST_LOG_FORMATTERS_EXCEPTION_POLICIES_HPP_INCLUDED_
namespace boost {
  namespace log {
    namespace formatters {
      struct no_throw_policy;
      struct throw_policy;
    }
  }
}

Andrey Semashev

16.03.2008

The header contains implementation of a hook for Boost.Format-like formatters.


BOOST_LOG_FORMATTERS_FORMAT_HPP_INCLUDED_
namespace boost {
  namespace log {
    namespace formatters {
      template<typename CharT> class fmt_format;
    }
  }
}

Andrey Semashev

12.01.2008

The header contains implementation of a conditional formatter.


BOOST_LOG_FORMATTERS_IF_HPP_INCLUDED_
namespace boost {
  namespace log {
    namespace formatters {
      template<typename FilterT, typename ThenT, typename ElseT> 
        class fmt_if_else;
      template<typename FilterT, typename FormatterT> class fmt_if;
      template<typename FilterT> implementation_defined if_(FilterT const &);
    }
  }
}

Andrey Semashev

22.04.2007

The header contains implementation of a message placeholder in formatters.


BOOST_LOG_FORMATTERS_MESSAGE_HPP_INCLUDED_
namespace boost {
  namespace log {
    namespace formatters {
      template<typename CharT> class fmt_message;
      template<typename CharT> fmt_message< CharT > message();
    }
  }
}

Andrey Semashev

26.11.2007

The header contains implementation of a named scope formatter.

namespace boost {
  namespace log {
    namespace formatters {
      template<typename CharT, typename ExceptionPolicyT> class fmt_named_scope;

      // Scope iteration directions. 
      enum scope_iteration_direction { forward, reverse };
      template<typename CharT, typename... ArgsT> 
        fmt_named_scope< CharT, throw_policy > 
        named_scope(std::basic_string< CharT > const &, ArgsT...const &);
      template<typename CharT, typename... ArgsT> 
        fmt_named_scope< CharT, no_throw_policy > 
        named_scope(std::basic_string< CharT > const &, ArgsT...const &, 
                    std::nothrow_t const &);
    }
  }
}

Andrey Semashev

22.04.2007

The header contains implementation of a hook for streaming formatters.


BOOST_LOG_FORMATTERS_STREAM_HPP_INCLUDED_
namespace boost {
  namespace log {
    namespace formatters {
      template<typename CharT> struct stream_placeholder;
      template<typename CharT, typename LeftFmtT, typename RightT> 
        unspecified operator<<(basic_formatter< CharT, LeftFmtT > const &, 
                               RightT const &);
    }
  }
}

Andrey Semashev

22.04.2007

The header contains implementation of wrappers that are used to construct lambda expressions of formatters. These wrappers are used to convert third-party objects (like string literals, for instance) into valid formatters.


BOOST_LOG_FORMATTERS_WRAPPERS_HPP_INCLUDED_
namespace boost {
  namespace log {
    namespace formatters {
      template<typename CharT, typename T> class fmt_wrapper;

      template<typename CharT, typename T> 
        class fmt_wrapper<CharT, reference_wrapper< T >>;

      template<typename CharT, typename T, bool > struct wrap_if_c;

      template<typename CharT, typename T> struct wrap_if_c<CharT, T, false>;

      template<typename CharT, typename T, typename PredT> struct wrap_if;
      template<typename CharT, typename T> struct wrap_if_not_formatter;
    }
  }
}

Andrey Semashev

07.06.2009

The header contains implementation of XML-style decorator.


BOOST_LOG_FORMATTERS_XML_DECORATOR_HPP_INCLUDED_

PrevUpHomeNext