TUTF32Iterator Class Reference

class TUTF32Iterator

Converts UTF16 into UTF32, ignoring non-characters and unpaired surrogates and combining paired surrogates.

Constructor & Destructor Documentation

TUTF32Iterator()

TUTF32Iterator ( ) [inline]

TUTF32Iterator(const TText16 *)

TUTF32Iterator ( const TText16 * aSingleton ) [inline, explicit]

Parameters

const TText16 * aSingleton

TUTF32Iterator(const TText16 *, const TText16 *)

TUTF32Iterator ( const TText16 * aStart,
const TText16 * aEnd
) [inline]

Parameters

const TText16 * aStart
const TText16 * aEnd

TUTF32Iterator(const TText16 *, const TText16 *, TStartsWithValidCharacter)

TUTF32Iterator ( const TText16 * aStart,
const TText16 * aEnd,
TStartsWithValidCharacter
) [inline]

Parameters

const TText16 * aStart
const TText16 * aEnd
TStartsWithValidCharacter

Member Functions Documentation

AtEnd()

TBool AtEnd ( ) const [inline]

Current()

TChar Current ( ) const [inline]

CurrentAsIterator()

TUTF32Iterator CurrentAsIterator ( ) const [inline]

CurrentPosition()

const TText16 * CurrentPosition ( ) const [inline]

Length()

TInt Length ( ) const [inline]

LocateFoldedBaseCharacter(TChar)

TBool LocateFoldedBaseCharacter ( TChar aChar )

Locates a base character in a string using a folded comparision. Will not find combining characters, nor will it consider Korean combining Jamo to be equivalent to Hangul.

Parameters

TChar aChar

Next()

void Next ( )

SetStart(const TText16 *)

void SetStart ( const TText16 * ) [inline]

Sets the iteration to begin at aStart.

Parameters

const TText16 * New starting point of iteration.

operator[](TInt)

TInt operator[] ( TInt ) const [inline]

Parameters

TInt

Member Enumerations Documentation

Enum TStartsWithValidCharacter

Enumerators

EStartsWithValidCharacter

Member Data Documentation

TChar iCurrent

TChar iCurrent [private]

const TText16 * iEnd

const TText16 * iEnd [private]

const TText16 * iStart

const TText16 * iStart [private]