bitz-server
2.0.3
|
#include <format.h>
Public Types | |
typedef CharType | Char |
Public Member Functions | |
BasicFormatter (const ArgList &args, BasicWriter< Char > &w) | |
BasicWriter< Char > & | writer () |
void | format (BasicCStringRef< Char > format_str) |
const Char * | format (const Char *&format_str, const internal::Arg &arg) |
This template formats data and writes the output to a writer.
typedef CharType fmt::BasicFormatter< CharType, ArgFormatter >::Char |
The character type for the output.
|
inline |
Constructs a BasicFormatter
object. References to the arguments and the writer are stored in the formatter object so make sure they have appropriate lifetimes.
void fmt::BasicFormatter< Char, AF >::format | ( | BasicCStringRef< Char > | format_str | ) |
Formats stored arguments and writes the output to the writer.
|
inline |
Returns a reference to the writer associated with this formatter.