CrystalSpace

Public API Reference

Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

csPrintfFormatter< Twriter, Treader > Class Template Reference
[Csutil]

Templated class for printf()-style string formatting. More...

#include <csutil/formatter.h>

List of all members.

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.


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 102 of file formatter.h.


Constructor & Destructor Documentation

template<class Twriter, class Treader>
csPrintfFormatter< Twriter, Treader >::csPrintfFormatter Treader *  reader,
va_list  args
[inline]
 

Initialize from a reader and a argument list.

Definition at line 1025 of file formatter.h.

template<class Twriter, class Treader>
csPrintfFormatter< Twriter, Treader >::csPrintfFormatter Treader *  reader,
  ...
[inline]
 

Initialize from a reader and a argument list.

Definition at line 1030 of file formatter.h.


Member Function Documentation

template<class Twriter, class Treader>
void csPrintfFormatter< Twriter, Treader >::Format Twriter &  writer  )  [inline]
 

Do the actual formatting.

Definition at line 1038 of file formatter.h.

References intmax_t, csArray< T, ElementHandler, MemoryAllocator >::Length(), longlong, ptrdiff_t, csArray< T, ElementHandler, MemoryAllocator >::Put(), uint, uintptr_t, ulonglong, utf32_char, and utf8_char.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.3.9.1