CCnvCharacterSetConverter::TArrayOfAscendingIndices Class Reference

class CCnvCharacterSetConverter::TArrayOfAscendingIndices

Holds an ascending array of the indices of the characters in the source Unicode text which could not be converted by CCnvCharacterSetConverter::ConvertFromUnicode() into the foreign character set

Constructor & Destructor Documentation

TArrayOfAscendingIndices()

TArrayOfAscendingIndices ( ) [inline]

C++ constructor. The array is initialised to be of length zero.

Member Functions Documentation

AppendIndex(TInt)

IMPORT_C TAppendResult AppendIndex ( TInt aIndex )

Appends an index to the array of indices.

The value of aIndex should be greater than that of the last index in the array, to maintain an ascending array. The return value should be tested to see whether the function succeeded or not.

Parameters

TInt aIndex The index to append to the array.

NumberOfIndices()

TInt NumberOfIndices ( ) const [inline]

Returns the number of indices in the array.

Remove(TInt)

void Remove ( TInt aIndexOfIndex ) [inline]

Deletes a single index from the array.

Parameters

TInt aIndexOfIndex The index of the index to delete. Must not be negative and must not be greater than the length of the array, or a panic occurs.

RemoveAll()

void RemoveAll ( ) [inline]

Deletes all indices from the array.

operator[](TInt)

TInt operator[] ( TInt aIndexOfIndex ) const [inline]

Gets the value of the specified index.

Parameters

TInt aIndexOfIndex Index into the array.

Member Enumerations Documentation

Enum TAppendResult

The return value of CCnvCharacterSetConverter::AppendIndex().

Enumerators

EAppendFailed

The append failed.

EAppendSuccessful

The append succeeded.

Member Data Documentation

TBuf16< KMaximumNumberOfIndices > iArrayOfIndices

TBuf16 < KMaximumNumberOfIndices > iArrayOfIndices [private]