#include <charconv.h>
class CCnvCharacterSetConverter::TArrayOfAscendingIndices |
Public Member Enumerations | |
---|---|
enum | TAppendResult { EAppendFailed, EAppendSuccessful } |
Public Member Functions | |
---|---|
TArrayOfAscendingIndices() | |
IMPORT_C TAppendResult | AppendIndex(TInt) |
TInt | NumberOfIndices() |
void | Remove(TInt) |
void | RemoveAll() |
TInt | operator[](TInt) |
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
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.
Parameter | Description |
---|---|
aIndex | The index to append to the array. |
Returns: EAppendFailed if the append failed, or EAppendSuccessful if it succeeded.
TInt | NumberOfIndices | ( | ) | const [inline] |
Returns the number of indices in the array.
Returns: The number of indices in the array.
void | Remove | ( | TInt | aIndexOfIndex | ) | [inline] |
Deletes a single index from the array.
Parameter | Description |
---|---|
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. |