ICU 56.1
56.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
common
unicode
uenum.h
Go to the documentation of this file.
1
/*
2
*******************************************************************************
3
*
4
* Copyright (C) 2002-2013, International Business Machines
5
* Corporation and others. All Rights Reserved.
6
*
7
*******************************************************************************
8
* file name: uenum.h
9
* encoding: US-ASCII
10
* tab size: 8 (not used)
11
* indentation:2
12
*
13
* created on: 2002jul08
14
* created by: Vladimir Weinstein
15
*/
16
17
#ifndef __UENUM_H
18
#define __UENUM_H
19
20
#include "
unicode/utypes.h
"
21
#include "
unicode/localpointer.h
"
22
23
#if U_SHOW_CPLUSPLUS_API
24
#include "
unicode/strenum.h
"
25
#endif
26
37
struct
UEnumeration
;
39
typedef
struct
UEnumeration
UEnumeration
;
40
48
U_STABLE
void
U_EXPORT2
49
uenum_close
(
UEnumeration
* en);
50
51
#if U_SHOW_CPLUSPLUS_API
52
53
U_NAMESPACE_BEGIN
54
64
U_DEFINE_LOCAL_OPEN_POINTER
(
LocalUEnumerationPointer
,
UEnumeration
,
uenum_close
);
65
66
U_NAMESPACE_END
67
68
#endif
69
84
U_STABLE
int32_t U_EXPORT2
85
uenum_count
(
UEnumeration
* en,
UErrorCode
* status);
86
108
U_STABLE
const
UChar
* U_EXPORT2
109
uenum_unext
(
UEnumeration
* en,
110
int32_t* resultLength,
111
UErrorCode
* status);
112
141
U_STABLE
const
char
* U_EXPORT2
142
uenum_next
(
UEnumeration
* en,
143
int32_t* resultLength,
144
UErrorCode
* status);
145
155
U_STABLE
void
U_EXPORT2
156
uenum_reset
(
UEnumeration
* en,
UErrorCode
* status);
157
158
#if U_SHOW_CPLUSPLUS_API
159
169
U_STABLE
UEnumeration
* U_EXPORT2
170
uenum_openFromStringEnumeration
(
icu::StringEnumeration
* adopted,
UErrorCode
* ec);
171
172
#endif
173
185
U_STABLE
UEnumeration
* U_EXPORT2
186
uenum_openUCharStringsEnumeration
(
const
UChar
*
const
strings[], int32_t count,
187
UErrorCode
* ec);
188
189
/* Note: next function is not hidden as draft, as it is used internally (it was formerly an internal function). */
190
202
U_STABLE
UEnumeration
* U_EXPORT2
203
uenum_openCharStringsEnumeration
(
const
char
*
const
strings[], int32_t count,
204
UErrorCode
* ec);
205
206
#endif
Generated on Wed Oct 7 2015 21:17:57 for ICU 56.1 by
1.8.1.2