Logo Search packages:      
Sourcecode: icu version File versions

Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes

Measure Class Reference

#include <measure.h>

Inheritance diagram for Measure:
Inheritance graph
Collaboration diagram for Measure:
Collaboration graph

List of all members.

Public Member Functions

virtual UObjectclone () const =0
virtual UClassID getDynamicClassID () const =0
const FormattablegetNumber () const
const MeasureUnitgetUnit () const
 Measure (const Formattable &number, MeasureUnit *adoptedUnit, UErrorCode &ec)
 Measure (const Measure &other)
Measureoperator= (const Measure &other)
UBool operator== (const UObject &other) const
virtual ~Measure ()

Static Public Member Functions

static void U_EXPORT2 operator delete (void *p) U_NO_THROW
static void U_EXPORT2 operator delete (void *, void *) U_NO_THROW
static void U_EXPORT2 operator delete[] (void *p) U_NO_THROW
static void *U_EXPORT2 operator new (size_t, void *ptr) U_NO_THROW
static void *U_EXPORT2 operator new (size_t size) U_NO_THROW
static void *U_EXPORT2 operator new[] (size_t size) U_NO_THROW

Protected Member Functions

 Measure ()

Private Attributes

Formattable number

Detailed Description

An amount of a specified unit, consisting of a number and a Unit. For example, a length measure consists of a number and a length unit, such as feet or meters. This is an abstract class. Subclasses specify a concrete Unit type.

Measure objects are parsed and formatted by subclasses of MeasureFormat.

Measure objects are immutable.

This is an abstract class.

Alan Liu ICU 3.0

Definition at line 45 of file measure.h.

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

Generated by  Doxygen 1.6.0   Back to index