Named scope formatter terminal. More...
#include <named_scope.hpp>
Public Types | |
typedef void | _is_boost_log_terminal |
Internal typedef for type categorization. More... | |
typedef attributes::named_scope::value_type | value_type |
Attribute value type. More... | |
typedef FallbackPolicyT | fallback_policy |
Fallback policy. More... | |
typedef CharT | char_type |
Character type. More... | |
typedef std::basic_string < char_type > | string_type |
String type. More... | |
typedef basic_formatting_ostream < char_type > | stream_type |
Formatting stream type. More... | |
typedef aux::format_named_scope_impl < char_type > | formatter_function_type |
Formatter function. More... | |
typedef string_type | result_type |
Function result type. More... | |
Public Member Functions | |
template<typename FormatT > | |
format_named_scope_terminal (attribute_name const &name, fallback_policy const &fallback, FormatT const &element_format, string_type const &delimiter, string_type const &incomplete_marker, string_type const &empty_marker, value_type::size_type depth, scope_iteration_direction direction) | |
Initializing constructor. More... | |
format_named_scope_terminal (format_named_scope_terminal const &that) | |
Copy constructor. More... | |
attribute_name | get_name () const |
Returns attribute name. More... | |
fallback_policy const & | get_fallback_policy () const |
Returns fallback policy. More... | |
formatter_function_type const & | get_formatter_function () const |
Retruns formatter function. More... | |
template<typename ContextT > | |
result_type | operator() (ContextT const &ctx) |
Invokation operator. More... | |
template<typename ContextT > | |
result_type | operator() (ContextT const &ctx) const |
Invokation operator. More... | |
Named scope formatter terminal.
typedef void boost::expressions::format_named_scope_terminal< FallbackPolicyT, CharT >::_is_boost_log_terminal |
Internal typedef for type categorization.
typedef CharT boost::expressions::format_named_scope_terminal< FallbackPolicyT, CharT >::char_type |
Character type.
typedef FallbackPolicyT boost::expressions::format_named_scope_terminal< FallbackPolicyT, CharT >::fallback_policy |
Fallback policy.
typedef aux::format_named_scope_impl< char_type > boost::expressions::format_named_scope_terminal< FallbackPolicyT, CharT >::formatter_function_type |
Formatter function.
typedef string_type boost::expressions::format_named_scope_terminal< FallbackPolicyT, CharT >::result_type |
Function result type.
typedef basic_formatting_ostream< char_type > boost::expressions::format_named_scope_terminal< FallbackPolicyT, CharT >::stream_type |
Formatting stream type.
typedef std::basic_string< char_type > boost::expressions::format_named_scope_terminal< FallbackPolicyT, CharT >::string_type |
String type.
typedef attributes::named_scope::value_type boost::expressions::format_named_scope_terminal< FallbackPolicyT, CharT >::value_type |
Attribute value type.
|
inline |
Initializing constructor.
|
inline |
Copy constructor.
|
inline |
Returns fallback policy.
References boost::value_visitor_invoker< T, FallbackPolicyT >::get_fallback_policy().
|
inline |
Retruns formatter function.
|
inline |
Returns attribute name.
|
inline |
Invokation operator.
References boost::python::args(), boost::phoenix::env(), boost::basic_formatting_ostream< CharT, TraitsT, AllocatorT >::flush(), boost::move(), and boost::str().
|
inline |
Invokation operator.
References boost::python::args(), boost::phoenix::env(), boost::basic_formatting_ostream< CharT, TraitsT, AllocatorT >::flush(), boost::move(), and boost::str().