csPrintfFormatter< Twriter, Treader > Class Template Reference
[Utilities]
Templated class for printf()-style string formatting.
More...
#include <csutil/formatter.h>
Public Member Functions | |
| csPrintfFormatter (Treader *reader,...) | |
| Initialize from a reader and a argument list. | |
| csPrintfFormatter (Treader *reader, va_list args) | |
| Initialize from a reader and a argument list. | |
| void | Format (Twriter &writer) |
| Do the actual formatting. | |
Detailed Description
template<class Twriter, class Treader>
class csPrintfFormatter< Twriter, Treader >
Templated class for printf()-style string formatting.
Treader provides the format string, Twriter receives the output.
Definition at line 137 of file formatter.h.
Constructor & Destructor Documentation
template<class Twriter , class Treader >
| csPrintfFormatter< Twriter, Treader >::csPrintfFormatter | ( | Treader * | reader, | |
| va_list | args | |||
| ) | [inline] |
template<class Twriter , class Treader >
| csPrintfFormatter< Twriter, Treader >::csPrintfFormatter | ( | Treader * | reader, | |
| ... | ||||
| ) | [inline] |
Member Function Documentation
template<class Twriter , class Treader >
| void csPrintfFormatter< Twriter, Treader >::Format | ( | Twriter & | writer | ) | [inline] |
The documentation for this class was generated from the following file:
- csutil/formatter.h
Generated for Crystal Space 1.4.0 by doxygen 1.5.8
