00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef UCOLEITR_H
00017 #define UCOLEITR_H
00018
00023 #define UCOL_NULLORDER 0xFFFFFFFF
00024
00025 #include "unicode/ucol.h"
00026
00031 typedef struct UCollationElements UCollationElements;
00032
00104 U_CAPI UCollationElements* U_EXPORT2
00105 ucol_openElements(const UCollator *coll,
00106 const UChar *text,
00107 int32_t textLength,
00108 UErrorCode *status);
00109
00114 U_CAPI int32_t U_EXPORT2
00115 ucol_keyHashCode(const uint8_t* key, int32_t length);
00116
00123 U_CAPI void U_EXPORT2
00124 ucol_closeElements(UCollationElements *elems);
00125
00135 U_CAPI void U_EXPORT2
00136 ucol_reset(UCollationElements *elems);
00137
00147 U_CAPI int32_t U_EXPORT2
00148 ucol_next(UCollationElements *elems, UErrorCode *status);
00149
00166 U_CAPI int32_t U_EXPORT2
00167 ucol_previous(UCollationElements *elems, UErrorCode *status);
00168
00180 U_CAPI int32_t U_EXPORT2
00181 ucol_getMaxExpansion(const UCollationElements *elems, int32_t order);
00182
00195 U_CAPI void U_EXPORT2
00196 ucol_setText( UCollationElements *elems,
00197 const UChar *text,
00198 int32_t textLength,
00199 UErrorCode *status);
00200
00210 U_CAPI int32_t U_EXPORT2
00211 ucol_getOffset(const UCollationElements *elems);
00212
00225 U_CAPI void U_EXPORT2
00226 ucol_setOffset(UCollationElements *elems,
00227 int32_t offset,
00228 UErrorCode *status);
00229
00230 #endif