24 #if !UCONFIG_NO_FORMATTING 390 #ifndef U_HIDE_DEPRECATED_API 514 static UClassID U_EXPORT2 getStaticClassID(
void);
529 virtual ~PluralSelector();
545 class U_I18N_API PluralSelectorAdapter :
public PluralSelector {
547 PluralSelectorAdapter() : pluralRules(
NULL) {
550 virtual ~PluralSelectorAdapter();
563 PluralSelectorAdapter pluralRulesWrapper;
589 static int32_t findSubMessage(
591 const PluralSelector& selector,
void *context,
double number,
UErrorCode& ec);
593 void parseType(
const UnicodeString& source,
const NFRule *rbnfLenientScanner,
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
C++ API: PluralRules object.
Defines rules for mapping non-negative numeric values onto a small set of keywords.
Parses and represents ICU MessageFormat patterns.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside...
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.
#define NULL
Define NULL if necessary, to nullptr for C++ and to ((void *)0) for C.
virtual UClassID getDynamicClassID() const
ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.
#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...
FieldPosition is a simple class used by Format and its subclasses to identify fields in formatted out...
UPluralType
Type of plurals and PluralRules.
ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...
Basic definitions for ICU, for both C and C++ APIs.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
C++ API: MessagePattern class: Parses and represents ICU MessageFormat patterns.
C++ API: Compatibility APIs for number formatting.
UMemory is the common ICU base class.
int8_t UBool
The ICU boolean type.
A Locale object represents a specific geographical, political, or cultural region.