Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals   Related Pages  

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 
00114 U_CAPI int32_t U_EXPORT2 
00115 ucol_keyHashCode(const uint8_t* key, int32_t length);
00116 
00123 U_CAPI void U_EXPORT2 
00124 ucol_closeElements(UCollationElements *elems);
00125 
00135 U_CAPI void U_EXPORT2 
00136 ucol_reset(UCollationElements *elems);
00137 
00147 U_CAPI int32_t U_EXPORT2 
00148 ucol_next(UCollationElements *elems, UErrorCode *status);
00149 
00166 U_CAPI int32_t U_EXPORT2 
00167 ucol_previous(UCollationElements *elems, UErrorCode *status);
00168 
00180 U_CAPI int32_t U_EXPORT2 
00181 ucol_getMaxExpansion(const UCollationElements *elems, int32_t order);
00182 
00195 U_CAPI void U_EXPORT2 
00196 ucol_setText(      UCollationElements *elems, 
00197              const UChar              *text,
00198                    int32_t            textLength,
00199                    UErrorCode         *status);
00200 
00210 U_CAPI int32_t U_EXPORT2 
00211 ucol_getOffset(const UCollationElements *elems);
00212 
00225 U_CAPI void U_EXPORT2 
00226 ucol_setOffset(UCollationElements *elems,
00227                int32_t        offset,
00228                UErrorCode         *status);
00229 
00230 #endif

Generated on Fri Mar 7 20:02:45 2003 for ICU 2.1 by doxygen1.3-rc3