Go to the documentation of this file.
15 #if !UCONFIG_NO_FORMATTING
26 #ifndef U_HIDE_DRAFT_API
100 NoUnit(
const char* subtype);
109 #endif // __NOUNIT_H__
A unit such as length, mass, volume, currency, etc.
static NoUnit base()
Returns an instance for the base unit (dimensionless and no scaling).
Basic definitions for ICU, for both C and C++ APIs.
static UClassID getStaticClassID()
Returns the class ID for this class.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside.
NoUnit(const NoUnit &other)
Copy operator.
virtual UObject * clone() const
Return a polymorphic clone of this object.
virtual ~NoUnit()
Destructor.
static NoUnit percent()
Returns an instance for percent, or 1/100 of a base unit.
UObject is the common ICU "boilerplate" class.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
Dimensionless unit for percent and permille.
static NoUnit permille()
Returns an instance for permille, or 1/1000 of a base unit.
#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 UClassID getDynamicClassID() const
Returns a unique class ID for this object POLYMORPHICALLY.