Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
formatter_parser.hpp File Reference
#include <iosfwd>
#include <map>
#include <string>
#include <boost/smart_ptr/shared_ptr.hpp>
#include <boost/smart_ptr/make_shared_object.hpp>
#include <boost/utility/enable_if.hpp>
#include <boost/type_traits/is_base_and_derived.hpp>
#include <boost/log/detail/setup_config.hpp>
#include <boost/log/attributes/attribute_name.hpp>
#include <boost/log/core/record.hpp>
#include <boost/log/expressions/formatter.hpp>
#include <boost/log/expressions/attr.hpp>
#include <boost/log/expressions/formatters/stream.hpp>
#include <boost/log/detail/header.hpp>
#include <boost/log/detail/footer.hpp>
Include dependency graph for formatter_parser.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  boost::formatter_factory< CharT >
 Formatter factory base interface. More...
 
class  boost::basic_formatter_factory< CharT, AttributeValueT >
 Base class for formatter factories. More...
 

Namespaces

 boost
 Duration formatting facet for input.
 

Functions

template<typename CharT >
BOOST_LOG_SETUP_API void boost::register_formatter_factory (attribute_name const &attr_name, shared_ptr< formatter_factory< CharT > > const &factory)
 The function registers a user-defined formatter factory. More...
 
template<typename FactoryT >
enable_if< is_base_and_derived
< formatter_factory< typename
FactoryT::char_type >
, FactoryT >>::type 
boost::register_formatter_factory (attribute_name const &attr_name, shared_ptr< FactoryT > const &factory)
 The function registers a user-defined formatter factory. More...
 
template<typename AttributeValueT , typename CharT >
void boost::register_simple_formatter_factory (attribute_name const &attr_name)
 The function registers a simple formatter factory. More...
 
template<typename CharT >
BOOST_LOG_SETUP_API
basic_formatter< CharT > 
boost::parse_formatter (const CharT *begin, const CharT *end)
 The function parses a formatter from the sequence of characters. More...
 
template<typename CharT , typename TraitsT , typename AllocatorT >
basic_formatter< CharT > boost::parse_formatter (std::basic_string< CharT, TraitsT, AllocatorT > const &str)
 The function parses a formatter from the string. More...
 
template<typename CharT >
basic_formatter< CharT > boost::parse_formatter (const CharT *str)
 The function parses a formatter from the string. More...
 

Detailed Description

Author
Andrey Semashev
Date
07.04.2008

The header contains definition of a formatter parser function, along with facilities to add support for custom formatters.