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
Public Member Functions | |
---|---|
TArrayOfAscendingIndices () | |
IMPORT_C TAppendResult | AppendIndex ( TInt ) |
TInt | NumberOfIndices () |
void | Remove ( TInt ) |
void | RemoveAll () |
TInt | operator[] ( TInt ) |
Public Member Enumerations | |
---|---|
enum | TAppendResult { EAppendFailed , EAppendSuccessful } |
Private Attributes | |
---|---|
TBuf16 < KMaximumNumberOfIndices > | iArrayOfIndices |
TArrayOfAscendingIndices | ( | ) | [inline] |
C++ constructor. The array is initialised to be of length zero.
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.
TInt aIndex | The index to append to the array. |
TInt | NumberOfIndices | ( | ) | const [inline] |
Returns the number of indices in the array.
void | Remove | ( | TInt | aIndexOfIndex | ) | [inline] |
Deletes a single index from the array.
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. |
TInt | operator[] | ( | TInt | aIndexOfIndex | ) | const [inline] |
Gets the value of the specified index.
TInt aIndexOfIndex | Index into the array. |
The return value of CCnvCharacterSetConverter::AppendIndex().
EAppendFailed |
The append failed. |
EAppendSuccessful |
The append succeeded. |
TBuf16 < KMaximumNumberOfIndices > | iArrayOfIndices | [private] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.