Go to the documentation of this file.
13 #ifndef __CURRENCYAMOUNT_H__
14 #define __CURRENCYAMOUNT_H__
18 #if !UCONFIG_NO_FORMATTING
118 inline const char16_t* getISOCurrency()
const;
125 inline const char16_t* CurrencyAmount::getISOCurrency()
const {
126 return getCurrency().getISOCurrency();
131 #endif // !UCONFIG_NO_FORMATTING
132 #endif // __CURRENCYAMOUNT_H__
Basic definitions for ICU, for both C and C++ APIs.
static UClassID getStaticClassID(void)
Return the class ID for this class.
A unit of currency, such as USD (U.S.
Measure & operator=(const Measure &other)
Assignment operator.
UObject is the common ICU "boilerplate" class.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers,...
An amount of a specified unit, consisting of a number and a Unit.
const char16_t * wrapper with implicit conversion from distinct but bit-compatible pointer types.
virtual UObject * clone() const
Return a polymorphic clone of this object.
A currency together with a numeric amount, such as 200 USD.
#define U_NAMESPACE_BEGIN
C++ API: Currency Unit Information.
virtual UClassID getDynamicClassID(void) const
Returns a unique class ID POLYMORPHICALLY.
C++ API: MeasureUnit object.