ICU 50.1.2
50.1.2
|
A unit such as length, mass, volume, currency, etc. More...
#include <measunit.h>
Public Member Functions | |
virtual UObject * | clone () const =0 |
Return a polymorphic clone of this object. More... | |
virtual | ~MeasureUnit () |
Destructor. More... | |
virtual UBool | operator== (const UObject &other) const =0 |
Equality operator. More... | |
![]() | |
virtual | ~UObject () |
Destructor. More... | |
virtual UClassID | getDynamicClassID () const =0 |
ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class. More... | |
Protected Member Functions | |
MeasureUnit () | |
Default constructor. More... | |
A unit such as length, mass, volume, currency, etc.
A unit is coupled with a numeric amount to produce a Measure.
This is an abstract class.
Definition at line 36 of file measunit.h.
|
virtual |
Destructor.
|
protected |
Default constructor.
|
pure virtual |
Return a polymorphic clone of this object.
The result will have the same class as returned by getDynamicClassID().
Implemented in icu::TimeUnit, and icu::CurrencyUnit.
Equality operator.
Return true if this object is equal to the given object.
Implemented in icu::TimeUnit, and icu::CurrencyUnit.