18 #if U_SHOW_CPLUSPLUS_API 25 #if !UCONFIG_NO_FORMATTING 117 static UClassID U_EXPORT2 getStaticClassID(
void);
162 #endif // !UCONFIG_NO_FORMATTING 166 #endif // __MEASURE_H__ A unit such as length, mass, volume, currency, etc.
An amount of a specified unit, consisting of a number and a Unit.
U_EXPORT UBool operator==(const StringPiece &x, const StringPiece &y)
Global operator == for StringPiece.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
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...
const Formattable & getNumber() const
Return a reference to the numeric value of this object.
virtual UClassID getDynamicClassID() const
ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.
UErrorCode
Standard ICU4C error code type, a substitute for exceptions.
Basic definitions for ICU, for both C and C++ APIs.
UObject is the common ICU "boilerplate" class.
int8_t UBool
The ICU boolean type.
C++ API: Formattable is a thin wrapper for primitive types used for formatting and parsing...