19 #if U_SHOW_CPLUSPLUS_API 26 #if !UCONFIG_NO_FORMATTING 392 #ifndef U_HIDE_DEPRECATED_API 516 static UClassID U_EXPORT2 getStaticClassID(
void);
531 virtual ~PluralSelector();
544 class U_I18N_API PluralSelectorAdapter :
public PluralSelector {
546 PluralSelectorAdapter() : pluralRules(
NULL) {
549 virtual ~PluralSelectorAdapter();
562 PluralSelectorAdapter pluralRulesWrapper;
588 static int32_t findSubMessage(
590 const PluralSelector& selector,
void *context,
double number,
UErrorCode& ec);
592 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 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.
UErrorCode
Standard ICU4C error code type, a substitute for exceptions.
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.