ICU 4.8.1.1  4.8.1.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ucoleitr.h
Go to the documentation of this file.
1 /*
2 *******************************************************************************
3 * Copyright (C) 2001-2009, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 *******************************************************************************
6 *
7 * File ucoleitr.cpp
8 *
9 * Modification History:
10 *
11 * Date Name Description
12 * 02/15/2001 synwee Modified all methods to process its own function
13 * instead of calling the equivalent c++ api (coleitr.h)
14 *******************************************************************************/
15 
16 #ifndef UCOLEITR_H
17 #define UCOLEITR_H
18 
19 #include "unicode/utypes.h"
20 
21 #if !UCONFIG_NO_COLLATION
22 
28 #define UCOL_NULLORDER ((int32_t)0xFFFFFFFF)
29 
36 #define UCOL_PROCESSED_NULLORDER ((int64_t)U_INT64_MAX)
37 
38 #include "unicode/ucol.h"
39 
46 
119 ucol_openElements(const UCollator *coll,
120  const UChar *text,
121  int32_t textLength,
122  UErrorCode *status);
123 
124 
132 U_STABLE int32_t U_EXPORT2
133 ucol_keyHashCode(const uint8_t* key, int32_t length);
134 
141 U_STABLE void U_EXPORT2
143 
153 U_STABLE void U_EXPORT2
155 
169 
179 U_STABLE int32_t U_EXPORT2
180 ucol_next(UCollationElements *elems, UErrorCode *status);
181 
198 U_STABLE int32_t U_EXPORT2
200 
214 U_INTERNAL int64_t U_EXPORT2
215 ucol_nextProcessed(UCollationElements *elems, int32_t *ixLow, int32_t *ixHigh, UErrorCode *status);
216 
237 U_INTERNAL int64_t U_EXPORT2
238 ucol_previousProcessed(UCollationElements *elems, int32_t *ixLow, int32_t *ixHigh, UErrorCode *status);
239 
251 U_STABLE int32_t U_EXPORT2
252 ucol_getMaxExpansion(const UCollationElements *elems, int32_t order);
253 
266 U_STABLE void U_EXPORT2
268  const UChar *text,
269  int32_t textLength,
270  UErrorCode *status);
271 
281 U_STABLE int32_t U_EXPORT2
282 ucol_getOffset(const UCollationElements *elems);
283 
296 U_STABLE void U_EXPORT2
298  int32_t offset,
299  UErrorCode *status);
300 
307 U_STABLE int32_t U_EXPORT2
308 ucol_primaryOrder (int32_t order);
309 
316 U_STABLE int32_t U_EXPORT2
317 ucol_secondaryOrder (int32_t order);
318 
325 U_STABLE int32_t U_EXPORT2
326 ucol_tertiaryOrder (int32_t order);
327 
328 #endif /* #if !UCONFIG_NO_COLLATION */
329 
330 #endif