11 #ifndef __CURRENCYUNIT_H__
12 #define __CURRENCYUNIT_H__
16 #if !UCONFIG_NO_FORMATTING
94 inline const UChar* getISOCurrency()
const;
A unit of currency, such as USD (U.S.
CurrencyUnit(const CurrencyUnit &other)
Copy constructor.
const UChar * getISOCurrency() const
Return the ISO currency code of this object.
static UClassID getStaticClassID()
Returns the class ID for this class.
virtual UClassID getDynamicClassID() const
Returns a unique class ID for this object POLYMORPHICALLY.
CurrencyUnit & operator=(const CurrencyUnit &other)
Assignment operator.
CurrencyUnit(const UChar *isoCode, UErrorCode &ec)
Construct an object with the given ISO currency code.
virtual UObject * clone() const
Return a polymorphic clone of this object.
virtual ~CurrencyUnit()
Destructor.
A unit such as length, mass, volume, currency, etc.
UObject is the common ICU "boilerplate" class.
C++ API: A unit for measuring a quantity.
uint16_t UChar
Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
Basic definitions for ICU, for both C and C++ APIs.
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers,...
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.