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
00100 U_CAPI UCollationElements*
00101 ucol_openElements(const UCollator *coll,
00102 const UChar *text,
00103 int32_t textLength,
00104 UErrorCode *status);
00105
00110 U_CAPI int32_t
00111 ucol_keyHashCode(const uint8_t* key, int32_t length);
00112
00118 U_CAPI void
00119 ucol_closeElements(UCollationElements *elems);
00120
00128 U_CAPI void
00129 ucol_reset(UCollationElements *elems);
00130
00139 U_CAPI int32_t
00140 ucol_next(UCollationElements *elems, UErrorCode *status);
00141
00151 U_CAPI int32_t
00152 ucol_previous(UCollationElements *elems, UErrorCode *status);
00153
00164 U_CAPI int32_t
00165 ucol_getMaxExpansion(const UCollationElements *elems, int32_t order);
00166
00175 U_CAPI void
00176 ucol_setText( UCollationElements *elems,
00177 const UChar *text,
00178 int32_t textLength,
00179 UErrorCode *status);
00180
00189 U_CAPI UTextOffset
00190 ucol_getOffset(const UCollationElements *elems);
00191
00200 U_CAPI void
00201 ucol_setOffset(UCollationElements *elems,
00202 UTextOffset offset,
00203 UErrorCode *status);
00204
00205 #endif