23 #if !UCONFIG_NO_COLLATION 30 #define UCOL_NULLORDER ((int32_t)0xFFFFFFFF) int32_t ucol_tertiaryOrder(int32_t order)
Get the tertiary order of a collation order.
UCollationElements * ucol_openElements(const UCollator *coll, const UChar *text, int32_t textLength, UErrorCode *status)
Open the collation elements for a string.
int32_t ucol_secondaryOrder(int32_t order)
Get the secondary order of a collation order.
int32_t ucol_previous(UCollationElements *elems, UErrorCode *status)
Get the ordering priority of the previous collation element in the text.
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...
int32_t ucol_keyHashCode(const uint8_t *key, int32_t length)
get a hash code for a key...
struct UCollationElements UCollationElements
The UCollationElements struct.
void ucol_setText(UCollationElements *elems, const UChar *text, int32_t textLength, UErrorCode *status)
Set the text containing the collation elements.
int32_t ucol_next(UCollationElements *elems, UErrorCode *status)
Get the ordering priority of the next collation element in the text.
uint16_t UChar
The base type for UTF-16 code units and pointers.
void ucol_closeElements(UCollationElements *elems)
Close a UCollationElements.
void ucol_setOffset(UCollationElements *elems, int32_t offset, UErrorCode *status)
Set the offset of the current source character.
void ucol_reset(UCollationElements *elems)
Reset the collation elements to their initial state.
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers...
struct UCollator UCollator
structure representing a collator object instance
Basic definitions for ICU, for both C and C++ APIs.
int32_t ucol_getOffset(const UCollationElements *elems)
Get the offset of the current source character.
int32_t ucol_primaryOrder(int32_t order)
Get the primary order of a collation order.
#define U_STABLE
This is used to declare a function as a stable public ICU C API.