Go to the documentation of this file.
32 #if !UCONFIG_NO_FORMATTING
42 class NumberFormatTest;
46 class SharedNumberFormat;
48 #if !UCONFIG_NO_SERVICE
49 class NumberFormatFactory;
50 class StringEnumeration;
648 UBool isParseIntegerOnly(
void)
const;
676 virtual UBool isLenient(
void)
const;
711 #ifndef U_HIDE_INTERNAL_API
719 const Locale& desiredLocale,
784 #if !UCONFIG_NO_SERVICE
1030 #ifndef U_HIDE_INTERNAL_API
1039 UBool mustBeDecimalFormat,
1058 UBool fGroupingUsed;
1059 int32_t fMaxIntegerDigits;
1060 int32_t fMinIntegerDigits;
1061 int32_t fMaxFractionDigits;
1062 int32_t fMinFractionDigits;
1065 static const int32_t gDefaultMaxIntegerDigits;
1066 static const int32_t gDefaultMinIntegerDigits;
1069 UBool fParseIntegerOnly;
1077 friend class ICUNumberFormatFactory;
1078 friend class ICUNumberFormatService;
1079 friend class ::NumberFormatTest;
1082 #if !UCONFIG_NO_SERVICE
1169 NumberFormat::isParseIntegerOnly()
const
1171 return fParseIntegerOnly;
1175 NumberFormat::isLenient()
const
FieldPosition is a simple class used by Format and its subclasses to identify fields in formatted out...
Basic definitions for ICU, for both C and C++ APIs.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside.
int8_t UBool
The ICU boolean type.
@ UNUM_EXPONENT_SIGN_FIELD
FieldPositionIterator returns the field ids and their start/limit positions generated by a call to Fo...
@ UNUM_DECIMAL_SEPARATOR_FIELD
UDisplayContextType
Display context types, for getting values of a particular setting.
C++ API: StringPiece: Read-only byte string wrapper class.
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.
UObject is the common ICU "boilerplate" class.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
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.
#define TRUE
The TRUE value of a UBool.
UNumberFormatStyle
The possible number format styles.
@ UNUM_GROUPING_SEPARATOR_FIELD
C++ API: Currency Amount Object.
UDisplayContext
Display context settings.
uint16_t UChar
Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...
C API: Display context types (enum values)
C++ API: Locale ID object.
A currency together with a numeric amount, such as 200 USD.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.
A string-like object that points to a sized piece of memory.
A Locale object represents a specific geographical, political, or cultural region.
@ UNUM_EXPONENT_SYMBOL_FIELD