ICU 54.1 54.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

- File List
- Globals

All Data Structures Namespaces 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-2014, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 *******************************************************************************
6 *
7 * File ucoleitr.h
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
30 #include "unicode/ucol.h"
31
37 typedef struct UCollationElements UCollationElements;
38
110 U_STABLE UCollationElements* U_EXPORT2
111 ucol_openElements(const UCollator *coll,
112 const UChar *text,
113 int32_t textLength,
114 UErrorCode *status);
115
116
124 U_STABLE int32_t U_EXPORT2
125 ucol_keyHashCode(const uint8_t* key, int32_t length);
126
133 U_STABLE void U_EXPORT2
134 ucol_closeElements(UCollationElements *elems);
135
145 U_STABLE void U_EXPORT2
146 ucol_reset(UCollationElements *elems);
147
157 U_STABLE int32_t U_EXPORT2
158 ucol_next(UCollationElements *elems, UErrorCode *status);
159
173 U_STABLE int32_t U_EXPORT2
174 ucol_previous(UCollationElements *elems, UErrorCode *status);
175
187 U_STABLE int32_t U_EXPORT2
188 ucol_getMaxExpansion(const UCollationElements *elems, int32_t order);
189
202 U_STABLE void U_EXPORT2
203 ucol_setText( UCollationElements *elems,
204 const UChar *text,
205 int32_t textLength,
206 UErrorCode *status);
207
217 U_STABLE int32_t U_EXPORT2
218 ucol_getOffset(const UCollationElements *elems);
219
232 U_STABLE void U_EXPORT2
233 ucol_setOffset(UCollationElements *elems,
234 int32_t offset,
235 UErrorCode *status);
236
243 U_STABLE int32_t U_EXPORT2
244 ucol_primaryOrder (int32_t order);
245
252 U_STABLE int32_t U_EXPORT2
253 ucol_secondaryOrder (int32_t order);
254
261 U_STABLE int32_t U_EXPORT2
262 ucol_tertiaryOrder (int32_t order);
263
264 #endif /* #if !UCONFIG_NO_COLLATION */
265
266 #endif