21 #if !UCONFIG_NO_FORMATTING
77 virtual UObject* clone()
const = 0;
136 #endif // !UCONFIG_NO_FORMATTING
137 #endif // __MEASURE_H__
An amount of a specified unit, consisting of a number and a Unit.
const MeasureUnit & getUnit() const
Return a reference to the unit of this object.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside...
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.
A unit such as length, mass, volume, currency, etc.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API If the compiler doesn't support namespaces...
UObject is the common ICU "boilerplate" class.
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers...
Basic definitions for ICU, for both C and C++ APIs.
const Formattable & getNumber() const
Return a reference to the numeric value of this object.
int8_t UBool
The ICU boolean type.
C++ API: Formattable is a thin wrapper for primitive numeric types.