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(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.
CurrencyUnit & operator=(const CurrencyUnit &other)
Assignment operator.
"Smart pointer" base class; do not use directly: use LocalPointer etc.
A unit such as length, mass, volume, currency, etc.
UObject is the common ICU "boilerplate" class.
C++ API: A unit for measuring a quantity.
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.