ICU 55.1 55.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
ulistformatter.h
Go to the documentation of this file.
1 /*
2 *****************************************************************************************
3 * Copyright (C) 2015, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 *****************************************************************************************
6 */
7
8 #ifndef ULISTFORMATTER_H
9 #define ULISTFORMATTER_H
10
11 #include "unicode/utypes.h"
12
13 #if !UCONFIG_NO_FORMATTING
14 #ifndef U_HIDE_DRAFT_API
15
16 #include "unicode/localpointer.h"
17
32 struct UListFormatter;
33 typedef struct UListFormatter UListFormatter;
51 U_DRAFT UListFormatter* U_EXPORT2
52 ulistfmt_open(const char* locale,
53 UErrorCode* status);
54
61 U_DRAFT void U_EXPORT2
62 ulistfmt_close(UListFormatter *listfmt);
63
64
65 #if U_SHOW_CPLUSPLUS_API
66
67 U_NAMESPACE_BEGIN
68
78 U_DEFINE_LOCAL_OPEN_POINTER(LocalUListFormatterPointer, UListFormatter, ulistfmt_close);
79
80 U_NAMESPACE_END
81
82 #endif
83
118 U_DRAFT int32_t U_EXPORT2
119 ulistfmt_format(const UListFormatter* listfmt,
120 const UChar* const strings[],
121 const int32_t * stringLengths,
122 int32_t stringCount,
123 UChar* result,
124 int32_t resultCapacity,
125 UErrorCode* status);
126
127 #endif /* U_HIDE_DRAFT_API */
128 #endif /* #if !UCONFIG_NO_FORMATTING */
129
130 #endif