csFmtDefaultReader< T > Class Template Reference
[Utilities]
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. | |
size_t | GetPosition () const |
Get position relative to beginning. | |
void | Reset () |
Rewind. |
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 82 of file formatter.h.
Constructor & Destructor Documentation
|
Init with a string and a length.
Definition at line 90 of file formatter.h. References csFmtDefaultReader< T >::Reset(). |
Member Function Documentation
|
Get next character. Returns false if end of input was reached.
Definition at line 93 of file formatter.h. References csUnicodeTransform::Decode(). |
|
Get position relative to beginning.
Definition at line 104 of file formatter.h. |
|
Rewind.
Definition at line 102 of file formatter.h. Referenced by csFmtDefaultReader< T >::csFmtDefaultReader(). |
The documentation for this class was generated from the following file:
- csutil/formatter.h
Generated for Crystal Space by doxygen 1.4.6