ICU 4.8.1.1  4.8.1.1
uenum.h
Go to the documentation of this file.
00001 /*
00002 *******************************************************************************
00003 *
00004 *   Copyright (C) 2002-2010, International Business Machines
00005 *   Corporation and others.  All Rights Reserved.
00006 *
00007 *******************************************************************************
00008 *   file name:  uenum.h
00009 *   encoding:   US-ASCII
00010 *   tab size:   8 (not used)
00011 *   indentation:2
00012 *
00013 *   created on: 2002jul08
00014 *   created by: Vladimir Weinstein
00015 */
00016 
00017 #ifndef __UENUM_H
00018 #define __UENUM_H
00019 
00020 #include "unicode/utypes.h"
00021 #include "unicode/localpointer.h"
00022 
00023 #if U_SHOW_CPLUSPLUS_API
00024 #include "unicode/strenum.h"
00025 #endif
00026 
00037 struct UEnumeration;
00039 typedef struct UEnumeration UEnumeration;
00040 
00048 U_STABLE void U_EXPORT2
00049 uenum_close(UEnumeration* en);
00050 
00051 #if U_SHOW_CPLUSPLUS_API
00052 
00053 U_NAMESPACE_BEGIN
00054 
00064 U_DEFINE_LOCAL_OPEN_POINTER(LocalUEnumerationPointer, UEnumeration, uenum_close);
00065 
00066 U_NAMESPACE_END
00067 
00068 #endif
00069 
00084 U_STABLE int32_t U_EXPORT2
00085 uenum_count(UEnumeration* en, UErrorCode* status);
00086 
00108 U_STABLE const UChar* U_EXPORT2
00109 uenum_unext(UEnumeration* en,
00110             int32_t* resultLength,
00111             UErrorCode* status);
00112 
00141 U_STABLE const char* U_EXPORT2
00142 uenum_next(UEnumeration* en,
00143            int32_t* resultLength,
00144            UErrorCode* status);
00145 
00155 U_STABLE void U_EXPORT2
00156 uenum_reset(UEnumeration* en, UErrorCode* status);
00157 
00158 #if U_SHOW_CPLUSPLUS_API
00159 
00169 U_CAPI UEnumeration* U_EXPORT2
00170 uenum_openFromStringEnumeration(U_NAMESPACE_QUALIFIER StringEnumeration* adopted, UErrorCode* ec);
00171 
00172 #endif
00173 
00174 #endif
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines