ICU 50.2 50.2
measfmt.h
Go to the documentation of this file.
1/*
2**********************************************************************
3* Copyright (c) 2004-2011, International Business Machines
4* Corporation and others. All Rights Reserved.
5**********************************************************************
6* Author: Alan Liu
7* Created: April 20, 2004
8* Since: ICU 3.0
9**********************************************************************
10*/
11#ifndef MEASUREFORMAT_H
12#define MEASUREFORMAT_H
13
14#include "unicode/utypes.h"
15
16#if !UCONFIG_NO_FORMATTING
17
18#include "unicode/format.h"
19
24
26
42 public:
47 virtual ~MeasureFormat();
48
57 static MeasureFormat* U_EXPORT2 createCurrencyFormat(const Locale& locale,
58 UErrorCode& ec);
59
68
69 protected:
70
76};
77
79
80#endif // #if !UCONFIG_NO_FORMATTING
81#endif // #ifndef MEASUREFORMAT_H
Format()
Default constructor for subclass use only.
A Locale object represents a specific geographical, political, or cultural region.
Definition locid.h:182
virtual ~MeasureFormat()
Destructor.
MeasureFormat()
Default constructor.
static MeasureFormat * createCurrencyFormat(UErrorCode &ec)
Return a formatter for CurrencyAmount objects in the default locale.
static MeasureFormat * createCurrencyFormat(const Locale &locale, UErrorCode &ec)
Return a formatter for CurrencyAmount objects in the given locale.
C++ API: Base class for all formats.
Basic definitions for ICU, for both C and C++ APIs.
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers,...
Definition utypes.h:476
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside.
Definition utypes.h:358
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
Definition uversion.h:130
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.
Definition uversion.h:129