ICU 56.1  56.1
 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;
51 U_DRAFT UListFormatter* U_EXPORT2
52 ulistfmt_open(const char* locale,
53  UErrorCode* status);
54 
61 U_DRAFT void U_EXPORT2
63 
64 
65 #if U_SHOW_CPLUSPLUS_API
66 
68 
79 
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