32#if U_SHOW_CPLUSPLUS_API
39#if !UCONFIG_NO_FORMATTING
51class CurrencyPluralInfo;
52class CompactDecimalFormat;
55class LocalizedNumberFormatter;
58struct DecimalFormatFields;
59class UFormattedNumberData;
65class NumberParserImpl;
675 kPadBeforePrefix, kPadAfterPrefix, kPadBeforeSuffix, kPadAfterSuffix
738#ifndef U_HIDE_INTERNAL_API
755#if UCONFIG_HAVE_PARSEALLINPUT
760 void setParseAllInput(UNumberFormatAttributeValue value);
930#ifndef U_HIDE_INTERNAL_API
976#ifndef U_HIDE_INTERNAL_API
1022#ifndef U_HIDE_INTERNAL_API
1074#ifndef U_HIDE_INTERNAL_API
1114 using NumberFormat::parse;
2023#ifndef U_FORCE_HIDE_DEPRECATED_API
2048#ifndef U_HIDE_INTERNAL_API
2148 void touchNoError();
2161 void setPropertiesFromPattern(
const UnicodeString& pattern, int32_t ignoreRounding,
2164 const numparse::impl::NumberParserImpl* getParser(
UErrorCode& status)
const;
2166 const numparse::impl::NumberParserImpl* getCurrencyParser(
UErrorCode& status)
const;
2168 static void fieldPositionHelper(
2169 const number::impl::UFormattedNumberData& formatted,
2174 static void fieldPositionIteratorHelper(
2175 const number::impl::UFormattedNumberData& formatted,
2180 void setupFastFormat();
2182 bool fastFormatDouble(
double input,
UnicodeString& output)
const;
2184 bool fastFormatInt64(int64_t input,
UnicodeString& output)
const;
2186 void doFastFormatInt32(int32_t input,
bool isNegative,
UnicodeString& output)
const;
2195 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...
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.
#define U_OVERRIDE
Defined to the C++11 "override" keyword if available.
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.