Go to the documentation of this file.
36 #if !UCONFIG_NO_FORMATTING
48 class CurrencyPluralInfo;
49 class CompactDecimalFormat;
52 class LocalizedNumberFormatter;
53 class FormattedNumber;
55 class DecimalQuantity;
56 struct DecimalFormatFields;
62 class NumberParserImpl;
71 #if U_PF_WINDOWS <= U_PLATFORM && U_PLATFORM <= U_PF_CYGWIN && !defined(U_IN_DOXYGEN)
684 kPadBeforePrefix, kPadAfterPrefix, kPadBeforeSuffix, kPadAfterSuffix
747 #ifndef U_HIDE_INTERNAL_API
764 #if UCONFIG_HAVE_PARSEALLINPUT
769 void setParseAllInput(UNumberFormatAttributeValue value);
939 #ifndef U_HIDE_INTERNAL_API
985 #ifndef U_HIDE_INTERNAL_API
1031 #ifndef U_HIDE_INTERNAL_API
1083 #ifndef U_HIDE_INTERNAL_API
1121 #endif // U_HIDE_INTERNAL_API
1295 #ifndef U_HIDE_INTERNAL_API
1339 #ifndef U_HIDE_DRAFT_API
1657 #ifndef U_HIDE_INTERNAL_API
2042 #ifndef U_HIDE_INTERNAL_API
2063 #ifndef U_HIDE_DRAFT_API
2121 void touchNoError();
2134 void setPropertiesFromPattern(
const UnicodeString& pattern, int32_t ignoreRounding,
2137 const numparse::impl::NumberParserImpl* getParser(
UErrorCode& status)
const;
2139 const numparse::impl::NumberParserImpl* getCurrencyParser(
UErrorCode& status)
const;
2147 void setupFastFormat();
2149 bool fastFormatDouble(
double input,
UnicodeString& output)
const;
2151 bool fastFormatInt64(int64_t input,
UnicodeString& output)
const;
2153 void doFastFormatInt32(int32_t input,
bool isNegative,
UnicodeString& output)
const;
2160 number::impl::DecimalFormatFields* fields;
FieldPosition is a simple class used by Format and its subclasses to identify fields in formatted out...
C++ API: FieldPosition Iterator.
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.
@ UNUM_LIMIT_BOOLEAN_ATTRIBUTE
Limit of boolean attributes.
int8_t UBool
The ICU boolean type.
FieldPositionIterator returns the field ids and their start/limit positions generated by a call to Fo...
#define U_OVERRIDE
Defined to the C++11 "override" keyword if available.
UCurrencyUsage
Currency Usage used for Decimal Format.
A UParseError struct is used to returned detailed information about parsing errors.
UNumberFormatAttribute
The possible UNumberFormat numeric attributes.
C++ API: StringPiece: Read-only byte string wrapper class.
@ UNUM_MAX_NONBOOLEAN_ATTRIBUTE
One below the first bitfield-boolean item.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
C++: internal template EnumSet<>
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,...
C++ API: Symbols for formatting numbers.
UNumberFormatStyle
The possible number format styles.
C++ API: Currency Amount Object.
C++ API: Compatibility APIs for number formatting.
C++ API: Locale ID object.
A currency together with a numeric amount, such as 200 USD.
This class represents the information needed by DecimalFormat to format currency plural,...
#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.