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;
711 const Locale& locale = Locale::getDefault());
722 const Locale& locale = Locale::getDefault());
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;
1037 return NumberFormat::format(obj, result, status);
1043 return format(number, output, pos);
1049 return format(number, output, pos);
1055 NumberFormat::parse(text, result, status);
1058 #if !UCONFIG_NO_COLLATION
1061 RuleBasedNumberFormat::isLenient(
void)
const {
1068 RuleBasedNumberFormat::getDefaultRuleSet()
const {
1069 return defaultRuleSet;
The Collator class performs locale-sensitive string comparison.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
#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.
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.
C++ API: Collation Service.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers...
FieldPosition is a simple class used by Format and its subclasses to identify fields in formatted out...
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.
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: Abstract base class for all number formats.
int8_t UBool
The ICU boolean type.
C++ API: Formattable is a thin wrapper for primitive numeric types.
A Locale object represents a specific geographical, political, or cultural region.