"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "classMeasureFormat.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.

MeasureFormat Class Reference

A formatter for measure objects. More...

#include <measfmt.h>

Inheritance diagram for MeasureFormat:

Format UObject UMemory

Static Public Member Functions

static MeasureFormatcreateCurrencyFormat (const Locale &locale, UErrorCode &ec)
 Return a formatter for CurrencyAmount objects in the given locale.
static MeasureFormatcreateCurrencyFormat (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
Stable:
ICU 3.0

Definition at line 41 of file measfmt.h.


Constructor & Destructor Documentation

MeasureFormat::MeasureFormat (  )  [protected]

Default constructor.

Stable:
ICU 3.0


Member Function Documentation

static MeasureFormat* 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
Stable:
ICU 3.0

static MeasureFormat* 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
Stable:
ICU 3.0


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