32#if U_SHOW_CPLUSPLUS_API
39#if !UCONFIG_NO_FORMATTING
51class CurrencyPluralInfo;
52class CompactDecimalFormat;
55class LocalizedNumberFormatter;
58struct DecimalFormatFields;
59class UFormattedNumberData;
63namespace numparse::impl {
64class NumberParserImpl;
673 kPadBeforePrefix, kPadAfterPrefix, kPadBeforeSuffix, kPadAfterSuffix
736#ifndef U_HIDE_INTERNAL_API
753#if UCONFIG_HAVE_PARSEALLINPUT
913 using NumberFormat::format;
928#ifndef U_HIDE_INTERNAL_API
974#ifndef U_HIDE_INTERNAL_API
1020#ifndef U_HIDE_INTERNAL_API
1072#ifndef U_HIDE_INTERNAL_API
1112 using NumberFormat::parse;
2021#ifndef U_FORCE_HIDE_DEPRECATED_API
2046#ifndef U_HIDE_INTERNAL_API
2146 void touchNoError();
2162 const numparse::impl::NumberParserImpl* getParser(
UErrorCode&
status)
const;
2164 const numparse::impl::NumberParserImpl* getCurrencyParser(
UErrorCode&
status)
const;
2166 static void fieldPositionHelper(
2167 const number::impl::UFormattedNumberData& formatted,
2172 static void fieldPositionIteratorHelper(
2173 const number::impl::UFormattedNumberData& formatted,
2178 void setupFastFormat();
2180 bool fastFormatDouble(
double input,
UnicodeString& output)
const;
2193 number::impl::DecimalFormatFields* fields =
nullptr;
A currency together with a numeric amount, such as 200 USD.
This class represents the information needed by DecimalFormat to format currency plural,...
FieldPositionIterator returns the field ids and their start/limit positions generated by a call to Fo...
FieldPosition is a simple class used by Format and its subclasses to identify fields in formatted out...
"Smart pointer" base class; do not use directly: use LocalPointer etc.
ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...
A string-like object that points to a sized piece of memory.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
C++ API: Currency Amount Object.
C++ API: Symbols for formatting numbers.
C++: internal template EnumSet<>
C++ API: FieldPosition Iterator.
C++ API: Locale ID object.
C++ API: Compatibility APIs for number formatting.
C++ API: StringPiece: Read-only byte string wrapper class.
A UParseError struct is used to returned detailed information about parsing errors.
UCurrencyUsage
Currency Usage used for Decimal Format.
int8_t UBool
The ICU boolean type, a signed-byte integer.
UNumberFormatAttribute
The possible UNumberFormat numeric attributes.
UNumberFormatStyle
The possible number format styles.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
Basic definitions for ICU, for both C and C++ APIs.
UErrorCode
Standard ICU4C error code type, a substitute for exceptions.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside.