Go to the documentation of this file.
13 #ifndef __CURRENCYUNIT_H__
14 #define __CURRENCYUNIT_H__
18 #if !UCONFIG_NO_FORMATTING
113 inline const char16_t* getISOCurrency()
const;
122 inline const char16_t* CurrencyUnit::getISOCurrency()
const {
128 #endif // !UCONFIG_NO_FORMATTING
129 #endif // __CURRENCYUNIT_H__
A unit such as length, mass, volume, currency, etc.
static UClassID getStaticClassID()
Returns the class ID for this class.
Basic definitions for ICU, for both C and C++ APIs.
A unit of currency, such as USD (U.S.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside.
CurrencyUnit & operator=(const CurrencyUnit &other)
Assignment operator.
virtual UObject * clone() const
Return a polymorphic clone of this object.
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,...
CurrencyUnit(const MeasureUnit &measureUnit, UErrorCode &ec)
Copy constructor from MeasureUnit.
CurrencyUnit(const CurrencyUnit &other)
Copy constructor.
virtual UClassID getDynamicClassID() const
Returns a unique class ID for this object POLYMORPHICALLY.
CurrencyUnit(ConstChar16Ptr isoCode, UErrorCode &ec)
Construct an object with the given ISO currency code.
CurrencyUnit()
Default constructor.
const char16_t * wrapper with implicit conversion from distinct but bit-compatible pointer types.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
C++ API: A unit for measuring a quantity.
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.
virtual ~CurrencyUnit()
Destructor.