![]() |
Public API Reference |
Templated class for printf()-style string formatting. More...
#include <csutil/formatter.h>
Public Member Functions | |
| csPrintfFormatter (Treader *reader, va_list args) | |
| Initialize from a reader and a argument list. | |
| csPrintfFormatter (Treader *reader,...) | |
| Initialize from a reader and a argument list. | |
| void | Format (Twriter &writer) |
| Do the actual formatting. | |
Templated class for printf()-style string formatting.
Treader provides the format string, Twriter receives the output.
Definition at line 137 of file formatter.h.
| csPrintfFormatter< Twriter, Treader >::csPrintfFormatter | ( | Treader * | reader, |
| va_list | args | ||
| ) | [inline] |
Initialize from a reader and a argument list.
Definition at line 1214 of file formatter.h.
| csPrintfFormatter< Twriter, Treader >::csPrintfFormatter | ( | Treader * | reader, |
| ... | |||
| ) | [inline] |
Initialize from a reader and a argument list.
Definition at line 1219 of file formatter.h.
| void csPrintfFormatter< Twriter, Treader >::Format | ( | Twriter & | writer | ) | [inline] |
Do the actual formatting.
Definition at line 1227 of file formatter.h.