Log record formatter function wrapper. More...
#include <formatter.hpp>

Public Types | |
| typedef void | result_type |
| Result type. More... | |
| typedef CharT | char_type |
| Character type. More... | |
| typedef basic_formatting_ostream < char_type > | stream_type |
| Output stream type. More... | |
Public Member Functions | |
| basic_formatter () | |
| Default constructor. More... | |
| basic_formatter (basic_formatter const &that) | |
| Copy constructor. More... | |
| basic_formatter (BOOST_RV_REF(this_type) that) BOOST_NOEXCEPT | |
| Move constructor. More... | |
| template<typename FunT > | |
| basic_formatter (FunT &&fun) | |
| Initializing constructor. More... | |
| basic_formatter & | operator= (BOOST_RV_REF(this_type) that) BOOST_NOEXCEPT |
| Move assignment. More... | |
| basic_formatter & | operator= (BOOST_COPY_ASSIGN_REF(this_type) that) |
| Copy assignment. More... | |
| template<typename FunT > | |
| basic_formatter & | operator= (FunT &&fun) |
| Initializing assignment. More... | |
| result_type | operator() (record_view const &rec, stream_type &strm) const |
| Formatting operator. More... | |
| void | reset () |
| Resets the formatter to the default. More... | |
| void | swap (basic_formatter &that) BOOST_NOEXCEPT |
| Swaps two formatters. More... | |
Log record formatter function wrapper.
| typedef CharT boost::basic_formatter< CharT >::char_type |
Character type.
| typedef void boost::basic_formatter< CharT >::result_type |
Result type.
| typedef basic_formatting_ostream< char_type > boost::basic_formatter< CharT >::stream_type |
Output stream type.
|
inline |
Default constructor.
Creates a formatter that only outputs log message.
|
inline |
Copy constructor.
|
inline |
Move constructor.
The moved-from formatter is left in an unspecified state.
|
inline |
Initializing constructor.
Creates a formatter which will invoke the specified function object.
|
inline |
Formatting operator.
| rec | A log record to format. |
| strm | A stream to put the formatted characters to. |
|
inline |
Move assignment.
The moved-from formatter is left in an unspecified state.
|
inline |
Copy assignment.
|
inline |
Initializing assignment.
Sets the specified function object to the formatter.
|
inline |
Resets the formatter to the default.
The default formatter only outputs message text.
|
inline |
Swaps two formatters.
Referenced by boost::basic_formatter< char_type >::operator=().