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 
00151 U_CAPI int32_t
00152 ucol_previous(UCollationElements *elems, UErrorCode *status);
00153 
00164 U_CAPI int32_t
00165 ucol_getMaxExpansion(const UCollationElements *elems, int32_t order);
00166 
00175 U_CAPI void
00176 ucol_setText(      UCollationElements *elems, 
00177              const UChar              *text,
00178                    int32_t            textLength,
00179                    UErrorCode         *status);
00180 
00189 U_CAPI UTextOffset
00190 ucol_getOffset(const UCollationElements *elems);
00191 
00200 U_CAPI void
00201 ucol_setOffset(UCollationElements *elems,
00202                UTextOffset        offset,
00203                UErrorCode         *status);
00204 
00205 #endif

Generated at Thu Mar 22 16:12:39 2001 for ICU 1.8 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000