Logo Search packages:      
Sourcecode: icu version File versions  Download package

CurrencyUnit Class Reference

#include <currunit.h>

Inheritance diagram for CurrencyUnit:

MeasureUnit UObject UMemory

List of all members.


Detailed Description

A unit of currency, such as USD (U.S. dollars) or JPY (Japanese yen). This class is a thin wrapper over a UChar string that subclasses MeasureUnit, for use with Measure and MeasureFormat.

Author:
Alan Liu ICU 3.0

Definition at line 35 of file currunit.h.


Public Member Functions

virtual UObjectclone () const
 CurrencyUnit (const CurrencyUnit &other)
 CurrencyUnit (const UChar *isoCode, UErrorCode &ec)
virtual UClassID getDynamicClassID () const
const UChar * getISOCurrency () const
CurrencyUnitoperator= (const CurrencyUnit &other)
UBool operator== (const UObject &other) const
virtual ~CurrencyUnit ()

Static Public Member Functions

static UClassID U_EXPORT2 getStaticClassID ()
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 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

Private Attributes

UChar isoCode [4]

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

Generated by  Doxygen 1.6.0   Back to index