CartoType C++ API 8.8-7-gb35e4dc71
for Windows, Linux, Qt and other platforms supporting C++ development
|
#include <cartotype_string.h>
Public Member Functions | |
Utf16ToUtf32 (const uint16_t *aText, size_t aLength) | |
Result | Next (int32_t &aValue) |
void | Back () |
const uint16_t * | Pos () const |
virtual Result | Next (int32_t &aValue)=0 |
virtual void | Back ()=0 |
An iterator to convert UTF16 text to UTF32.
CartoTypeCore::Utf16ToUtf32::Utf16ToUtf32 | ( | const uint16_t * | aText, |
size_t | aLength | ||
) |
Creates an iterator over some UTF16 text. If aLength is npos 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 CartoTypeCore::MIter< int32_t >.
|
virtual |
Gets the next object. Returns 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 CartoTypeCore::MIter< int32_t >.
|
inline |
Returns a pointer to the current position in the text.