Go to the documentation of this file.
25 #if UCONFIG_NO_FORMATTING
42 class LocalizationInfo;
44 class RuleBasedCollator;
55 URBNF_NUMBERING_SYSTEM,
730 const Locale& locale = Locale::getDefault());
741 const Locale& locale = Locale::getDefault());
850 #if !UCONFIG_NO_COLLATION
973 void initCapitalizationContextInfo(
const Locale& thelocale);
976 void initDefaultRuleSet();
977 void format(
double number, NFRuleSet& ruleSet);
981 friend class NFSubstitution;
983 friend class FractionalPartSubstitution;
985 inline NFRuleSet * getDefaultRuleSet()
const;
992 NFRuleSet **ruleSets;
995 NFRuleSet *defaultRuleSet;
1001 LocalizationInfo* localizations;
1003 UBool capitalizationInfoSet;
1004 UBool capitalizationForUIListMenu;
1005 UBool capitalizationForStandAlone;
1011 #if !UCONFIG_NO_COLLATION
1014 RuleBasedNumberFormat::isLenient(
void)
const {
1021 RuleBasedNumberFormat::getDefaultRuleSet()
const {
1022 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.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside.
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
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.
UDisplayContext
Display context settings.
C++ API: String Enumeration.
C++ API: Abstract base class for all number formats.
C++ API: Locale ID object.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.
A Locale object represents a specific geographical, political, or cultural region.
C API: Plural rules, select plural keywords for numeric values.