Go to the documentation of this file.
27 #if UCONFIG_NO_FORMATTING
45 class LocalizationInfo;
47 class RuleBasedCollator;
58 URBNF_NUMBERING_SYSTEM,
59 #ifndef U_HIDE_DEPRECATED_API
65 #endif // U_HIDE_DEPRECATED_API
726 virtual int32_t getNumberOfRuleSetNames()
const;
742 virtual int32_t getNumberOfRuleSetDisplayNameLocales(
void)
const;
752 virtual Locale getRuleSetDisplayNameLocale(int32_t index,
UErrorCode& status)
const;
768 const Locale& locale = Locale::getDefault());
779 const Locale& locale = Locale::getDefault());
934 #if !UCONFIG_NO_COLLATION
1071 void initCapitalizationContextInfo(
const Locale& thelocale);
1074 void initDefaultRuleSet();
1078 friend class NFSubstitution;
1079 friend class NFRule;
1080 friend class NFRuleSet;
1081 friend class FractionalPartSubstitution;
1083 inline NFRuleSet * getDefaultRuleSet()
const;
1087 NFRule * initializeDefaultInfinityRule(
UErrorCode &status);
1088 const NFRule * getDefaultInfinityRule()
const;
1089 NFRule * initializeDefaultNaNRule(
UErrorCode &status);
1090 const NFRule * getDefaultNaNRule()
const;
1097 NFRuleSet **fRuleSets;
1099 int32_t numRuleSets;
1100 NFRuleSet *defaultRuleSet;
1104 NFRule *defaultInfinityRule;
1105 NFRule *defaultNaNRule;
1106 ERoundingMode fRoundingMode;
1109 LocalizationInfo* localizations;
1111 UBool capitalizationInfoSet;
1112 UBool capitalizationForUIListMenu;
1113 UBool capitalizationForStandAlone;
1119 #if !UCONFIG_NO_COLLATION
1122 RuleBasedNumberFormat::isLenient(
void)
const {
1129 RuleBasedNumberFormat::getDefaultRuleSet()
const {
1130 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.
FieldPositionIterator returns the field ids and their start/limit positions generated by a call to Fo...
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
Error code to replace exception handling, so that the code is compatible with all C++ compilers,...
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.
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...
#define U_NAMESPACE_BEGIN
A Locale object represents a specific geographical, political, or cultural region.
C API: Plural rules, select plural keywords for numeric values.