11 #ifndef __CURRENCYUNIT_H__
12 #define __CURRENCYUNIT_H__
16 #if !UCONFIG_NO_FORMATTING
95 static UClassID U_EXPORT2 getStaticClassID();
101 inline const UChar* getISOCurrency()
const;
110 inline const UChar* CurrencyUnit::getISOCurrency()
const {
116 #endif // !UCONFIG_NO_FORMATTING
117 #endif // __CURRENCYUNIT_H__
A unit such as length, mass, volume, currency, etc.
virtual UObject * clone() const =0
Return a polymorphic clone of this object.
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.
C++ API: A unit for measuring a quantity.
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.
virtual UBool operator==(const UObject &other) const =0
Equality 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.
int8_t UBool
The ICU boolean type.