32 #if !UCONFIG_NO_FORMATTING
41 #if !UCONFIG_NO_SERVICE
184 kPluralCurrencyStyle,
206 INTEGER_FIELD = kIntegerField,
207 FRACTION_FIELD = kFractionField
454 UBool isParseIntegerOnly(
void)
const;
463 virtual void setParseIntegerOnly(
UBool value);
546 #if !UCONFIG_NO_SERVICE
585 UBool isGroupingUsed(
void)
const;
593 virtual void setGroupingUsed(
UBool newValue);
603 int32_t getMaximumIntegerDigits(
void)
const;
617 virtual void setMaximumIntegerDigits(
int32_t newValue);
627 int32_t getMinimumIntegerDigits(
void)
const;
639 virtual void setMinimumIntegerDigits(
int32_t newValue);
649 int32_t getMaximumFractionDigits(
void)
const;
661 virtual void setMaximumFractionDigits(
int32_t newValue);
671 int32_t getMinimumFractionDigits(
void)
const;
683 virtual void setMinimumFractionDigits(
int32_t newValue);
706 const UChar* getCurrency()
const;
761 virtual void getEffectiveCurrency(
UChar* result,
UErrorCode& ec)
const;
779 UBool fParseIntegerOnly;
784 friend class ICUNumberFormatFactory;
785 friend class ICUNumberFormatService;
788 #if !UCONFIG_NO_SERVICE
812 virtual UBool visible(
void)
const = 0;
877 return fParseIntegerOnly;
#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.
UNumberFormatStyle
The possible number format styles.
ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...
#define TRUE
The TRUE value of a UBool.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
const void * URegistryKey
Opaque type returned by registerInstance, registerFactory and unregister for service registration...
FieldPosition is a simple class used by Format and its subclasses to identify fields in formatted out...
uint16_t UChar
Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API If the compiler doesn't support namespaces...
UObject is the common ICU "boilerplate" class.
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...
Base class for 'pure' C++ implementations of uenum api.
C++ API: Locale ID object.
signed long long int64_t
Define 64 bit limits.
Basic definitions for ICU, for both C and C++ APIs.
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.