13 #ifndef __CURRENCYAMOUNT_H__ 14 #define __CURRENCYAMOUNT_H__ 18 #if U_SHOW_CPLUSPLUS_API 20 #if !UCONFIG_NO_FORMATTING 120 inline const char16_t* getISOCurrency()
const;
128 return getCurrency().getISOCurrency();
133 #endif // !UCONFIG_NO_FORMATTING 137 #endif // __CURRENCYAMOUNT_H__ C++ API: Currency Unit Information.
An amount of a specified unit, consisting of a number and a Unit.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
const char16_t * getISOCurrency() const
Return the ISO currency code of this object.
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...
virtual Measure * clone() const
Return a polymorphic clone of this object.
C++ API: MeasureUnit object.
virtual UClassID getDynamicClassID(void) const
Returns a unique class ID POLYMORPHICALLY.
A unit of currency, such as USD (U.S.
const CurrencyUnit & getCurrency() const
Return the currency unit object of this object.
static UClassID getStaticClassID(void)
Return the class ID for this class.
Measure & operator=(const Measure &other)
Assignment operator.
UErrorCode
Standard ICU4C error code type, a substitute for exceptions.
const char16_t * wrapper with implicit conversion from distinct but bit-compatible pointer types...
Basic definitions for ICU, for both C and C++ APIs.
A currency together with a numeric amount, such as 200 USD.