"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "classMeasureUnit.html" of archive icu4c-4_0-docs.zip:


Caution: In this restricted "SfR Fresh" environment the current HTML page may not be correctly presentated and may have some non-functional links. Alternatively you can here view or download the uninterpreted source code. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.

MeasureUnit Class Reference

A unit such as length, mass, volume, currency, etc. More...

#include <measunit.h>

Inheritance diagram for MeasureUnit:

UObject UMemory CurrencyUnit

Public Member Functions

virtual UObjectclone () const =0
 Return a polymorphic clone of this object.
virtual ~MeasureUnit ()
 Destructor.
virtual UBool operator== (const UObject &other) const =0
 Equality operator.

Protected Member Functions

 MeasureUnit ()
 Default constructor.

Detailed Description

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.

Author:
Alan Liu
Stable:
ICU 3.0

Definition at line 36 of file measunit.h.


Constructor & Destructor Documentation

virtual MeasureUnit::~MeasureUnit (  )  [virtual]

Destructor.

Stable:
ICU 3.0

MeasureUnit::MeasureUnit (  )  [protected]

Default constructor.

Stable:
ICU 3.0


Member Function Documentation

virtual UObject* MeasureUnit::clone (  )  const [pure virtual]

Return a polymorphic clone of this object.

The result will have the same class as returned by getDynamicClassID().

Stable:
ICU 3.0

Implemented in CurrencyUnit.

virtual UBool MeasureUnit::operator== ( const UObject other  )  const [pure virtual]

Equality operator.

Return true if this object is equal to the given object.

Stable:
ICU 3.0

Implemented in CurrencyUnit.


The documentation for this class was generated from the following file:

Generated on Mon Jun 30 22:44:58 2008 for ICU 4.0 by  doxygen 1.5.5