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 utf8_char, utf16_char, utf32_char and wchar_t strings.
Definition at line 74 of file formatter.h.
Constructor & Destructor Documentation
template<class T >
csFmtDefaultReader< T >::csFmtDefaultReader | ( | const T * | string, | |
size_t | length | |||
) | [inline] |
Init with a string and a length.
Definition at line 82 of file formatter.h.
Member Function Documentation
template<class T >
bool csFmtDefaultReader< T >::GetNext | ( | utf32_char & | ch | ) | [inline] |
Get next character. Returns false if end of input was reached.
Definition at line 85 of file formatter.h.
template<class T >
size_t csFmtDefaultReader< T >::GetPosition | ( | ) | const [inline] |
Get position relative to beginning.
Definition at line 96 of file formatter.h.
template<class T >
void csFmtDefaultReader< T >::Reset | ( | ) | [inline] |
Rewind.
Definition at line 94 of file formatter.h.
The documentation for this class was generated from the following file:
- csutil/formatter.h
Generated for Crystal Space 1.4.1 by doxygen 1.7.1