ICU 50.1.2  50.1.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 
26 
42  public:
47  virtual ~MeasureFormat();
48 
57  static MeasureFormat* U_EXPORT2 createCurrencyFormat(const Locale& locale,
58  UErrorCode& ec);
59 
67  static MeasureFormat* U_EXPORT2 createCurrencyFormat(UErrorCode& ec);
68 
69  protected:
70 
75  MeasureFormat();
76 };
77 
79 
80 #endif // #if !UCONFIG_NO_FORMATTING
81 #endif // #ifndef MEASUREFORMAT_H
Base class for all formats.
Definition: format.h:94
A formatter for measure objects.
Definition: measfmt.h:41
C++ API: Base class for all formats.
#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_BEGIN
This is used to begin a declaration of a public ICU C++ API.
Definition: uversion.h:129
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
Definition: uversion.h:130
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers...
Definition: utypes.h:476
Basic definitions for ICU, for both C and C++ APIs.
A Locale object represents a specific geographical, political, or cultural region.
Definition: locid.h:182