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
00117 U_CAPI int32_t U_EXPORT2
00118 ucol_keyHashCode(const uint8_t* key, int32_t length);
00119
00126 U_CAPI void U_EXPORT2
00127 ucol_closeElements(UCollationElements *elems);
00128
00138 U_CAPI void U_EXPORT2
00139 ucol_reset(UCollationElements *elems);
00140
00150 U_CAPI int32_t U_EXPORT2
00151 ucol_next(UCollationElements *elems, UErrorCode *status);
00152
00169 U_CAPI int32_t U_EXPORT2
00170 ucol_previous(UCollationElements *elems, UErrorCode *status);
00171
00183 U_CAPI int32_t U_EXPORT2
00184 ucol_getMaxExpansion(const UCollationElements *elems, int32_t order);
00185
00198 U_CAPI void U_EXPORT2
00199 ucol_setText( UCollationElements *elems,
00200 const UChar *text,
00201 int32_t textLength,
00202 UErrorCode *status);
00203
00213 U_CAPI int32_t U_EXPORT2
00214 ucol_getOffset(const UCollationElements *elems);
00215
00228 U_CAPI void U_EXPORT2
00229 ucol_setOffset(UCollationElements *elems,
00230 int32_t offset,
00231 UErrorCode *status);
00232
00233 #endif