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;
301 #ifndef U_HIDE_INTERNAL_API
331 static const SharedPluralRules* U_EXPORT2 createSharedInstance(
376 #ifndef U_HIDE_DRAFT_API
394 #endif // U_HIDE_DRAFT_API
396 #ifndef U_HIDE_INTERNAL_API
419 #ifndef U_HIDE_DEPRECATED_API
453 double *dest, int32_t destCapacity,
476 double *dest, int32_t destCapacity,
479 #ifndef U_HIDE_INTERNAL_API
501 FixedDecimal *dest, int32_t destCapacity,
525 #ifndef U_HIDE_INTERNAL_API
560 static UClassID U_EXPORT2 getStaticClassID(
void);
572 StandardPluralRanges *mStandardPluralRanges;
578 RuleChain *rulesForKeyword(
const UnicodeString &keyword)
const;
587 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.
UBool 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.