11 #ifndef __CURRENCYAMOUNT_H__
12 #define __CURRENCYAMOUNT_H__
16 #if !UCONFIG_NO_FORMATTING
116 inline const UChar* getISOCurrency()
const;
129 #endif // !UCONFIG_NO_FORMATTING
130 #endif // __CURRENCYAMOUNT_H__
An amount of a specified unit, consisting of a number and a Unit.
C++ API: Currency Unit Information.
const UChar * getISOCurrency() const
Return the ISO currency code of this object.
const CurrencyUnit & getCurrency() const
Return the currency unit object of this object.
const MeasureUnit & getUnit() const
Return a reference to the unit of this object.
A currency together with a numeric amount, such as 200 USD.
#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.
Measure & operator=(const Measure &other)
Assignment operator.
C++ API: MeasureUnit object.
A unit of currency, such as USD (U.S.
uint16_t UChar
Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
UObject is the common ICU "boilerplate" class.
const UChar * getISOCurrency() const
Return the ISO currency code of this object.
void * UClassID
UClassID is used to identify classes without using RTTI, since RTTI is not yet supported by all C++ c...
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.
virtual UObject * clone() const =0
Return a polymorphic clone of this object.
virtual UClassID getDynamicClassID() const =0
ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.