23 #if U_SHOW_CPLUSPLUS_API
30 #if !UCONFIG_NO_FORMATTING
34 #ifndef U_HIDE_INTERNAL_API
43 #define UPLRULES_NO_UNIQUE_VALUE ((double)-0.00123456777)
51 class PluralRuleParser;
52 class PluralKeywordEnumeration;
54 class SharedPluralRules;
55 class StandardPluralRanges;
58 class FormattedNumber;
59 class FormattedNumberRange;
61 class UFormattedNumberRangeData;
62 class DecimalQuantity;
67 #ifndef U_HIDE_INTERNAL_API
68 using icu::number::impl::DecimalQuantity;
307 #ifndef U_HIDE_INTERNAL_API
329 static const SharedPluralRules* U_EXPORT2 createSharedInstance(
392 #ifndef U_HIDE_INTERNAL_API
415 #ifndef U_HIDE_DEPRECATED_API
449 double *dest, int32_t destCapacity,
472 double *dest, int32_t destCapacity,
475 #ifndef U_HIDE_INTERNAL_API
497 DecimalQuantity *dest, int32_t destCapacity,
521 #ifndef U_HIDE_INTERNAL_API
556 static UClassID U_EXPORT2 getStaticClassID(
void);
568 StandardPluralRanges *mStandardPluralRanges;
572 RuleChain *rulesForKeyword(
const UnicodeString &keyword)
const;
581 friend class PluralRuleParser;
virtual UClassID getDynamicClassID() const
ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.
U_EXPORT UBool operator==(const StringPiece &x, const StringPiece &y)
Global operator == for StringPiece.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
Base class for 'pure' C++ implementations of uenum api.
Defines rules for mapping non-negative numeric values onto a small set of keywords.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside...
C API: Plural rules, select plural keywords for numeric values.
bool operator!=(const PluralRules &other) const
Compares the inequality of two PluralRules objects.
UErrorCode
Standard ICU4C error code type, a substitute for exceptions.
UPluralType
Type of plurals and PluralRules.
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: Compatibility APIs for number formatting.
UObject is the common ICU "boilerplate" class.
int8_t UBool
The ICU boolean type, a signed-byte integer.
A Locale object represents a specific geographical, political, or cultural region.