Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

ucoleitr.h

Go to the documentation of this file.
00001 /*
00002 *******************************************************************************
00003 *   Copyright (C) 2001, International Business Machines
00004 *   Corporation and others.  All Rights Reserved.
00005 *******************************************************************************
00006 *
00007 * File ucoleitr.cpp
00008 *
00009 * Modification History:
00010 *
00011 * Date        Name        Description
00012 * 02/15/2001  synwee      Modified all methods to process its own function 
00013 *                         instead of calling the equivalent c++ api (coleitr.h)
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

Generated on Thu Aug 15 14:13:31 2002 for ICU 2.2 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001