25#if UCONFIG_NO_FORMATTING
41class LocalizationInfo;
52 URBNF_NUMBERING_SYSTEM,
56#if UCONFIG_NO_COLLATION
886#if !UCONFIG_NO_COLLATION
999 void initDefaultRuleSet();
1000 void format(
double number, NFRuleSet& ruleSet);
1004 friend class NFSubstitution;
1005 friend class NFRule;
1006 friend class FractionalPartSubstitution;
1008 inline NFRuleSet * getDefaultRuleSet()
const;
1013 NFRuleSet **ruleSets;
1015 int32_t numRuleSets;
1016 NFRuleSet *defaultRuleSet;
1022 LocalizationInfo* localizations;
1043 return format(number, output, pos);
1049 return format(number, output, pos);
1058#if !UCONFIG_NO_COLLATION
1068RuleBasedNumberFormat::getDefaultRuleSet()
const {
1069 return defaultRuleSet;
The Collator class performs locale-sensitive string comparison.
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...
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
C++ API: Collation Service.
C++ API: Symbols for formatting numbers.
C++ API: Formattable is a thin wrapper for primitive numeric types.
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.
int8_t UBool
The ICU boolean type.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
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.