19 #if U_SHOW_CPLUSPLUS_API 26 #if !UCONFIG_NO_FORMATTING 387 #ifndef U_HIDE_DEPRECATED_API 511 static UClassID U_EXPORT2 getStaticClassID();
526 virtual ~PluralSelector();
539 class U_I18N_API PluralSelectorAdapter :
public PluralSelector {
541 PluralSelectorAdapter() : pluralRules(
nullptr) {
544 virtual ~PluralSelectorAdapter();
557 PluralSelectorAdapter pluralRulesWrapper;
583 static int32_t findSubMessage(
585 const PluralSelector& selector,
void *context,
double number,
UErrorCode& ec);
587 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...
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.
A Locale object represents a specific geographical, political, or cultural region.