Ark Server API (ASA) - Wiki
|
#include <printf.h>
Public Member Functions | |
PrintfFormatter (const ArgList &al, BasicWriter< Char > &w) | |
void | format (BasicCStringRef< Char > format_str) |
Private Member Functions | |
void | parse_flags (FormatSpec &spec, const Char *&s) |
internal::Arg | get_arg (const Char *s, unsigned arg_index=(std::numeric_limits< unsigned >::max)()) |
unsigned | parse_header (const Char *&s, FormatSpec &spec) |
Private Member Functions inherited from fmt::internal::FormatterBase | |
const ArgList & | args () const |
FormatterBase (const ArgList &args) | |
Arg | next_arg (const char *&error) |
Arg | get_arg (unsigned arg_index, const char *&error) |
bool | check_no_auto_index (const char *&error) |
template<typename Char > | |
void | write (BasicWriter< Char > &w, const Char *start, const Char *end) |
Private Attributes | |
BasicWriter< Char > & | writer_ |
This template formats data and writes the output to a writer.
|
inlineexplicit |
\rst Constructs a PrintfFormatter
object. References to the arguments and the writer are stored in the formatter object so make sure they have appropriate lifetimes. \endrst
Definition at line 335 of file printf.h.
void fmt::PrintfFormatter< Char, AF >::format | ( | BasicCStringRef< Char > | format_str | ) |
|
private |
|
private |
|
private |
|
private |