29#if !UCONFIG_NO_FORMATTING
41typedef struct UHashtable UHashtable;
46class AppendableWrapper;
327#ifndef U_HIDE_OBSOLETE_API
481 return msgPattern.getApostropheMode();
627 using Format::format;
738 int32_t& count)
const;
808#ifndef U_HIDE_INTERNAL_API
848#ifndef U_HIDE_INTERNAL_API
867 int32_t formatAliasesCapacity;
880 virtual ~PluralSelectorProvider();
899 int32_t argTypeCount;
900 int32_t argTypeCapacity;
907 UBool hasArgTypeConflicts;
922 UHashtable* cachedFormatters;
923 UHashtable* customFormatArgStarts;
925 PluralSelectorProvider pluralProvider;
926 PluralSelectorProvider ordinalProvider;
942 const char16_t *
const *list);
988 int32_t nextTopLevelArgStart(int32_t
partIndex)
const;
1018 int32_t findOtherSubMessage(int32_t
partIndex)
const;
1033 void formatComplexSubMessage(int32_t
msgStart,
1061 void resetPattern();
1067 class U_I18N_API DummyFormat :
public Format {
1070 virtual Format*
clone()
const;
1071 virtual UnicodeString&
format(
const Formattable& obj,
1072 UnicodeString& appendTo,
1074 virtual UnicodeString&
format(
const Formattable&,
1075 UnicodeString& appendTo,
1078 virtual UnicodeString&
format(
const Formattable& obj,
1079 UnicodeString& appendTo,
1080 FieldPositionIterator* posIter,
1084 ParsePosition&)
const;
1087 friend class MessageFormatAdapter;
FieldPosition is a simple class used by Format and its subclasses to identify fields in formatted out...
"Smart pointer" base class; do not use directly: use LocalPointer etc.
A Locale object represents a specific geographical, political, or cultural region.
Parses and represents ICU MessageFormat patterns.
ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...
Defines rules for mapping non-negative numeric values onto a small set of keywords.
Base class for 'pure' C++ implementations of uenum api.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
C++ API: Locale ID object.
C++ API: MessagePattern class: Parses and represents ICU MessageFormat patterns.
UMessagePatternApostropheMode
Mode for when an apostrophe starts quoted literal text for MessageFormat output.
C API: Parse Error Information.
C++ API: PluralFormat object.
C++ API: PluralRules object.
A UParseError struct is used to returned detailed information about parsing errors.
#define U_CDECL_END
This is used to end a declaration of a library private ICU C API.
int8_t UBool
The ICU boolean type.
#define U_CDECL_BEGIN
This is used to begin a declaration of a library private ICU C API.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
UPluralType
Type of plurals and PluralRules.
Basic definitions for ICU, for both C and C++ APIs.
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers,...
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.