25 #if UCONFIG_NO_FORMATTING
43 class LocalizationInfo;
56 URBNF_NUMBERING_SYSTEM,
881 #if !UCONFIG_NO_COLLATION
1004 void initCapitalizationContextInfo(
const Locale& thelocale);
1007 void initDefaultRuleSet();
1008 void format(
double number, NFRuleSet& ruleSet);
1012 friend class NFSubstitution;
1013 friend class NFRule;
1014 friend class NFRuleSet;
1015 friend class FractionalPartSubstitution;
1017 inline NFRuleSet * getDefaultRuleSet()
const;
1021 NFRule * initializeDefaultInfinityRule(
UErrorCode &status);
1022 const NFRule * getDefaultInfinityRule()
const;
1023 NFRule * initializeDefaultNaNRule(
UErrorCode &status);
1024 const NFRule * getDefaultNaNRule()
const;
1029 NFRuleSet **ruleSets;
1031 int32_t numRuleSets;
1032 NFRuleSet *defaultRuleSet;
1036 NFRule *defaultInfinityRule;
1037 NFRule *defaultNaNRule;
1040 LocalizationInfo* localizations;
1042 UBool capitalizationInfoSet;
1043 UBool capitalizationForUIListMenu;
1044 UBool capitalizationForStandAlone;
1050 #if !UCONFIG_NO_COLLATION
1060 RuleBasedNumberFormat::getDefaultRuleSet()
const {
1061 return defaultRuleSet;
The BreakIterator class implements methods for finding the location of boundaries in text.
FieldPosition is a simple class used by Format and its subclasses to identify fields in formatted out...
A Locale object represents a specific geographical, political, or cultural region.
static const Locale & getDefault(void)
Common methods of getting the current default Locale.
ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...
The RuleBasedCollator class provides the implementation of Collator, using data-driven tables.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
C++ API: Symbols for formatting numbers.
C++ API: Formattable is a thin wrapper for primitive types used for formatting and parsing.
C++ API: Locale ID object.
C++ API: Abstract base class for all number formats.
URBNFRuleSetTag
Tags for the predefined rulesets.
C++ API: String Enumeration.
A UParseError struct is used to returned detailed information about parsing errors.
UDisplayContext
Display context settings.
int8_t UBool
The ICU boolean type.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
C API: Plural rules, select plural keywords for numeric values.
UPluralType
Type of plurals and PluralRules.
Basic definitions for ICU, for both C and C++ APIs.
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers,...
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.