ICU 4.2.1
|
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... | |
Additional Inherited Members | |
![]() | |
static void * | operator new (size_t size) |
Override for ICU4C C++ memory management. More... | |
static void * | operator new[] (size_t size) |
Override for ICU4C C++ memory management. More... | |
static void | operator delete (void *p) |
Override for ICU4C C++ memory management. More... | |
static void | operator delete[] (void *p) |
Override for ICU4C C++ memory management. More... | |
static void * | operator new (size_t, void *ptr) |
Override for ICU4C C++ memory management for STL. More... | |
static void | operator delete (void *, void *) |
Override for ICU4C C++ memory management for STL. 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 TimeUnit, and CurrencyUnit.
Equality operator.
Return true if this object is equal to the given object.
Implemented in TimeUnit, and CurrencyUnit.