11 #ifndef __CURRENCYAMOUNT_H__
12 #define __CURRENCYAMOUNT_H__
16 #if !UCONFIG_NO_FORMATTING
104 static UClassID U_EXPORT2 getStaticClassID();
116 inline const UChar* getISOCurrency()
const;
123 inline const UChar* CurrencyAmount::getISOCurrency()
const {
124 return getCurrency().getISOCurrency();
129 #endif // !UCONFIG_NO_FORMATTING
130 #endif // __CURRENCYAMOUNT_H__
C++ API: Currency Unit Information.
An amount of a specified unit, consisting of a number and a Unit.
virtual UClassID getDynamicClassID() const =0
ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.
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...
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.
virtual UObject * clone() const =0
Return a polymorphic clone of this object.
C++ API: MeasureUnit object.
A unit of currency, such as USD (U.S.
uint16_t UChar
Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...
#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...
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.