19 #ifndef __LISTFORMATTER_H__ 20 #define __LISTFORMATTER_H__ 33 struct ListFormatInternal;
44 twoPattern(two), startPattern(start), middlePattern(middle), endPattern(end) {}
101 #ifndef U_HIDE_INTERNAL_API 136 #ifndef U_HIDE_INTERNAL_API 154 ListFormatter(
const ListFormatInternal* listFormatterInternal);
158 static void initializeHash(
UErrorCode& errorCode);
159 static const ListFormatInternal* getListFormatInternal(
const Locale& locale,
const char *style,
UErrorCode& errorCode);
160 struct ListPatternsSink;
161 static ListFormatInternal* loadListFormatInternal(
const Locale& locale,
const char* style,
UErrorCode& errorCode);
165 ListFormatInternal* owned;
166 const ListFormatInternal* data;
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers...
C++ API: Locale ID object.
Basic definitions for ICU, for both C and C++ APIs.
#define U_COMMON_API
Set to export library symbols from inside the common library, and to import them from outside...
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
UObject is the common ICU "boilerplate" class.
UMemory is the common ICU base class.
A Locale object represents a specific geographical, political, or cultural region.