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 760 virtual int32_t getNumberOfRuleSetNames()
const;
776 virtual int32_t getNumberOfRuleSetDisplayNameLocales()
const;
786 virtual Locale getRuleSetDisplayNameLocale(int32_t index,
UErrorCode& status)
const;
802 const Locale& locale = Locale::getDefault());
813 const Locale& locale = Locale::getDefault());
946 #if !UCONFIG_NO_COLLATION 1083 void initCapitalizationContextInfo(
const Locale& thelocale);
1086 void initDefaultRuleSet();
1090 friend class NFSubstitution;
1091 friend class NFRule;
1092 friend class NFRuleSet;
1093 friend class FractionalPartSubstitution;
1095 inline NFRuleSet * getDefaultRuleSet()
const;
1099 NFRule * initializeDefaultInfinityRule(
UErrorCode &status);
1100 const NFRule * getDefaultInfinityRule()
const;
1101 NFRule * initializeDefaultNaNRule(
UErrorCode &status);
1102 const NFRule * getDefaultNaNRule()
const;
1109 NFRuleSet **fRuleSets;
1111 int32_t numRuleSets;
1112 NFRuleSet *defaultRuleSet;
1116 NFRule *defaultInfinityRule;
1117 NFRule *defaultNaNRule;
1118 ERoundingMode fRoundingMode;
1121 LocalizationInfo* localizations;
1123 UBool capitalizationInfoSet;
1124 UBool capitalizationForUIListMenu;
1125 UBool capitalizationForStandAlone;
1131 #if !UCONFIG_NO_COLLATION 1134 RuleBasedNumberFormat::isLenient()
const {
1141 RuleBasedNumberFormat::getDefaultRuleSet()
const {
1142 return defaultRuleSet;
UDisplayContext
Display context settings.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
Requests predefined ruleset for various non-place-value numbering systems.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside...
URBNFRuleSetTag
Tags for the predefined rulesets.
One more than the highest normal URBNFRuleSetTag value.
The RuleBasedCollator class provides the implementation of Collator, using data-driven tables...
The BreakIterator class implements methods for finding the location of boundaries in text...
C API: Plural rules, select plural keywords for numeric values.
UErrorCode
Standard ICU4C error code type, a substitute for exceptions.
FieldPosition is a simple class used by Format and its subclasses to identify fields in formatted out...
UPluralType
Type of plurals and PluralRules.
C++ API: Symbols for formatting numbers.
C++ API: String Enumeration.
ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...
C++ API: Locale ID object.
Requests predefined ruleset for spelling out numeric values in words.
Requests predefined ruleset for formatting a value as a duration in hours, minutes, and seconds.
A UParseError struct is used to returned detailed information about parsing errors.
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.
Requests predefined ruleset for the ordinal form of a number.
int8_t UBool
The ICU boolean type, a signed-byte integer.
C++ API: Formattable is a thin wrapper for primitive types used for formatting and parsing...
A Locale object represents a specific geographical, political, or cultural region.