4#ifndef __FORMATTEDNUMBER_H__
5#define __FORMATTEDNUMBER_H__
9#if U_SHOW_CPLUSPLUS_API
11#if !UCONFIG_NO_FORMATTING
27class FieldPositionIteratorHandler;
28class SimpleDateFormat;
34class UFormattedNumberData;
35struct UFormattedNumberImpl;
128 template<
typename StringClass>
153#ifndef U_HIDE_INTERNAL_API
171 impl::UFormattedNumberData *fData;
184 : fData(
nullptr), fErrorCode(errorCode) {}
189 friend class LocalizedNumberFormatter;
190 friend class SimpleNumberFormatter;
193 friend struct impl::UFormattedNumberImpl;
199template<
typename StringClass>
Base class for objects to which Unicode characters and strings can be appended.
A ByteSink can be filled with bytes.
Represents a span of a string containing a given field.
"Smart pointer" base class; do not use directly: use LocalPointer etc.
A unit such as length, mass, volume, currency, etc.
UMemory is the common ICU base class.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
C++ API: A unit for measuring a quantity.
C API: Display options (enum types, values, helper functions)
UDisplayOptionsNounClass
Represents all the grammatical noun classes that are supported by CLDR.
int8_t UBool
The ICU boolean type, a signed-byte integer.
C++ API: Common ICU base class UObject.
Basic definitions for ICU, for both C and C++ APIs.
UErrorCode
Standard ICU4C error code type, a substitute for exceptions.
@ U_INVALID_STATE_ERROR
Requested operation can not be completed with ICU in its current state.
@ U_ZERO_ERROR
No error, no warning.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside.