HDK
|
#include <UT_Unicode.h>
Public Member Functions | |
iterator () | |
iterator (const utf8 *start, const utf8 *end=0, const UT_Unicode::transform *transform=0) | |
iterator (const UT_StringView &str, const UT_Unicode::transform *transform=0) | |
iterator (const UT_String &str, const UT_Unicode::transform *transform=0) | |
iterator (const UT_StringRef &str, const UT_Unicode::transform *transform=0) | |
void | reset (const utf8 *to=0) |
bool | advance () |
bool | retreat () |
const utf8 * | at () const |
const utf8 * | next () const |
utf32 | getCP () const |
utf32 | getNextCP () const |
bool | atEnd () const |
iterator & | operator++ () |
iterator & | operator-- () |
Simple string iterator to iterate over an UTF-8 string and peel off the code points in sequence. This iterator can always get the 'next' code point, which is useful for function which require sequential code point pairs, such as kerning. The iterator terminates when the current character is nil, invalid, or at the 'end' pointer.
Definition at line 224 of file UT_Unicode.h.
|
inline |
Definition at line 749 of file UT_UnicodeImpl.h.
|
inline |
Definition at line 754 of file UT_UnicodeImpl.h.
|
inline |
Definition at line 760 of file UT_UnicodeImpl.h.
|
inline |
Definition at line 766 of file UT_UnicodeImpl.h.
|
inline |
Definition at line 772 of file UT_UnicodeImpl.h.
|
inline |
Definition at line 832 of file UT_UnicodeImpl.h.
|
inline |
Returns the pointer to the current UTF-8 sequence. Valid if atEnd is not false.
Definition at line 248 of file UT_Unicode.h.
|
inline |
Definition at line 261 of file UT_Unicode.h.
|
inline |
Definition at line 255 of file UT_Unicode.h.
|
inline |
Definition at line 259 of file UT_Unicode.h.
|
inline |
Definition at line 252 of file UT_Unicode.h.
|
inline |
Definition at line 263 of file UT_Unicode.h.
|
inline |
Definition at line 264 of file UT_Unicode.h.
Definition at line 799 of file UT_UnicodeImpl.h.
|
inline |
Definition at line 858 of file UT_UnicodeImpl.h.