-
Notifications
You must be signed in to change notification settings - Fork 37
/
classCurrencyAmount.html
492 lines (454 loc) · 37.7 KB
/
classCurrencyAmount.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ICU 76.1: icu::CurrencyAmount Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">ICU 76.1<span id="projectnumber"> 76.1</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceicu.html">icu</a></li><li class="navelem"><a class="el" href="classicu_1_1CurrencyAmount.html">CurrencyAmount</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-methods">Static Public Member Functions</a> </div>
<div class="headertitle"><div class="title">icu::CurrencyAmount Class Reference</div></div>
</div><!--header-->
<div class="contents">
<p>A currency together with a numeric amount, such as 200 USD.
<a href="classicu_1_1CurrencyAmount.html#details">More...</a></p>
<p><code>#include <<a class="el" href="curramt_8h_source.html">curramt.h</a>></code></p>
<div class="dynheader">
Inheritance diagram for icu::CurrencyAmount:</div>
<div class="dyncontent">
<div class="center">
<img src="classicu_1_1CurrencyAmount.png" usemap="#icu::CurrencyAmount_map" alt=""/>
<map id="icu::CurrencyAmount_map" name="icu::CurrencyAmount_map">
<area href="classicu_1_1Measure.html" title="An amount of a specified unit, consisting of a number and a Unit." alt="icu::Measure" shape="rect" coords="0,112,131,136"/>
<area href="classicu_1_1UObject.html" title="UObject is the common ICU "boilerplate" class." alt="icu::UObject" shape="rect" coords="0,56,131,80"/>
<area href="classicu_1_1UMemory.html" title="UMemory is the common ICU base class." alt="icu::UMemory" shape="rect" coords="0,0,131,24"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa65864e021d46046ac9151f42f619ea5" id="r_aa65864e021d46046ac9151f42f619ea5"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1CurrencyAmount.html#aa65864e021d46046ac9151f42f619ea5">CurrencyAmount</a> (<a class="el" href="classicu_1_1LocalPointerBase.html">const</a> <a class="el" href="classicu_1_1Formattable.html">Formattable</a> &<a class="el" href="classicu_1_1LocalPointerBase.html">amount</a>, <a class="el" href="classicu_1_1ConstChar16Ptr.html">ConstChar16Ptr</a> isoCode, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &<a class="el" href="classicu_1_1LocalPointerBase.html">ec</a>)</td></tr>
<tr class="memdesc:aa65864e021d46046ac9151f42f619ea5"><td class="mdescLeft"> </td><td class="mdescRight">Construct an object with the given numeric amount and the given ISO currency code. <br /></td></tr>
<tr class="separator:aa65864e021d46046ac9151f42f619ea5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a81e7f3cfafa127d6a5242cc21af134fc" id="r_a81e7f3cfafa127d6a5242cc21af134fc"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1CurrencyAmount.html#a81e7f3cfafa127d6a5242cc21af134fc">CurrencyAmount</a> (<a class="el" href="classicu_1_1LocalPointerBase.html">double</a> <a class="el" href="classicu_1_1LocalPointerBase.html">amount</a>, <a class="el" href="classicu_1_1ConstChar16Ptr.html">ConstChar16Ptr</a> isoCode, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &<a class="el" href="classicu_1_1LocalPointerBase.html">ec</a>)</td></tr>
<tr class="memdesc:a81e7f3cfafa127d6a5242cc21af134fc"><td class="mdescLeft"> </td><td class="mdescRight">Construct an object with the given numeric amount and the given ISO currency code. <br /></td></tr>
<tr class="separator:a81e7f3cfafa127d6a5242cc21af134fc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0206ea843f33c323a820cea13ca0efa4" id="r_a0206ea843f33c323a820cea13ca0efa4"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1CurrencyAmount.html#a0206ea843f33c323a820cea13ca0efa4">CurrencyAmount</a> (<a class="el" href="classicu_1_1LocalPointerBase.html">const</a> <a class="el" href="classicu_1_1CurrencyAmount.html">CurrencyAmount</a> &<a class="el" href="classicu_1_1LocalPointerBase.html">other</a>)</td></tr>
<tr class="memdesc:a0206ea843f33c323a820cea13ca0efa4"><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <br /></td></tr>
<tr class="separator:a0206ea843f33c323a820cea13ca0efa4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af99e07a5638ce7171ae3383a89382c9d" id="r_af99e07a5638ce7171ae3383a89382c9d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1CurrencyAmount.html">CurrencyAmount</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1CurrencyAmount.html#af99e07a5638ce7171ae3383a89382c9d">operator=</a> (<a class="el" href="classicu_1_1LocalPointerBase.html">const</a> <a class="el" href="classicu_1_1CurrencyAmount.html">CurrencyAmount</a> &<a class="el" href="classicu_1_1LocalPointerBase.html">other</a>)</td></tr>
<tr class="memdesc:af99e07a5638ce7171ae3383a89382c9d"><td class="mdescLeft"> </td><td class="mdescRight">Assignment operator. <br /></td></tr>
<tr class="separator:af99e07a5638ce7171ae3383a89382c9d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abcfb2446386f2c5167ce017e05b8198b" id="r_abcfb2446386f2c5167ce017e05b8198b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1LocalPointerBase.html">virtual</a> <a class="el" href="classicu_1_1CurrencyAmount.html">CurrencyAmount</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1CurrencyAmount.html#abcfb2446386f2c5167ce017e05b8198b">clone</a> () <a class="el" href="classicu_1_1LocalPointerBase.html">const</a> <a class="el" href="classicu_1_1LocalPointerBase.html">override</a></td></tr>
<tr class="memdesc:abcfb2446386f2c5167ce017e05b8198b"><td class="mdescLeft"> </td><td class="mdescRight">Return a polymorphic clone of this object. <br /></td></tr>
<tr class="separator:abcfb2446386f2c5167ce017e05b8198b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af536a10dfa854279900c1a6f485ea8be" id="r_af536a10dfa854279900c1a6f485ea8be"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1LocalPointerBase.html">virtual</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1CurrencyAmount.html#af536a10dfa854279900c1a6f485ea8be">~CurrencyAmount</a> ()</td></tr>
<tr class="memdesc:af536a10dfa854279900c1a6f485ea8be"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:af536a10dfa854279900c1a6f485ea8be"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3b3b255c3e7de0ad318184a6438f8188" id="r_a3b3b255c3e7de0ad318184a6438f8188"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1LocalPointerBase.html">virtual</a> <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1CurrencyAmount.html#a3b3b255c3e7de0ad318184a6438f8188">getDynamicClassID</a> () <a class="el" href="classicu_1_1LocalPointerBase.html">const</a> <a class="el" href="classicu_1_1LocalPointerBase.html">override</a></td></tr>
<tr class="memdesc:a3b3b255c3e7de0ad318184a6438f8188"><td class="mdescLeft"> </td><td class="mdescRight">Returns a unique class ID for this object POLYMORPHICALLY. <br /></td></tr>
<tr class="separator:a3b3b255c3e7de0ad318184a6438f8188"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a519e0fc8c20eb0fa31703ea47bd53e2d" id="r_a519e0fc8c20eb0fa31703ea47bd53e2d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1LocalPointerBase.html">const</a> <a class="el" href="classicu_1_1CurrencyUnit.html">CurrencyUnit</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1CurrencyAmount.html#a519e0fc8c20eb0fa31703ea47bd53e2d">getCurrency</a> () <a class="el" href="classicu_1_1LocalPointerBase.html">const</a></td></tr>
<tr class="memdesc:a519e0fc8c20eb0fa31703ea47bd53e2d"><td class="mdescLeft"> </td><td class="mdescRight">Return the currency unit object of this object. <br /></td></tr>
<tr class="separator:a519e0fc8c20eb0fa31703ea47bd53e2d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac88f141ba7f6806154aac3608b520470" id="r_ac88f141ba7f6806154aac3608b520470"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1LocalPointerBase.html">const</a> <a class="el" href="classicu_1_1LocalPointerBase.html">char16_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1CurrencyAmount.html#ac88f141ba7f6806154aac3608b520470">getISOCurrency</a> () <a class="el" href="classicu_1_1LocalPointerBase.html">const</a></td></tr>
<tr class="memdesc:ac88f141ba7f6806154aac3608b520470"><td class="mdescLeft"> </td><td class="mdescRight">Return the ISO currency code of this object. <br /></td></tr>
<tr class="separator:ac88f141ba7f6806154aac3608b520470"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classicu_1_1Measure"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classicu_1_1Measure')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classicu_1_1Measure.html">icu::Measure</a></td></tr>
<tr class="memitem:a3d286ffcc39d0db58f36afedb017382d inherit pub_methods_classicu_1_1Measure" id="r_a3d286ffcc39d0db58f36afedb017382d"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Measure.html#a3d286ffcc39d0db58f36afedb017382d">Measure</a> (<a class="el" href="classicu_1_1LocalPointerBase.html">const</a> <a class="el" href="classicu_1_1Formattable.html">Formattable</a> &number, <a class="el" href="classicu_1_1MeasureUnit.html">MeasureUnit</a> *<a class="el" href="classicu_1_1LocalPointerBase.html">adoptedUnit</a>, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &<a class="el" href="classicu_1_1LocalPointerBase.html">ec</a>)</td></tr>
<tr class="memdesc:a3d286ffcc39d0db58f36afedb017382d inherit pub_methods_classicu_1_1Measure"><td class="mdescLeft"> </td><td class="mdescRight">Construct an object with the given numeric amount and the given unit. <br /></td></tr>
<tr class="separator:a3d286ffcc39d0db58f36afedb017382d inherit pub_methods_classicu_1_1Measure"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a969727d3eca009d01aaf880532ee12e2 inherit pub_methods_classicu_1_1Measure" id="r_a969727d3eca009d01aaf880532ee12e2"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Measure.html#a969727d3eca009d01aaf880532ee12e2">Measure</a> (<a class="el" href="classicu_1_1LocalPointerBase.html">const</a> <a class="el" href="classicu_1_1Measure.html">Measure</a> &<a class="el" href="classicu_1_1LocalPointerBase.html">other</a>)</td></tr>
<tr class="memdesc:a969727d3eca009d01aaf880532ee12e2 inherit pub_methods_classicu_1_1Measure"><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <br /></td></tr>
<tr class="separator:a969727d3eca009d01aaf880532ee12e2 inherit pub_methods_classicu_1_1Measure"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9480f6b4b7e4ef41462ed8a867c51f80 inherit pub_methods_classicu_1_1Measure" id="r_a9480f6b4b7e4ef41462ed8a867c51f80"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1Measure.html">Measure</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Measure.html#a9480f6b4b7e4ef41462ed8a867c51f80">operator=</a> (<a class="el" href="classicu_1_1LocalPointerBase.html">const</a> <a class="el" href="classicu_1_1Measure.html">Measure</a> &<a class="el" href="classicu_1_1LocalPointerBase.html">other</a>)</td></tr>
<tr class="memdesc:a9480f6b4b7e4ef41462ed8a867c51f80 inherit pub_methods_classicu_1_1Measure"><td class="mdescLeft"> </td><td class="mdescRight">Assignment operator. <br /></td></tr>
<tr class="separator:a9480f6b4b7e4ef41462ed8a867c51f80 inherit pub_methods_classicu_1_1Measure"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4f42d948364f828303654d4cb3a3d80c inherit pub_methods_classicu_1_1Measure" id="r_a4f42d948364f828303654d4cb3a3d80c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1LocalPointerBase.html">virtual</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Measure.html#a4f42d948364f828303654d4cb3a3d80c">~Measure</a> ()</td></tr>
<tr class="memdesc:a4f42d948364f828303654d4cb3a3d80c inherit pub_methods_classicu_1_1Measure"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:a4f42d948364f828303654d4cb3a3d80c inherit pub_methods_classicu_1_1Measure"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aefd1d2d4da73dc245586aec2a3b22ba6 inherit pub_methods_classicu_1_1Measure" id="r_aefd1d2d4da73dc245586aec2a3b22ba6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1LocalPointerBase.html">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Measure.html#aefd1d2d4da73dc245586aec2a3b22ba6">operator==</a> (<a class="el" href="classicu_1_1LocalPointerBase.html">const</a> <a class="el" href="classicu_1_1UObject.html">UObject</a> &<a class="el" href="classicu_1_1LocalPointerBase.html">other</a>) <a class="el" href="classicu_1_1LocalPointerBase.html">const</a></td></tr>
<tr class="memdesc:aefd1d2d4da73dc245586aec2a3b22ba6 inherit pub_methods_classicu_1_1Measure"><td class="mdescLeft"> </td><td class="mdescRight">Equality operator. <br /></td></tr>
<tr class="separator:aefd1d2d4da73dc245586aec2a3b22ba6 inherit pub_methods_classicu_1_1Measure"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a48ac8eaf4ce515f60d395de4c17fc76f inherit pub_methods_classicu_1_1Measure" id="r_a48ac8eaf4ce515f60d395de4c17fc76f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1LocalPointerBase.html">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Measure.html#a48ac8eaf4ce515f60d395de4c17fc76f">operator!=</a> (<a class="el" href="classicu_1_1LocalPointerBase.html">const</a> <a class="el" href="classicu_1_1UObject.html">UObject</a> &<a class="el" href="classicu_1_1LocalPointerBase.html">other</a>) <a class="el" href="classicu_1_1LocalPointerBase.html">const</a></td></tr>
<tr class="memdesc:a48ac8eaf4ce515f60d395de4c17fc76f inherit pub_methods_classicu_1_1Measure"><td class="mdescLeft"> </td><td class="mdescRight">Inequality operator. <br /></td></tr>
<tr class="separator:a48ac8eaf4ce515f60d395de4c17fc76f inherit pub_methods_classicu_1_1Measure"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a966fbaa02a2b818efe255515fa20b460 inherit pub_methods_classicu_1_1Measure" id="r_a966fbaa02a2b818efe255515fa20b460"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1LocalPointerBase.html">const</a> <a class="el" href="classicu_1_1Formattable.html">Formattable</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Measure.html#a966fbaa02a2b818efe255515fa20b460">getNumber</a> () <a class="el" href="classicu_1_1LocalPointerBase.html">const</a></td></tr>
<tr class="memdesc:a966fbaa02a2b818efe255515fa20b460 inherit pub_methods_classicu_1_1Measure"><td class="mdescLeft"> </td><td class="mdescRight">Return a reference to the numeric value of this object. <br /></td></tr>
<tr class="separator:a966fbaa02a2b818efe255515fa20b460 inherit pub_methods_classicu_1_1Measure"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a85d37733b4de42e2be234c334b94a38a inherit pub_methods_classicu_1_1Measure" id="r_a85d37733b4de42e2be234c334b94a38a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1LocalPointerBase.html">const</a> <a class="el" href="classicu_1_1MeasureUnit.html">MeasureUnit</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Measure.html#a85d37733b4de42e2be234c334b94a38a">getUnit</a> () <a class="el" href="classicu_1_1LocalPointerBase.html">const</a></td></tr>
<tr class="memdesc:a85d37733b4de42e2be234c334b94a38a inherit pub_methods_classicu_1_1Measure"><td class="mdescLeft"> </td><td class="mdescRight">Return a reference to the unit of this object. <br /></td></tr>
<tr class="separator:a85d37733b4de42e2be234c334b94a38a inherit pub_methods_classicu_1_1Measure"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classicu_1_1UObject"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classicu_1_1UObject')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classicu_1_1UObject.html">icu::UObject</a></td></tr>
<tr class="memitem:af10026497704f510d3d1f2eff50acb18 inherit pub_methods_classicu_1_1UObject" id="r_af10026497704f510d3d1f2eff50acb18"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1LocalPointerBase.html">virtual</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1UObject.html#af10026497704f510d3d1f2eff50acb18">~UObject</a> ()</td></tr>
<tr class="memdesc:af10026497704f510d3d1f2eff50acb18 inherit pub_methods_classicu_1_1UObject"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:af10026497704f510d3d1f2eff50acb18 inherit pub_methods_classicu_1_1UObject"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a3317b059f042f2fb2b2299d62c406d9a" id="r_a3317b059f042f2fb2b2299d62c406d9a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1LocalPointerBase.html">static</a> <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1CurrencyAmount.html#a3317b059f042f2fb2b2299d62c406d9a">getStaticClassID</a> ()</td></tr>
<tr class="memdesc:a3317b059f042f2fb2b2299d62c406d9a"><td class="mdescLeft"> </td><td class="mdescRight">Returns the class ID for this class. <br /></td></tr>
<tr class="separator:a3317b059f042f2fb2b2299d62c406d9a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_static_methods_classicu_1_1Measure"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classicu_1_1Measure')"><img src="closed.png" alt="-"/> Static Public Member Functions inherited from <a class="el" href="classicu_1_1Measure.html">icu::Measure</a></td></tr>
<tr class="memitem:a2ff49ff378985e8eac1202ac037bba17 inherit pub_static_methods_classicu_1_1Measure" id="r_a2ff49ff378985e8eac1202ac037bba17"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1LocalPointerBase.html">static</a> <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Measure.html#a2ff49ff378985e8eac1202ac037bba17">getStaticClassID</a> ()</td></tr>
<tr class="memdesc:a2ff49ff378985e8eac1202ac037bba17 inherit pub_static_methods_classicu_1_1Measure"><td class="mdescLeft"> </td><td class="mdescRight">Return the class ID for this class. <br /></td></tr>
<tr class="separator:a2ff49ff378985e8eac1202ac037bba17 inherit pub_static_methods_classicu_1_1Measure"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_classicu_1_1Measure"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classicu_1_1Measure')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classicu_1_1Measure.html">icu::Measure</a></td></tr>
<tr class="memitem:a5f55ba679a4ab02dd0090fc6cf05f11d inherit pro_methods_classicu_1_1Measure" id="r_a5f55ba679a4ab02dd0090fc6cf05f11d"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Measure.html#a5f55ba679a4ab02dd0090fc6cf05f11d">Measure</a> ()</td></tr>
<tr class="memdesc:a5f55ba679a4ab02dd0090fc6cf05f11d inherit pro_methods_classicu_1_1Measure"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <br /></td></tr>
<tr class="separator:a5f55ba679a4ab02dd0090fc6cf05f11d inherit pro_methods_classicu_1_1Measure"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A currency together with a numeric amount, such as 200 USD. </p>
<dl class="section author"><dt>Author</dt><dd>Alan Liu </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003780">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>
<p class="definition">Definition at line <a class="el" href="curramt_8h_source.html#l00039">39</a> of file <a class="el" href="curramt_8h_source.html">curramt.h</a>.</p>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="aa65864e021d46046ac9151f42f619ea5" name="aa65864e021d46046ac9151f42f619ea5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa65864e021d46046ac9151f42f619ea5">◆ </a></span>CurrencyAmount() <span class="overload">[1/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">icu::CurrencyAmount::CurrencyAmount </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classicu_1_1LocalPointerBase.html">const</a> <a class="el" href="classicu_1_1Formattable.html">Formattable</a> & </td>
<td class="paramname"><em>amount</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classicu_1_1ConstChar16Ptr.html">ConstChar16Ptr</a> </td>
<td class="paramname"><em>isoCode</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td>
<td class="paramname"><em>ec</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Construct an object with the given numeric amount and the given ISO currency code. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">amount</td><td>a numeric object; amount.isNumeric() must be true </td></tr>
<tr><td class="paramname">isoCode</td><td>the 3-letter ISO 4217 currency code; must not be nullptr and must have length 3 </td></tr>
<tr><td class="paramname">ec</td><td>input-output error code. If the amount or the isoCode is invalid, then this will be set to a failing value. </td></tr>
</table>
</dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003781">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>
</div>
</div>
<a id="a81e7f3cfafa127d6a5242cc21af134fc" name="a81e7f3cfafa127d6a5242cc21af134fc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a81e7f3cfafa127d6a5242cc21af134fc">◆ </a></span>CurrencyAmount() <span class="overload">[2/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">icu::CurrencyAmount::CurrencyAmount </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classicu_1_1LocalPointerBase.html">double</a> </td>
<td class="paramname"><em>amount</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classicu_1_1ConstChar16Ptr.html">ConstChar16Ptr</a> </td>
<td class="paramname"><em>isoCode</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td>
<td class="paramname"><em>ec</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Construct an object with the given numeric amount and the given ISO currency code. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">amount</td><td>the amount of the given currency </td></tr>
<tr><td class="paramname">isoCode</td><td>the 3-letter ISO 4217 currency code; must not be nullptr and must have length 3 </td></tr>
<tr><td class="paramname">ec</td><td>input-output error code. If the isoCode is invalid, then this will be set to a failing value. </td></tr>
</table>
</dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003782">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>
</div>
</div>
<a id="a0206ea843f33c323a820cea13ca0efa4" name="a0206ea843f33c323a820cea13ca0efa4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0206ea843f33c323a820cea13ca0efa4">◆ </a></span>CurrencyAmount() <span class="overload">[3/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">icu::CurrencyAmount::CurrencyAmount </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classicu_1_1LocalPointerBase.html">const</a> <a class="el" href="classicu_1_1CurrencyAmount.html">CurrencyAmount</a> & </td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Copy constructor. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003783">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>
</div>
</div>
<a id="af536a10dfa854279900c1a6f485ea8be" name="af536a10dfa854279900c1a6f485ea8be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af536a10dfa854279900c1a6f485ea8be">◆ </a></span>~CurrencyAmount()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classicu_1_1LocalPointerBase.html">virtual</a> icu::CurrencyAmount::~CurrencyAmount </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Destructor. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003786">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="abcfb2446386f2c5167ce017e05b8198b" name="abcfb2446386f2c5167ce017e05b8198b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abcfb2446386f2c5167ce017e05b8198b">◆ </a></span>clone()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classicu_1_1LocalPointerBase.html">virtual</a> <a class="el" href="classicu_1_1CurrencyAmount.html">CurrencyAmount</a> * icu::CurrencyAmount::clone </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Return a polymorphic clone of this object. </p>
<p>The result will have the same class as returned by <a class="el" href="classicu_1_1CurrencyAmount.html#a3b3b255c3e7de0ad318184a6438f8188" title="Returns a unique class ID for this object POLYMORPHICALLY.">getDynamicClassID()</a>. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable003785">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>
<p>Reimplemented from <a class="el" href="classicu_1_1Measure.html#a20c3e8329d5187b7e33bcec7adb492fb">icu::Measure</a>.</p>
</div>
</div>
<a id="a519e0fc8c20eb0fa31703ea47bd53e2d" name="a519e0fc8c20eb0fa31703ea47bd53e2d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a519e0fc8c20eb0fa31703ea47bd53e2d">◆ </a></span>getCurrency()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classicu_1_1LocalPointerBase.html">const</a> <a class="el" href="classicu_1_1CurrencyUnit.html">CurrencyUnit</a> & icu::CurrencyAmount::getCurrency </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Return the currency unit object of this object. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003789">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>
</div>
</div>
<a id="a3b3b255c3e7de0ad318184a6438f8188" name="a3b3b255c3e7de0ad318184a6438f8188"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b3b255c3e7de0ad318184a6438f8188">◆ </a></span>getDynamicClassID()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classicu_1_1LocalPointerBase.html">virtual</a> <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> icu::CurrencyAmount::getDynamicClassID </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a unique class ID for this object POLYMORPHICALLY. </p>
<p>This method implements a simple form of RTTI used by ICU. </p><dl class="section return"><dt>Returns</dt><dd>The class ID for this object. All objects of a given class have the same class ID. Objects of other classes have different class IDs. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003787">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>
<p>Reimplemented from <a class="el" href="classicu_1_1Measure.html#afc8fcabf71cf34f646ed2763fe68a387">icu::Measure</a>.</p>
</div>
</div>
<a id="ac88f141ba7f6806154aac3608b520470" name="ac88f141ba7f6806154aac3608b520470"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac88f141ba7f6806154aac3608b520470">◆ </a></span>getISOCurrency()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classicu_1_1LocalPointerBase.html">const</a> <a class="el" href="classicu_1_1LocalPointerBase.html">char16_t</a> * icu::CurrencyAmount::getISOCurrency </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Return the ISO currency code of this object. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003790">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>
<p class="definition">Definition at line <a class="el" href="curramt_8h_source.html#l00123">123</a> of file <a class="el" href="curramt_8h_source.html">curramt.h</a>.</p>
</div>
</div>
<a id="a3317b059f042f2fb2b2299d62c406d9a" name="a3317b059f042f2fb2b2299d62c406d9a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3317b059f042f2fb2b2299d62c406d9a">◆ </a></span>getStaticClassID()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classicu_1_1LocalPointerBase.html">static</a> <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> icu::CurrencyAmount::getStaticClassID </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the class ID for this class. </p>
<p>This is used to compare to the return value of <a class="el" href="classicu_1_1CurrencyAmount.html#a3b3b255c3e7de0ad318184a6438f8188" title="Returns a unique class ID for this object POLYMORPHICALLY.">getDynamicClassID()</a>. </p><dl class="section return"><dt>Returns</dt><dd>The class ID for all objects of this class. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003788">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>
</div>
</div>
<a id="af99e07a5638ce7171ae3383a89382c9d" name="af99e07a5638ce7171ae3383a89382c9d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af99e07a5638ce7171ae3383a89382c9d">◆ </a></span>operator=()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classicu_1_1CurrencyAmount.html">CurrencyAmount</a> & icu::CurrencyAmount::operator= </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classicu_1_1LocalPointerBase.html">const</a> <a class="el" href="classicu_1_1CurrencyAmount.html">CurrencyAmount</a> & </td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Assignment operator. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003784">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>i18n/unicode/<a class="el" href="curramt_8h_source.html">curramt.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>