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

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 
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

Generated at Tue Jun 12 14:04:00 2001 for ICU 1.8.1 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000