Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::basic_formatter_factory< CharT, AttributeValueT > Class Template Reference

Base class for formatter factories. More...

#include <formatter_parser.hpp>

Inheritance diagram for boost::basic_formatter_factory< CharT, AttributeValueT >:
Collaboration diagram for boost::basic_formatter_factory< CharT, AttributeValueT >:

Public Types

typedef AttributeValueT value_type
 Attribute value type. More...
 
typedef base_type::formatter_type formatter_type
 
typedef base_type::args_map args_map
 
typedef CharT char_type
 Character type. More...
 
typedef std::basic_string
< char_type
string_type
 String type. More...
 

Public Member Functions

formatter_type create_formatter (attribute_name const &name, args_map const &args)
 The function creates a formatter for the specified attribute. More...
 

Detailed Description

template<typename CharT, typename AttributeValueT>
class boost::basic_formatter_factory< CharT, AttributeValueT >

Base class for formatter factories.

This class provides default implementation of formatter expressions for types supporting stream output. The factory does not take into account any additional parameters that may be specified.

Member Typedef Documentation

template<typename CharT , typename AttributeValueT >
typedef base_type::args_map boost::basic_formatter_factory< CharT, AttributeValueT >::args_map
template<typename CharT >
typedef CharT boost::formatter_factory< CharT >::char_type
inherited

Character type.

template<typename CharT , typename AttributeValueT >
typedef base_type::formatter_type boost::basic_formatter_factory< CharT, AttributeValueT >::formatter_type
template<typename CharT >
typedef std::basic_string< char_type > boost::formatter_factory< CharT >::string_type
inherited

String type.

template<typename CharT , typename AttributeValueT >
typedef AttributeValueT boost::basic_formatter_factory< CharT, AttributeValueT >::value_type

Attribute value type.

Member Function Documentation

template<typename CharT , typename AttributeValueT >
formatter_type boost::basic_formatter_factory< CharT, AttributeValueT >::create_formatter ( attribute_name const &  name,
args_map const &  args 
)
inlinevirtual

The function creates a formatter for the specified attribute.

Parameters
nameAttribute name
argsFormatter arguments

Implements boost::formatter_factory< CharT >.

References boost::expressions::stream.


The documentation for this class was generated from the following file: