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;
883 #if !UCONFIG_NO_COLLATION
918 virtual void setLenient(
UBool enabled);
927 virtual inline UBool isLenient(
void)
const;
975 void initDefaultRuleSet();
976 void format(
double number, NFRuleSet& ruleSet);
980 friend class NFSubstitution;
982 friend class FractionalPartSubstitution;
984 inline NFRuleSet * getDefaultRuleSet()
const;
989 NFRuleSet **ruleSets;
990 NFRuleSet *defaultRuleSet;
996 LocalizationInfo* localizations;
1021 return format(number, output, pos);
1027 return format(number, output, pos);
1036 #if !UCONFIG_NO_COLLATION
1046 RuleBasedNumberFormat::getDefaultRuleSet()
const {
1047 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 If the compiler doesn't support namespaces...
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.
signed long long int64_t
Define 64 bit limits.
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.
signed int int32_t
Define 64 bit limits.
int8_t UBool
The ICU boolean type.
C++ API: Formattable is a thin wrapper for primitive numeric types.