Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages
csFmtDefaultWriter< T > Class Template Reference
[Csutil]
Standard formatted string destination for csPrintfFormatter.
More...
#include <csutil/formatter.h>
Public Member Functions | |
csFmtDefaultWriter (T *dest, size_t size) | |
Init with a string and a maximum length. | |
void | Put (utf32_char ch) |
Write a char. | |
size_t | GetTotal () const |
Get number of chars that have been sent to the write (all, not only those that did fit into the buffer). |
Detailed Description
template<class T>
class csFmtDefaultWriter< T >
Standard formatted string destination for csPrintfFormatter.
- Remarks:
- Uses csUnicodeTransform::Decode(), so it supports utd8_char, utf16_char, utf32_char and wchar_t strings.
Definition at line 72 of file formatter.h.
Constructor & Destructor Documentation
|
Init with a string and a maximum length.
Definition at line 79 of file formatter.h. |
Member Function Documentation
|
Get number of chars that have been sent to the write (all, not only those that did fit into the buffer).
Definition at line 94 of file formatter.h. |
|
Write a char.
Definition at line 82 of file formatter.h. References csMin(), and csUnicodeTransform::Encode(). |
The documentation for this class was generated from the following file:
- csutil/formatter.h
Generated for Crystal Space by doxygen 1.3.9.1