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
00157 U_CAPI int32_t
00158 ucol_previous(UCollationElements *elems, UErrorCode *status);
00159
00170 U_CAPI int32_t
00171 ucol_getMaxExpansion(const UCollationElements *elems, int32_t order);
00172
00181 U_CAPI void
00182 ucol_setText( UCollationElements *elems,
00183 const UChar *text,
00184 int32_t textLength,
00185 UErrorCode *status);
00186
00195 U_CAPI UTextOffset
00196 ucol_getOffset(const UCollationElements *elems);
00197
00206 U_CAPI void
00207 ucol_setOffset(UCollationElements *elems,
00208 UTextOffset offset,
00209 UErrorCode *status);
00210
00211 #endif