CartoType C++ API 7.8.2, 2022-03-25
for Windows, Linux, Qt and other platforms supporting C++ development
|
#include <cartotype_string.h>
Public Member Functions | |
TUtf8ToUtf32 (const uint8_t *aText, size_t aLength=npos) | |
TResult | Next (int32_t &aValue) |
void | Back () |
const uint8_t * | Pos () const |
virtual TResult | Next (int32_t &aValue)=0 |
virtual void | Back ()=0 |
An iterator to convert UTF8 text to UTF32.
CartoType::TUtf8ToUtf32::TUtf8ToUtf32 | ( | const uint8_t * | aText, |
size_t | aLength = npos |
||
) |
Creates an iterator over some UTF8 text. If aLength is npos (the default) the text must be null-terminated.
|
virtual |
Back up one position if possible so that the next call to Next returns the same object as the previous call.
Implements CartoType::MIter< int32_t >.
|
virtual |
Get the next object. Return KErrorNone if an object was retrieved, KErrorEndOfData if there are no more objects, or some other result code if there was a different type of error.
Implements CartoType::MIter< int32_t >.
|
inline |
Returns a pointer to the current position in the text.