15#if U_SHOW_CPLUSPLUS_API
17#if !UCONFIG_NO_FORMATTING
21#ifndef U_HIDE_DRAFT_API
103 NoUnit(
const char* subtype);
A unit such as length, mass, volume, currency, etc.
Dimensionless unit for percent and permille.
static UClassID getStaticClassID()
Returns the class ID for this class.
NoUnit(const NoUnit &other)
Copy operator.
virtual NoUnit * clone() const
Return a polymorphic clone of this object.
static NoUnit base()
Returns an instance for the base unit (dimensionless and no scaling).
static NoUnit percent()
Returns an instance for percent, or 1/100 of a base unit.
virtual UClassID getDynamicClassID() const
Returns a unique class ID for this object POLYMORPHICALLY.
static NoUnit permille()
Returns an instance for permille, or 1/1000 of a base unit.
virtual ~NoUnit()
Destructor.
C++ API: A unit for measuring a quantity.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
Basic definitions for ICU, for both C and C++ APIs.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside.