TCollationKeyTable Struct Reference
struct TCollationKeyTable |
Collation key table structure.
Member Enumerations Documentation
Enum anonymous
Masks for the various parts of the elements of the iKey array.
Enumerators
ELevel0Mask = 0xFFFF0000 | |
ELevel1Mask = 0x0000FF00 | |
ELevel2Mask = 0x000000FC | |
EIgnoreFlag = 0x2 | |
EStopFlag = 0x1 | |
Member Data Documentation
const TUint32 * iIndex
An array of indices into the iKey array. Each element has its high 16 bits indicating a Unicode value and its low 16 bits indicating an index into the iKey array at which its key starts. For surrogate pairs, high surrogate code is in index[i]:16-31, and low surrogate code is in index[i+1]:16-31. These two elements are combined to represent a surrogate pair. The elements are sorted by Unicode value.
TInt
iIndices
The size of the iIndex array.
const TUint32 * iKey
An array containing all of the keys and strings of keys concatenated together. Each key has EStopFlag set only if it is the last key in its string. Eack key contains the keys for levels 0, 1 and 2, and a flag EIgnoreFlag if the key is usually ignored (for punctuation & spaces etc.).
const TUint16 * iString
Concatenated Unicode strings. Each is a strings that is to be converted to keys differently from how it would be if each letter were converted independently. An example is "ch" in Spanish, which sorts as though it were a single letter. Each Unicode string is preceeded by a 16-bit value indicating the string's length (in 16-bit). The end of the string is not delimited. A surrogate pair is represented by two ajacent 16-bit values.
const TUint32 * iStringIndex
An array of elements mapping elements of iString to elements of iIndex. Each element has its high 16 bits indicating the index of the start of an element of iString, and its low 16 bits indicating the corresponding element in iIndex. This array is sorted on the string index.
TInt
iStringIndices
The size of the iStringIndex array.
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.