Go to the documentation of this file.
15 #if U_SHOW_CPLUSPLUS_API
29 #if UCONFIG_NO_FORMATTING
47 class LocalizationInfo;
49 class RuleBasedCollator;
60 URBNF_NUMBERING_SYSTEM,
61 #ifndef U_HIDE_DEPRECATED_API
67 #endif // U_HIDE_DEPRECATED_API
770 const Locale& locale = Locale::getDefault());
781 const Locale& locale = Locale::getDefault());
914 #if !UCONFIG_NO_COLLATION
1051 void initCapitalizationContextInfo(
const Locale& thelocale);
1054 void initDefaultRuleSet();
1058 friend class NFSubstitution;
1059 friend class NFRule;
1060 friend class NFRuleSet;
1061 friend class FractionalPartSubstitution;
1063 inline NFRuleSet * getDefaultRuleSet()
const;
1067 NFRule * initializeDefaultInfinityRule(
UErrorCode &status);
1068 const NFRule * getDefaultInfinityRule()
const;
1069 NFRule * initializeDefaultNaNRule(
UErrorCode &status);
1070 const NFRule * getDefaultNaNRule()
const;
1077 NFRuleSet **fRuleSets;
1079 int32_t numRuleSets;
1080 NFRuleSet *defaultRuleSet;
1084 NFRule *defaultInfinityRule;
1085 NFRule *defaultNaNRule;
1086 ERoundingMode fRoundingMode;
1089 LocalizationInfo* localizations;
1091 UBool capitalizationInfoSet;
1092 UBool capitalizationForUIListMenu;
1093 UBool capitalizationForStandAlone;
1099 #if !UCONFIG_NO_COLLATION
1102 RuleBasedNumberFormat::isLenient(
void)
const {
1109 RuleBasedNumberFormat::getDefaultRuleSet()
const {
1110 return defaultRuleSet;
UPluralType
Type of plurals and PluralRules.
FieldPosition is a simple class used by Format and its subclasses to identify fields in formatted out...
The BreakIterator class implements methods for finding the location of boundaries in text.
URBNFRuleSetTag
Tags for the predefined rulesets.
Basic definitions for ICU, for both C and C++ APIs.
int8_t UBool
The ICU boolean type.
A UParseError struct is used to returned detailed information about parsing errors.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
UErrorCode
Standard ICU4C error code type, a substitute for exceptions.
C++ API: Formattable is a thin wrapper for primitive types used for formatting and parsing.
The RuleBasedCollator class provides the implementation of Collator, using data-driven tables.
C++ API: Symbols for formatting numbers.
@ URBNF_COUNT
One more than the highest normal URBNFRuleSetTag value.
UDisplayContext
Display context settings.
C++ API: String Enumeration.
C++ API: Compatibility APIs for number formatting.
C++ API: Locale ID object.
ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...
A Locale object represents a specific geographical, political, or cultural region.
C API: Plural rules, select plural keywords for numeric values.