Base class for formatter factories. More...
#include <formatter_parser.hpp>
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... | |
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.
typedef base_type::args_map boost::basic_formatter_factory< CharT, AttributeValueT >::args_map |
|
inherited |
Character type.
typedef base_type::formatter_type boost::basic_formatter_factory< CharT, AttributeValueT >::formatter_type |
|
inherited |
String type.
typedef AttributeValueT boost::basic_formatter_factory< CharT, AttributeValueT >::value_type |
Attribute value type.
|
inlinevirtual |
The function creates a formatter for the specified attribute.
name | Attribute name |
args | Formatter arguments |
Implements boost::formatter_factory< CharT >.
References boost::expressions::stream.