Go to the documentation of this file.
15 #if U_SHOW_CPLUSPLUS_API
29 #if UCONFIG_NO_FORMATTING
47 class LocalizationInfo;
49 class RuleBasedCollator;
67 #ifndef U_HIDE_DEPRECATED_API
73 #endif // U_HIDE_DERECATED_API
81 #ifndef U_HIDE_DEPRECATED_API
87 #endif // U_HIDE_DEPRECATED_API
802 U_I18N_API virtual int32_t getNumberOfRuleSetNames()
const;
818 U_I18N_API virtual int32_t getNumberOfRuleSetDisplayNameLocales()
const;
844 const Locale& locale = Locale::getDefault());
855 const Locale& locale = Locale::getDefault());
988 #if !UCONFIG_NO_COLLATION
1125 void initCapitalizationContextInfo(
const Locale& thelocale);
1128 void initDefaultRuleSet();
1132 friend class NFSubstitution;
1133 friend class NFRule;
1134 friend class NFRuleSet;
1135 friend class FractionalPartSubstitution;
1137 inline NFRuleSet * getDefaultRuleSet()
const;
1141 NFRule * initializeDefaultInfinityRule(
UErrorCode &status);
1142 const NFRule * getDefaultInfinityRule()
const;
1143 NFRule * initializeDefaultNaNRule(
UErrorCode &status);
1144 const NFRule * getDefaultNaNRule()
const;
1151 NFRuleSet **fRuleSets;
1153 int32_t numRuleSets;
1154 NFRuleSet *defaultRuleSet;
1158 NFRule *defaultInfinityRule;
1159 NFRule *defaultNaNRule;
1160 ERoundingMode fRoundingMode;
1163 LocalizationInfo* localizations;
1165 UBool capitalizationInfoSet;
1166 UBool capitalizationForUIListMenu;
1167 UBool capitalizationForStandAlone;
1173 #if !UCONFIG_NO_COLLATION
1176 RuleBasedNumberFormat::isLenient()
const {
1183 RuleBasedNumberFormat::getDefaultRuleSet()
const {
1184 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.
@ URBNF_ORDINAL
Requests predefined ruleset for the ordinal form of a number.
Basic definitions for ICU, for both C and C++ APIs.
int8_t UBool
The ICU boolean type, a signed-byte integer.
@ URBNF_NUMBERING_SYSTEM
Requests predefined ruleset for various non-place-value numbering systems.
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.
@ URBNF_DURATION
Requests predefined ruleset for formatting a value as a duration in hours, minutes,...
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.
@ URBNF_SPELLOUT
Requests predefined ruleset for spelling out numeric values in words.
C API: Plural rules, select plural keywords for numeric values.