25 #if UCONFIG_NO_FORMATTING
41 class LocalizationInfo;
52 URBNF_NUMBERING_SYSTEM,
56 #if UCONFIG_NO_COLLATION
669 virtual int32_t getNumberOfRuleSetNames()
const;
685 virtual int32_t getNumberOfRuleSetDisplayNameLocales(
void)
const;
695 virtual Locale getRuleSetDisplayNameLocale(int32_t index,
UErrorCode& status)
const;
886 #if !UCONFIG_NO_COLLATION
978 void initDefaultRuleSet();
979 void format(
double number, NFRuleSet& ruleSet);
983 friend class NFSubstitution;
985 friend class FractionalPartSubstitution;
987 inline NFRuleSet * getDefaultRuleSet()
const;
992 NFRuleSet **ruleSets;
993 NFRuleSet *defaultRuleSet;
999 LocalizationInfo* localizations;
1024 return format(number, output, pos);
1030 return format(number, output, pos);
1039 #if !UCONFIG_NO_COLLATION
1049 RuleBasedNumberFormat::getDefaultRuleSet()
const {
1050 return defaultRuleSet;
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside...
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.
C++ API: Collation Service.
ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...
URBNFRuleSetTag
Tags for the predefined rulesets.
The Collator class performs locale-sensitive string comparison.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
FieldPosition is a simple class used by Format and its subclasses to identify fields in formatted out...
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
static const Locale & getDefault(void)
Common methods of getting the current default Locale.
void * UClassID
UClassID is used to identify classes without using RTTI, since RTTI is not yet supported by all C++ c...
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers...
C++ API: Symbols for formatting numbers.
C++ API: String Enumeration.
C++ API: Locale ID object.
A UParseError struct is used to returned detailed information about parsing errors.
Basic definitions for ICU, for both C and C++ APIs.
C++ API: Abstract base class for all number formats.
A Locale object represents a specific geographical, political, or cultural region.
int8_t UBool
The ICU boolean type.
C++ API: Formattable is a thin wrapper for primitive numeric types.