Main Page | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals

MeasureFormat Class Reference

A formatter for measure objects. More...

#include <measfmt.h>

Inheritance diagram for MeasureFormat:

Inheritance graph
[legend]
Collaboration diagram for MeasureFormat:

Collaboration graph
[legend]

Static Public Member Functions

MeasureFormat *U_EXPORT2 createCurrencyFormat (const Locale &locale, UErrorCode &ec)
 Return a formatter for CurrencyAmount objects in the given locale.
MeasureFormat *U_EXPORT2 createCurrencyFormat (UErrorCode &ec)
 Return a formatter for CurrencyAmount objects in the default locale.

Protected Member Functions

 MeasureFormat ()
 Default constructor.

Detailed Description

A formatter for measure objects.

This is an abstract base class.

To format or parse a measure object, first create a formatter object using a MeasureFormat factory method. Then use that object's format and parse methods.

This is an abstract class.

See also:
Format
Author:
Alan Liu
ICU_Draft:
ICU 3.0

Definition at line 36 of file measfmt.h.


Constructor & Destructor Documentation

MeasureFormat::MeasureFormat  )  [protected]
 

Default constructor.

ICU_Draft:
ICU 3.0


Member Function Documentation

MeasureFormat* U_EXPORT2 MeasureFormat::createCurrencyFormat UErrorCode ec  )  [static]
 

Return a formatter for CurrencyAmount objects in the default locale.

Parameters:
ec input-output error code
Returns:
a formatter object, or NULL upon error
ICU_Draft:
ICU 3.0

MeasureFormat* U_EXPORT2 MeasureFormat::createCurrencyFormat const Locale locale,
UErrorCode ec
[static]
 

Return a formatter for CurrencyAmount objects in the given locale.

Parameters:
locale desired locale
ec input-output error code
Returns:
a formatter object, or NULL upon error
ICU_Draft:
ICU 3.0


The documentation for this class was generated from the following file:
Generated on Tue Jul 26 00:43:56 2005 for ICU 3.2 by  doxygen 1.3.9.1