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;
127 inline const char16_t* CurrencyAmount::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.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside...
C++ API: MeasureUnit object.
A unit of currency, such as USD (U.S.
virtual Measure * clone() const
Return a polymorphic clone 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.
virtual UClassID getDynamicClassID(void) const
Returns a unique class ID POLYMORPHICALLY.
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.