OLD | NEW |
1 /* | 1 /* |
2 ********************************************************************** | 2 ********************************************************************** |
3 * Copyright (c) 2004-2006, International Business Machines | 3 * Copyright (c) 2004-2014, International Business Machines |
4 * Corporation and others. All Rights Reserved. | 4 * Corporation and others. All Rights Reserved. |
5 ********************************************************************** | 5 ********************************************************************** |
6 * Author: Alan Liu | 6 * Author: Alan Liu |
7 * Created: April 26, 2004 | 7 * Created: April 26, 2004 |
8 * Since: ICU 3.0 | 8 * Since: ICU 3.0 |
9 ********************************************************************** | 9 ********************************************************************** |
10 */ | 10 */ |
11 #ifndef __CURRENCYUNIT_H__ | 11 #ifndef __CURRENCYUNIT_H__ |
12 #define __CURRENCYUNIT_H__ | 12 #define __CURRENCYUNIT_H__ |
13 | 13 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 */ | 63 */ |
64 virtual UObject* clone() const; | 64 virtual UObject* clone() const; |
65 | 65 |
66 /** | 66 /** |
67 * Destructor | 67 * Destructor |
68 * @stable ICU 3.0 | 68 * @stable ICU 3.0 |
69 */ | 69 */ |
70 virtual ~CurrencyUnit(); | 70 virtual ~CurrencyUnit(); |
71 | 71 |
72 /** | 72 /** |
73 * Equality operator. Return true if this object is equal | |
74 * to the given object. | |
75 * @stable ICU 3.0 | |
76 */ | |
77 UBool operator==(const UObject& other) const; | |
78 | |
79 /** | |
80 * Returns a unique class ID for this object POLYMORPHICALLY. | 73 * Returns a unique class ID for this object POLYMORPHICALLY. |
81 * This method implements a simple form of RTTI used by ICU. | 74 * This method implements a simple form of RTTI used by ICU. |
82 * @return The class ID for this object. All objects of a given | 75 * @return The class ID for this object. All objects of a given |
83 * class have the same class ID. Objects of other classes have | 76 * class have the same class ID. Objects of other classes have |
84 * different class IDs. | 77 * different class IDs. |
85 * @stable ICU 3.0 | 78 * @stable ICU 3.0 |
86 */ | 79 */ |
87 virtual UClassID getDynamicClassID() const; | 80 virtual UClassID getDynamicClassID() const; |
88 | 81 |
89 /** | 82 /** |
(...skipping 18 matching lines...) Expand all Loading... |
108 }; | 101 }; |
109 | 102 |
110 inline const UChar* CurrencyUnit::getISOCurrency() const { | 103 inline const UChar* CurrencyUnit::getISOCurrency() const { |
111 return isoCode; | 104 return isoCode; |
112 } | 105 } |
113 | 106 |
114 U_NAMESPACE_END | 107 U_NAMESPACE_END |
115 | 108 |
116 #endif // !UCONFIG_NO_FORMATTING | 109 #endif // !UCONFIG_NO_FORMATTING |
117 #endif // __CURRENCYUNIT_H__ | 110 #endif // __CURRENCYUNIT_H__ |
OLD | NEW |