Formatter function wrapper terminal. More...
#include <wrap_formatter.hpp>
Public Types | |
typedef void | _is_boost_log_terminal |
Internal typedef for type categorization. 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 FunT | function_type |
Wrapped function type. More... | |
typedef string_type | result_type |
Formatter result type. More... | |
Public Member Functions | |
wrapped_formatter_terminal (function_type const &fun) | |
Initializing construction. More... | |
wrapped_formatter_terminal (wrapped_formatter_terminal const &that) | |
Copy constructor. More... | |
function_type const & | get_function () const |
Returns the wrapped 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... | |
Formatter function wrapper terminal.
typedef void boost::expressions::wrapped_formatter_terminal< FunT, CharT >::_is_boost_log_terminal |
Internal typedef for type categorization.
typedef CharT boost::expressions::wrapped_formatter_terminal< FunT, CharT >::char_type |
Character type.
typedef FunT boost::expressions::wrapped_formatter_terminal< FunT, CharT >::function_type |
Wrapped function type.
typedef string_type boost::expressions::wrapped_formatter_terminal< FunT, CharT >::result_type |
Formatter result type.
typedef basic_formatting_ostream< char_type > boost::expressions::wrapped_formatter_terminal< FunT, CharT >::stream_type |
Formatting stream type.
typedef std::basic_string< char_type > boost::expressions::wrapped_formatter_terminal< FunT, CharT >::string_type |
String type.
|
inlineexplicit |
Initializing construction.
|
inline |
Copy constructor.
|
inline |
Returns the wrapped function.
|
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().