ICU 57.1  57.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-2016, 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 
15 #include "unicode/localpointer.h"
16 
31 struct UListFormatter;
50 U_STABLE UListFormatter* U_EXPORT2
51 ulistfmt_open(const char* locale,
52  UErrorCode* status);
53 
60 U_STABLE void U_EXPORT2
62 
63 
64 #if U_SHOW_CPLUSPLUS_API
65 
67 
78 
80 
81 #endif
82 
117 U_DRAFT int32_t U_EXPORT2
118 ulistfmt_format(const UListFormatter* listfmt,
119  const UChar* const strings[],
120  const int32_t * stringLengths,
121  int32_t stringCount,
122  UChar* result,
123  int32_t resultCapacity,
124  UErrorCode* status);
125 
126 #endif /* #if !UCONFIG_NO_FORMATTING */
127 
128 #endif