#include "unicode/ucol.h"
Go to the source code of this file.
Defines | |
#define | UCOL_NULLORDER 0xFFFFFFFF |
This indicates an error has occured during processing or if no more CEs is to be returned. More... | |
Functions | |
U_CAPI UCollationElements* | ucol_openElements (const UCollator *coll, const UChar *text, int32_t textLength, UErrorCode *status) |
Open the collation elements for a string. More... | |
U_CAPI int32_t | ucol_keyHashCode (const uint8_t* key, int32_t length) |
get a hash code for a key... More... | |
U_CAPI void | ucol_closeElements (UCollationElements *elems) |
Close a UCollationElements. More... | |
U_CAPI void | ucol_reset (UCollationElements *elems) |
Reset the collation elements to their initial state. More... | |
U_CAPI int32_t | ucol_next (UCollationElements *elems, UErrorCode *status) |
Get the ordering priority of the next collation element in the text. More... | |
U_CAPI int32_t | ucol_previous (UCollationElements *elems, UErrorCode *status) |
Get the ordering priority of the previous collation element in the text. More... | |
U_CAPI int32_t | ucol_getMaxExpansion (const UCollationElements *elems, int32_t order) |
Get the maximum length of any expansion sequences that end with the specified comparison order. More... | |
U_CAPI void | ucol_setText ( UCollationElements *elems, const UChar *text, int32_t textLength, UErrorCode *status) |
Set the text containing the collation elements. More... | |
U_CAPI UTextOffset | ucol_getOffset (const UCollationElements *elems) |
Get the offset of the current source character. More... | |
U_CAPI void | ucol_setOffset (UCollationElements *elems, UTextOffset offset, UErrorCode *status) |
Set the offset of the current source character. More... |
|
This indicates an error has occured during processing or if no more CEs is to be returned.
Definition at line 23 of file ucoleitr.h. |
|
Close a UCollationElements. Once closed, a UCollationElements may no longer be used.
|
|
Get the maximum length of any expansion sequences that end with the specified comparison order. This is useful for .... ?
Referenced by CollationElementIterator::getMaxExpansion(). |
|
Get the offset of the current source character. This is an offset into the text of the character containing the current collation elements.
|
|
get a hash code for a key... Not very useful!
|
|
Get the ordering priority of the next collation element in the text. A single character may contain more than one collation element.
|
|
Open the collation elements for a string.
|
|
Get the ordering priority of the previous collation element in the text. A single character may contain more than one collation element.
|
|
Reset the collation elements to their initial state. This will move the 'cursor' to the beginning of the text.
|
|
Set the offset of the current source character. This is an offset into the text of the character to be processed.
|
|
Set the text containing the collation elements.
|