Flow123d
3.9.1-c3f8cb5
|
#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) |
Private Member Functions | |
FMT_DISALLOW_COPY_AND_ASSIGN (BasicFormatter) | |
internal::Arg | get_arg (BasicStringRef< Char > arg_name, const char *&error) |
internal::Arg | parse_arg_index (const Char *&s) |
internal::Arg | parse_arg_name (const Char *&s) |
Private Attributes | |
BasicWriter< Char > & | writer_ |
internal::ArgMap< Char > | map_ |
This template formats data and writes the output to a writer.
typedef CharType fmt::BasicFormatter< CharType, ArgFormatter >::Char |
|
inline |
\rst Constructs a BasicFormatter
object. References to the arguments and the writer are stored in the formatter object so make sure they have appropriate lifetimes. \endrst
|
private |
void fmt::BasicFormatter< Char, AF >::format | ( | BasicCStringRef< Char > | format_str | ) |
const Char * fmt::BasicFormatter< Char, ArgFormatter >::format | ( | const Char *& | format_str, |
const internal::Arg & | arg | ||
) |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
private |
|
private |