13 #ifndef __CURRENCYAMOUNT_H__ 14 #define __CURRENCYAMOUNT_H__ 18 #if !UCONFIG_NO_FORMATTING 118 inline const char16_t* getISOCurrency()
const;
126 return getCurrency().getISOCurrency();
131 #endif // !UCONFIG_NO_FORMATTING 132 #endif // __CURRENCYAMOUNT_H__ virtual UObject * clone() const
Return a polymorphic clone of this object.
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...
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.
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.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
Measure & operator=(const Measure &other)
Assignment operator.
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers...
const char16_t * wrapper with implicit conversion from distinct but bit-compatible pointer types...
Basic definitions for ICU, for both C and C++ APIs.
UObject is the common ICU "boilerplate" class.
A currency together with a numeric amount, such as 200 USD.