Dimensionless unit for percent and permille. More...
#include <nounit.h>
Public Member Functions | |
| NoUnit (const NoUnit &other) | |
| Copy operator. | |
| virtual UObject * | clone () const |
| Return a polymorphic clone of this object. | |
| virtual UClassID | getDynamicClassID () const |
| Returns a unique class ID for this object POLYMORPHICALLY. | |
| virtual | ~NoUnit () |
| Destructor. | |
Static Public Member Functions | |
| 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. | |
| static NoUnit | permille () |
| Returns an instance for permille, or 1/1000 of a base unit. | |
| static UClassID | getStaticClassID () |
| Returns the class ID for this class. | |
Dimensionless unit for percent and permille.
Definition at line 32 of file nounit.h.
| icu::NoUnit::NoUnit | ( | const NoUnit & | other | ) |
Copy operator.
| virtual icu::NoUnit::~NoUnit | ( | ) | [virtual] |
Destructor.
| static NoUnit icu::NoUnit::base | ( | ) | [static] |
| virtual UObject* icu::NoUnit::clone | ( | ) | const [virtual] |
Return a polymorphic clone of this object.
The result will have the same class as returned by getDynamicClassID().
Reimplemented from icu::MeasureUnit.
| virtual UClassID icu::NoUnit::getDynamicClassID | ( | ) | const [virtual] |
Returns a unique class ID for this object POLYMORPHICALLY.
This method implements a simple form of RTTI used by ICU.
Reimplemented from icu::MeasureUnit.
| static UClassID icu::NoUnit::getStaticClassID | ( | ) | [static] |
Returns the class ID for this class.
This is used to compare to the return value of getDynamicClassID().
Reimplemented from icu::MeasureUnit.
| static NoUnit icu::NoUnit::percent | ( | ) | [static] |
| static NoUnit icu::NoUnit::permille | ( | ) | [static] |
1.6.1