Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages
csFmtDefaultReader< T > Class Template Reference
[Csutil]
Standard format string source for csPrintfFormatter.
More...
#include <csutil/formatter.h>
Public Member Functions | |
csFmtDefaultReader (const T *string, size_t length) | |
Init with a string and a length. | |
bool | GetNext (utf32_char &ch) |
Get next character. Returns false if end of input was reached. | |
void | Reset () |
Rewind. | |
size_t | GetPosition () const |
Get position relative to beginning. |
Detailed Description
template<class T>
class csFmtDefaultReader< T >
Standard format string source for csPrintfFormatter.
- Remarks:
- Uses csUnicodeTransform::Decode(), so it supports utd8_char, utf16_char, utf32_char and wchar_t strings.
Definition at line 40 of file formatter.h.
Constructor & Destructor Documentation
|
Init with a string and a length.
Definition at line 48 of file formatter.h. |
Member Function Documentation
|
Get next character. Returns false if end of input was reached.
Definition at line 51 of file formatter.h. References csUnicodeTransform::Decode(). |
|
Get position relative to beginning.
Definition at line 62 of file formatter.h. |
|
Rewind.
Definition at line 60 of file formatter.h. |
The documentation for this class was generated from the following file:
- csutil/formatter.h
Generated for Crystal Space by doxygen 1.3.9.1