ICU 4.2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
measfmt.h
Go to the documentation of this file.
1 /*
2 **********************************************************************
3 * Copyright (c) 2004-2006, 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 
43  public:
44 
53  static MeasureFormat* U_EXPORT2 createCurrencyFormat(const Locale& locale,
54  UErrorCode& ec);
55 
63  static MeasureFormat* U_EXPORT2 createCurrencyFormat(UErrorCode& ec);
64 
65  protected:
66 
71  MeasureFormat();
72 };
73 
75 
76 #endif // #if !UCONFIG_NO_FORMATTING
77 #endif // #ifndef MEASUREFORMAT_H
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:475
A formatter for measure objects.
Definition: measfmt.h:41
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.
Definition: uversion.h:183
#define U_EXPORT2
Definition: platform.h:338
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API If the compiler doesn't support namespaces...
Definition: uversion.h:184
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers...
Definition: utypes.h:593
Base class for all formats.
Definition: format.h:93
Basic definitions for ICU, for both C and C++ APIs.
A Locale object represents a specific geographical, political, or cultural region.
Definition: locid.h:181