| Linux in-mum-web1499.main-hosting.eu 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64 Path : /opt/alt/alt-nodejs18/root/usr/share/doc/alt-nodejs18-libicu-doc/ |
| Current File : //opt/alt/alt-nodejs18/root/usr/share/doc/alt-nodejs18-libicu-doc/classFormattable.html |
<!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">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ICU 74.2: icu::Formattable 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="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 style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ICU 74.2
 <span id="projectnumber">74.2</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<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:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></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_1Formattable.html">Formattable</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> |
<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::Formattable Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> objects can be passed to the <a class="el" href="classicu_1_1Format.html" title="Base class for all formats.">Format</a> class or its subclasses for formatting.
<a href="classicu_1_1Formattable.html#details">More...</a></p>
<p><code>#include <<a class="el" href="fmtable_8h_source.html">fmtable.h</a>></code></p>
<div class="dynheader">
Inheritance diagram for icu::Formattable:</div>
<div class="dyncontent">
<div class="center">
<img src="classicu_1_1Formattable.png" usemap="#icu::Formattable_map" alt=""/>
<map id="icu::Formattable_map" name="icu::Formattable_map">
<area href="classicu_1_1UObject.html" title="UObject is the common ICU "boilerplate" class." alt="icu::UObject" shape="rect" coords="0,56,101,80"/>
<area href="classicu_1_1UMemory.html" title="UMemory is the common ICU base class." alt="icu::UMemory" shape="rect" coords="0,0,101,24"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ae4010ddd561aeea0281613e10f23c7bf"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#ae4010ddd561aeea0281613e10f23c7bf">ISDATE</a> { <b>kIsDate</b>
}</td></tr>
<tr class="memdesc:ae4010ddd561aeea0281613e10f23c7bf"><td class="mdescLeft"> </td><td class="mdescRight">This enum is only used to let callers distinguish between the <a class="el" href="classicu_1_1Formattable.html#a599c9c44d6e24e404de3369513324973" title="Creates a Formattable object with a double number.">Formattable(UDate)</a> constructor and the <a class="el" href="classicu_1_1Formattable.html#a599c9c44d6e24e404de3369513324973" title="Creates a Formattable object with a double number.">Formattable(double)</a> constructor; the compiler cannot distinguish the signatures, since UDate is currently typedefed to be either double or long. <a href="classicu_1_1Formattable.html#ae4010ddd561aeea0281613e10f23c7bf">More...</a><br /></td></tr>
<tr class="separator:ae4010ddd561aeea0281613e10f23c7bf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a74d75e74861f3e85b76349f294317166"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a74d75e74861f3e85b76349f294317166">Type</a> { <br />
  <a class="el" href="classicu_1_1Formattable.html#a74d75e74861f3e85b76349f294317166ad007cfc98395c661bc59f400247596b5">kDate</a>
, <a class="el" href="classicu_1_1Formattable.html#a74d75e74861f3e85b76349f294317166a0283c208de31be47f6ccd35baeffa2b5">kDouble</a>
, <a class="el" href="classicu_1_1Formattable.html#a74d75e74861f3e85b76349f294317166a476fbd5f69394241b38ef3924d57a01f">kLong</a>
, <a class="el" href="classicu_1_1Formattable.html#a74d75e74861f3e85b76349f294317166a9ba463d0564122c3c282ec42760416b9">kString</a>
, <br />
  <a class="el" href="classicu_1_1Formattable.html#a74d75e74861f3e85b76349f294317166a40c0f7e6e821dc2446144147c1c16608">kArray</a>
, <a class="el" href="classicu_1_1Formattable.html#a74d75e74861f3e85b76349f294317166a971c02c7f262c51cfdc4b836a7939ddd">kInt64</a>
, <a class="el" href="classicu_1_1Formattable.html#a74d75e74861f3e85b76349f294317166a3b9928998b193e3efa87ee5a0ec8f9d6">kObject</a>
<br />
}</td></tr>
<tr class="memdesc:a74d75e74861f3e85b76349f294317166"><td class="mdescLeft"> </td><td class="mdescRight">Selector for flavor of data type contained within a <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object. <a href="classicu_1_1Formattable.html#a74d75e74861f3e85b76349f294317166">More...</a><br /></td></tr>
<tr class="separator:a74d75e74861f3e85b76349f294317166"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a61e9b62f0234fff0033b093bb9b8cc2f"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a61e9b62f0234fff0033b093bb9b8cc2f">Formattable</a> ()</td></tr>
<tr class="memdesc:a61e9b62f0234fff0033b093bb9b8cc2f"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <a href="classicu_1_1Formattable.html#a61e9b62f0234fff0033b093bb9b8cc2f">More...</a><br /></td></tr>
<tr class="separator:a61e9b62f0234fff0033b093bb9b8cc2f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a89405f6be9972c5bdc3ae98892a11363"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a89405f6be9972c5bdc3ae98892a11363">Formattable</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> d, <a class="el" href="classicu_1_1Formattable.html#ae4010ddd561aeea0281613e10f23c7bf">ISDATE</a> flag)</td></tr>
<tr class="memdesc:a89405f6be9972c5bdc3ae98892a11363"><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object with a UDate instance. <a href="classicu_1_1Formattable.html#a89405f6be9972c5bdc3ae98892a11363">More...</a><br /></td></tr>
<tr class="separator:a89405f6be9972c5bdc3ae98892a11363"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a599c9c44d6e24e404de3369513324973"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a599c9c44d6e24e404de3369513324973">Formattable</a> (double d)</td></tr>
<tr class="memdesc:a599c9c44d6e24e404de3369513324973"><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object with a double number. <a href="classicu_1_1Formattable.html#a599c9c44d6e24e404de3369513324973">More...</a><br /></td></tr>
<tr class="separator:a599c9c44d6e24e404de3369513324973"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acca7d27b4c7f19e5e8906dcd1e1821e8"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#acca7d27b4c7f19e5e8906dcd1e1821e8">Formattable</a> (int32_t l)</td></tr>
<tr class="memdesc:acca7d27b4c7f19e5e8906dcd1e1821e8"><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object with a long number. <a href="classicu_1_1Formattable.html#acca7d27b4c7f19e5e8906dcd1e1821e8">More...</a><br /></td></tr>
<tr class="separator:acca7d27b4c7f19e5e8906dcd1e1821e8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af966ddd973331cea2184f6857860c749"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#af966ddd973331cea2184f6857860c749">Formattable</a> (int64_t ll)</td></tr>
<tr class="memdesc:af966ddd973331cea2184f6857860c749"><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object with an int64_t number. <a href="classicu_1_1Formattable.html#af966ddd973331cea2184f6857860c749">More...</a><br /></td></tr>
<tr class="separator:af966ddd973331cea2184f6857860c749"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a843f2111d3e7cb6bd858b1213510293d"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a843f2111d3e7cb6bd858b1213510293d">Formattable</a> (const char *strToCopy)</td></tr>
<tr class="memdesc:a843f2111d3e7cb6bd858b1213510293d"><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object with a char string pointer. <a href="classicu_1_1Formattable.html#a843f2111d3e7cb6bd858b1213510293d">More...</a><br /></td></tr>
<tr class="separator:a843f2111d3e7cb6bd858b1213510293d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0505d26515fa1bbac3dd46a7e15e120e"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a0505d26515fa1bbac3dd46a7e15e120e">Formattable</a> (<a class="el" href="classicu_1_1StringPiece.html">StringPiece</a> number, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr>
<tr class="memdesc:a0505d26515fa1bbac3dd46a7e15e120e"><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object of an appropriate numeric type from a a decimal number in string form. <a href="classicu_1_1Formattable.html#a0505d26515fa1bbac3dd46a7e15e120e">More...</a><br /></td></tr>
<tr class="separator:a0505d26515fa1bbac3dd46a7e15e120e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6668e532b131395ffe4b89596dc6f90a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a6668e532b131395ffe4b89596dc6f90a">Formattable</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &strToCopy)</td></tr>
<tr class="memdesc:a6668e532b131395ffe4b89596dc6f90a"><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object with a <a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> object to copy from. <a href="classicu_1_1Formattable.html#a6668e532b131395ffe4b89596dc6f90a">More...</a><br /></td></tr>
<tr class="separator:a6668e532b131395ffe4b89596dc6f90a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a10b5bf072f9225e7b37161266b079d77"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a10b5bf072f9225e7b37161266b079d77">Formattable</a> (<a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> *strToAdopt)</td></tr>
<tr class="memdesc:a10b5bf072f9225e7b37161266b079d77"><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object with a <a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> object to adopt from. <a href="classicu_1_1Formattable.html#a10b5bf072f9225e7b37161266b079d77">More...</a><br /></td></tr>
<tr class="separator:a10b5bf072f9225e7b37161266b079d77"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac6a6e4da71730e948ab800fe439dbd24"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#ac6a6e4da71730e948ab800fe439dbd24">Formattable</a> (const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> *arrayToCopy, int32_t count)</td></tr>
<tr class="memdesc:ac6a6e4da71730e948ab800fe439dbd24"><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object with an array of <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> objects. <a href="classicu_1_1Formattable.html#ac6a6e4da71730e948ab800fe439dbd24">More...</a><br /></td></tr>
<tr class="separator:ac6a6e4da71730e948ab800fe439dbd24"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3ab361f73fcaa609a334bed021f6f075"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a3ab361f73fcaa609a334bed021f6f075">Formattable</a> (<a class="el" href="classicu_1_1UObject.html">UObject</a> *objectToAdopt)</td></tr>
<tr class="memdesc:a3ab361f73fcaa609a334bed021f6f075"><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object that adopts the given <a class="el" href="classicu_1_1UObject.html" title="UObject is the common ICU "boilerplate" class.">UObject</a>. <a href="classicu_1_1Formattable.html#a3ab361f73fcaa609a334bed021f6f075">More...</a><br /></td></tr>
<tr class="separator:a3ab361f73fcaa609a334bed021f6f075"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acbdca7d68bf89e3580d6d84afe3745fc"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#acbdca7d68bf89e3580d6d84afe3745fc">Formattable</a> (const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> &)</td></tr>
<tr class="memdesc:acbdca7d68bf89e3580d6d84afe3745fc"><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <a href="classicu_1_1Formattable.html#acbdca7d68bf89e3580d6d84afe3745fc">More...</a><br /></td></tr>
<tr class="separator:acbdca7d68bf89e3580d6d84afe3745fc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0afa72455e59d7a457672e5ee9e93be4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1Formattable.html">Formattable</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a0afa72455e59d7a457672e5ee9e93be4">operator=</a> (const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> &rhs)</td></tr>
<tr class="memdesc:a0afa72455e59d7a457672e5ee9e93be4"><td class="mdescLeft"> </td><td class="mdescRight">Assignment operator. <a href="classicu_1_1Formattable.html#a0afa72455e59d7a457672e5ee9e93be4">More...</a><br /></td></tr>
<tr class="separator:a0afa72455e59d7a457672e5ee9e93be4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa7d316d02206e44f32854df8f5ab0c79"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#aa7d316d02206e44f32854df8f5ab0c79">operator==</a> (const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> &other) const</td></tr>
<tr class="memdesc:aa7d316d02206e44f32854df8f5ab0c79"><td class="mdescLeft"> </td><td class="mdescRight">Equality comparison. <a href="classicu_1_1Formattable.html#aa7d316d02206e44f32854df8f5ab0c79">More...</a><br /></td></tr>
<tr class="separator:aa7d316d02206e44f32854df8f5ab0c79"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae5b1e0194b7f877b0801c5e5e0da30c8"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#ae5b1e0194b7f877b0801c5e5e0da30c8">operator!=</a> (const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> &other) const</td></tr>
<tr class="memdesc:ae5b1e0194b7f877b0801c5e5e0da30c8"><td class="mdescLeft"> </td><td class="mdescRight">Equality operator. <a href="classicu_1_1Formattable.html#ae5b1e0194b7f877b0801c5e5e0da30c8">More...</a><br /></td></tr>
<tr class="separator:ae5b1e0194b7f877b0801c5e5e0da30c8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad6c493461b23c8b3235b9a169ff566de"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#ad6c493461b23c8b3235b9a169ff566de">~Formattable</a> ()</td></tr>
<tr class="memdesc:ad6c493461b23c8b3235b9a169ff566de"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="classicu_1_1Formattable.html#ad6c493461b23c8b3235b9a169ff566de">More...</a><br /></td></tr>
<tr class="separator:ad6c493461b23c8b3235b9a169ff566de"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a149c7d8fcf8c660800984638af0a44f1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1Formattable.html">Formattable</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a149c7d8fcf8c660800984638af0a44f1">clone</a> () const</td></tr>
<tr class="memdesc:a149c7d8fcf8c660800984638af0a44f1"><td class="mdescLeft"> </td><td class="mdescRight">Clone this object. <a href="classicu_1_1Formattable.html#a149c7d8fcf8c660800984638af0a44f1">More...</a><br /></td></tr>
<tr class="separator:a149c7d8fcf8c660800984638af0a44f1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa3e4f4d55e5e8c791dc367778d8d2c4f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1Formattable.html#a74d75e74861f3e85b76349f294317166">Type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#aa3e4f4d55e5e8c791dc367778d8d2c4f">getType</a> (void) const</td></tr>
<tr class="memdesc:aa3e4f4d55e5e8c791dc367778d8d2c4f"><td class="mdescLeft"> </td><td class="mdescRight">Gets the data type of this <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object. <a href="classicu_1_1Formattable.html#aa3e4f4d55e5e8c791dc367778d8d2c4f">More...</a><br /></td></tr>
<tr class="separator:aa3e4f4d55e5e8c791dc367778d8d2c4f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2712d81463e341a2765f7fcc1b074066"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a2712d81463e341a2765f7fcc1b074066">isNumeric</a> () const</td></tr>
<tr class="memdesc:a2712d81463e341a2765f7fcc1b074066"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the data type of this <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object is kDouble, kLong, or kInt64. <a href="classicu_1_1Formattable.html#a2712d81463e341a2765f7fcc1b074066">More...</a><br /></td></tr>
<tr class="separator:a2712d81463e341a2765f7fcc1b074066"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a88384c36bc223c69a8a2a9d115241452"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a88384c36bc223c69a8a2a9d115241452">getDouble</a> (void) const</td></tr>
<tr class="memdesc:a88384c36bc223c69a8a2a9d115241452"><td class="mdescLeft"> </td><td class="mdescRight">Gets the double value of this object. <a href="classicu_1_1Formattable.html#a88384c36bc223c69a8a2a9d115241452">More...</a><br /></td></tr>
<tr class="separator:a88384c36bc223c69a8a2a9d115241452"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7b9f4d87dee9c87d5989fdf5b7d3c120"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a7b9f4d87dee9c87d5989fdf5b7d3c120">getDouble</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const</td></tr>
<tr class="memdesc:a7b9f4d87dee9c87d5989fdf5b7d3c120"><td class="mdescLeft"> </td><td class="mdescRight">Gets the double value of this object. <a href="classicu_1_1Formattable.html#a7b9f4d87dee9c87d5989fdf5b7d3c120">More...</a><br /></td></tr>
<tr class="separator:a7b9f4d87dee9c87d5989fdf5b7d3c120"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac38ce1f6de66ae692f6dbde5d408d0f8"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#ac38ce1f6de66ae692f6dbde5d408d0f8">getLong</a> (void) const</td></tr>
<tr class="memdesc:ac38ce1f6de66ae692f6dbde5d408d0f8"><td class="mdescLeft"> </td><td class="mdescRight">Gets the long value of this object. <a href="classicu_1_1Formattable.html#ac38ce1f6de66ae692f6dbde5d408d0f8">More...</a><br /></td></tr>
<tr class="separator:ac38ce1f6de66ae692f6dbde5d408d0f8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af6df9476fc26e3e9c882c0007f917e82"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#af6df9476fc26e3e9c882c0007f917e82">getLong</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const</td></tr>
<tr class="memdesc:af6df9476fc26e3e9c882c0007f917e82"><td class="mdescLeft"> </td><td class="mdescRight">Gets the long value of this object. <a href="classicu_1_1Formattable.html#af6df9476fc26e3e9c882c0007f917e82">More...</a><br /></td></tr>
<tr class="separator:af6df9476fc26e3e9c882c0007f917e82"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2a0c0d7e7b7145328caeb5721f8ca375"><td class="memItemLeft" align="right" valign="top">int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a2a0c0d7e7b7145328caeb5721f8ca375">getInt64</a> (void) const</td></tr>
<tr class="memdesc:a2a0c0d7e7b7145328caeb5721f8ca375"><td class="mdescLeft"> </td><td class="mdescRight">Gets the int64 value of this object. <a href="classicu_1_1Formattable.html#a2a0c0d7e7b7145328caeb5721f8ca375">More...</a><br /></td></tr>
<tr class="separator:a2a0c0d7e7b7145328caeb5721f8ca375"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afc92d996a707033067d1a595a7ef9519"><td class="memItemLeft" align="right" valign="top">int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#afc92d996a707033067d1a595a7ef9519">getInt64</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const</td></tr>
<tr class="memdesc:afc92d996a707033067d1a595a7ef9519"><td class="mdescLeft"> </td><td class="mdescRight">Gets the int64 value of this object. <a href="classicu_1_1Formattable.html#afc92d996a707033067d1a595a7ef9519">More...</a><br /></td></tr>
<tr class="separator:afc92d996a707033067d1a595a7ef9519"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af4581ae8fcad0b4e75e5c85246366e31"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#af4581ae8fcad0b4e75e5c85246366e31">getDate</a> () const</td></tr>
<tr class="memdesc:af4581ae8fcad0b4e75e5c85246366e31"><td class="mdescLeft"> </td><td class="mdescRight">Gets the Date value of this object. <a href="classicu_1_1Formattable.html#af4581ae8fcad0b4e75e5c85246366e31">More...</a><br /></td></tr>
<tr class="separator:af4581ae8fcad0b4e75e5c85246366e31"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0c4670b8835673248481d083dd55489b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a0c4670b8835673248481d083dd55489b">getDate</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const</td></tr>
<tr class="memdesc:a0c4670b8835673248481d083dd55489b"><td class="mdescLeft"> </td><td class="mdescRight">Gets the Date value of this object. <a href="classicu_1_1Formattable.html#a0c4670b8835673248481d083dd55489b">More...</a><br /></td></tr>
<tr class="separator:a0c4670b8835673248481d083dd55489b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad41222bdcd8e2afcef3a6e5efd7cbb10"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#ad41222bdcd8e2afcef3a6e5efd7cbb10">getString</a> (<a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &result) const</td></tr>
<tr class="memdesc:ad41222bdcd8e2afcef3a6e5efd7cbb10"><td class="mdescLeft"> </td><td class="mdescRight">Gets the string value of this object. <a href="classicu_1_1Formattable.html#ad41222bdcd8e2afcef3a6e5efd7cbb10">More...</a><br /></td></tr>
<tr class="separator:ad41222bdcd8e2afcef3a6e5efd7cbb10"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aaf60d8f6b6dfe600d7b36e61d63506e0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#aaf60d8f6b6dfe600d7b36e61d63506e0">getString</a> (<a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &result, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const</td></tr>
<tr class="memdesc:aaf60d8f6b6dfe600d7b36e61d63506e0"><td class="mdescLeft"> </td><td class="mdescRight">Gets the string value of this object. <a href="classicu_1_1Formattable.html#aaf60d8f6b6dfe600d7b36e61d63506e0">More...</a><br /></td></tr>
<tr class="separator:aaf60d8f6b6dfe600d7b36e61d63506e0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1e317cf1d8d487885cd98723fefdeeb8"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a1e317cf1d8d487885cd98723fefdeeb8">getString</a> (void) const</td></tr>
<tr class="memdesc:a1e317cf1d8d487885cd98723fefdeeb8"><td class="mdescLeft"> </td><td class="mdescRight">Gets a const reference to the string value of this object. <a href="classicu_1_1Formattable.html#a1e317cf1d8d487885cd98723fefdeeb8">More...</a><br /></td></tr>
<tr class="separator:a1e317cf1d8d487885cd98723fefdeeb8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aad036cf699df4d4f05a32c9bf64073e8"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#aad036cf699df4d4f05a32c9bf64073e8">getString</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const</td></tr>
<tr class="memdesc:aad036cf699df4d4f05a32c9bf64073e8"><td class="mdescLeft"> </td><td class="mdescRight">Gets a const reference to the string value of this object. <a href="classicu_1_1Formattable.html#aad036cf699df4d4f05a32c9bf64073e8">More...</a><br /></td></tr>
<tr class="separator:aad036cf699df4d4f05a32c9bf64073e8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adf975403146ca178e6db1d7780656e8c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#adf975403146ca178e6db1d7780656e8c">getString</a> (void)</td></tr>
<tr class="memdesc:adf975403146ca178e6db1d7780656e8c"><td class="mdescLeft"> </td><td class="mdescRight">Gets a reference to the string value of this object. <a href="classicu_1_1Formattable.html#adf975403146ca178e6db1d7780656e8c">More...</a><br /></td></tr>
<tr class="separator:adf975403146ca178e6db1d7780656e8c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2e6c86290a81c3916e4c4d2a517ffc44"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a2e6c86290a81c3916e4c4d2a517ffc44">getString</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr>
<tr class="memdesc:a2e6c86290a81c3916e4c4d2a517ffc44"><td class="mdescLeft"> </td><td class="mdescRight">Gets a reference to the string value of this object. <a href="classicu_1_1Formattable.html#a2e6c86290a81c3916e4c4d2a517ffc44">More...</a><br /></td></tr>
<tr class="separator:a2e6c86290a81c3916e4c4d2a517ffc44"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7b042e0f1f3d6bdbf8b6026ba61594c6"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a7b042e0f1f3d6bdbf8b6026ba61594c6">getArray</a> (int32_t &count) const</td></tr>
<tr class="memdesc:a7b042e0f1f3d6bdbf8b6026ba61594c6"><td class="mdescLeft"> </td><td class="mdescRight">Gets the array value and count of this object. <a href="classicu_1_1Formattable.html#a7b042e0f1f3d6bdbf8b6026ba61594c6">More...</a><br /></td></tr>
<tr class="separator:a7b042e0f1f3d6bdbf8b6026ba61594c6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af710f61f4d46ef505974fb23e070b3ee"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#af710f61f4d46ef505974fb23e070b3ee">getArray</a> (int32_t &count, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const</td></tr>
<tr class="memdesc:af710f61f4d46ef505974fb23e070b3ee"><td class="mdescLeft"> </td><td class="mdescRight">Gets the array value and count of this object. <a href="classicu_1_1Formattable.html#af710f61f4d46ef505974fb23e070b3ee">More...</a><br /></td></tr>
<tr class="separator:af710f61f4d46ef505974fb23e070b3ee"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a162975f9d3e09f621fb6f714d3aa49fb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1Formattable.html">Formattable</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a162975f9d3e09f621fb6f714d3aa49fb">operator[]</a> (int32_t index)</td></tr>
<tr class="memdesc:a162975f9d3e09f621fb6f714d3aa49fb"><td class="mdescLeft"> </td><td class="mdescRight">Accesses the specified element in the array value of this <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object. <a href="classicu_1_1Formattable.html#a162975f9d3e09f621fb6f714d3aa49fb">More...</a><br /></td></tr>
<tr class="separator:a162975f9d3e09f621fb6f714d3aa49fb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4626eb1f7b861b32f46b8c20e753882b"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classicu_1_1UObject.html">UObject</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a4626eb1f7b861b32f46b8c20e753882b">getObject</a> () const</td></tr>
<tr class="memdesc:a4626eb1f7b861b32f46b8c20e753882b"><td class="mdescLeft"> </td><td class="mdescRight">Returns a pointer to the <a class="el" href="classicu_1_1UObject.html" title="UObject is the common ICU "boilerplate" class.">UObject</a> contained within this formattable, or nullptr if this object does not contain a <a class="el" href="classicu_1_1UObject.html" title="UObject is the common ICU "boilerplate" class.">UObject</a>. <a href="classicu_1_1Formattable.html#a4626eb1f7b861b32f46b8c20e753882b">More...</a><br /></td></tr>
<tr class="separator:a4626eb1f7b861b32f46b8c20e753882b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad12a8ee43c73877fdf6670dca32ba8e6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1StringPiece.html">StringPiece</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#ad12a8ee43c73877fdf6670dca32ba8e6">getDecimalNumber</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr>
<tr class="memdesc:ad12a8ee43c73877fdf6670dca32ba8e6"><td class="mdescLeft"> </td><td class="mdescRight">Returns a numeric string representation of the number contained within this formattable, or nullptr if this object does not contain numeric type. <a href="classicu_1_1Formattable.html#ad12a8ee43c73877fdf6670dca32ba8e6">More...</a><br /></td></tr>
<tr class="separator:ad12a8ee43c73877fdf6670dca32ba8e6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a62037e912792de0af5c2e40b597849c1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a62037e912792de0af5c2e40b597849c1">setDouble</a> (double d)</td></tr>
<tr class="memdesc:a62037e912792de0af5c2e40b597849c1"><td class="mdescLeft"> </td><td class="mdescRight">Sets the double value of this object and changes the type to kDouble. <a href="classicu_1_1Formattable.html#a62037e912792de0af5c2e40b597849c1">More...</a><br /></td></tr>
<tr class="separator:a62037e912792de0af5c2e40b597849c1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a70890c8ac671399c704ea7e43f4cc7b1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a70890c8ac671399c704ea7e43f4cc7b1">setLong</a> (int32_t l)</td></tr>
<tr class="memdesc:a70890c8ac671399c704ea7e43f4cc7b1"><td class="mdescLeft"> </td><td class="mdescRight">Sets the long value of this object and changes the type to kLong. <a href="classicu_1_1Formattable.html#a70890c8ac671399c704ea7e43f4cc7b1">More...</a><br /></td></tr>
<tr class="separator:a70890c8ac671399c704ea7e43f4cc7b1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a49d258befe43a486325211dd6ceea697"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a49d258befe43a486325211dd6ceea697">setInt64</a> (int64_t ll)</td></tr>
<tr class="memdesc:a49d258befe43a486325211dd6ceea697"><td class="mdescLeft"> </td><td class="mdescRight">Sets the int64 value of this object and changes the type to kInt64. <a href="classicu_1_1Formattable.html#a49d258befe43a486325211dd6ceea697">More...</a><br /></td></tr>
<tr class="separator:a49d258befe43a486325211dd6ceea697"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a79cacc18b96a6cd115ba2a1af80348b8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a79cacc18b96a6cd115ba2a1af80348b8">setDate</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> d)</td></tr>
<tr class="memdesc:a79cacc18b96a6cd115ba2a1af80348b8"><td class="mdescLeft"> </td><td class="mdescRight">Sets the Date value of this object and changes the type to kDate. <a href="classicu_1_1Formattable.html#a79cacc18b96a6cd115ba2a1af80348b8">More...</a><br /></td></tr>
<tr class="separator:a79cacc18b96a6cd115ba2a1af80348b8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1eac6a7ecad8a84c066d29caedbf22c2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a1eac6a7ecad8a84c066d29caedbf22c2">setString</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &stringToCopy)</td></tr>
<tr class="memdesc:a1eac6a7ecad8a84c066d29caedbf22c2"><td class="mdescLeft"> </td><td class="mdescRight">Sets the string value of this object and changes the type to kString. <a href="classicu_1_1Formattable.html#a1eac6a7ecad8a84c066d29caedbf22c2">More...</a><br /></td></tr>
<tr class="separator:a1eac6a7ecad8a84c066d29caedbf22c2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a181b5dee8efa72a8b450250b4a6977ea"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a181b5dee8efa72a8b450250b4a6977ea">setArray</a> (const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> *array, int32_t count)</td></tr>
<tr class="memdesc:a181b5dee8efa72a8b450250b4a6977ea"><td class="mdescLeft"> </td><td class="mdescRight">Sets the array value and count of this object and changes the type to kArray. <a href="classicu_1_1Formattable.html#a181b5dee8efa72a8b450250b4a6977ea">More...</a><br /></td></tr>
<tr class="separator:a181b5dee8efa72a8b450250b4a6977ea"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a357447bb527bfa5fc97b45d9b17555d5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a357447bb527bfa5fc97b45d9b17555d5">adoptString</a> (<a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> *stringToAdopt)</td></tr>
<tr class="memdesc:a357447bb527bfa5fc97b45d9b17555d5"><td class="mdescLeft"> </td><td class="mdescRight">Sets and adopts the string value and count of this object and changes the type to kArray. <a href="classicu_1_1Formattable.html#a357447bb527bfa5fc97b45d9b17555d5">More...</a><br /></td></tr>
<tr class="separator:a357447bb527bfa5fc97b45d9b17555d5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8a5a37fb4bc34423fc9d4d57c0c715a6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a8a5a37fb4bc34423fc9d4d57c0c715a6">adoptArray</a> (<a class="el" href="classicu_1_1Formattable.html">Formattable</a> *array, int32_t count)</td></tr>
<tr class="memdesc:a8a5a37fb4bc34423fc9d4d57c0c715a6"><td class="mdescLeft"> </td><td class="mdescRight">Sets and adopts the array value and count of this object and changes the type to kArray. <a href="classicu_1_1Formattable.html#a8a5a37fb4bc34423fc9d4d57c0c715a6">More...</a><br /></td></tr>
<tr class="separator:a8a5a37fb4bc34423fc9d4d57c0c715a6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8dab15cd252c1939ee3111e75d89b04e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a8dab15cd252c1939ee3111e75d89b04e">adoptObject</a> (<a class="el" href="classicu_1_1UObject.html">UObject</a> *objectToAdopt)</td></tr>
<tr class="memdesc:a8dab15cd252c1939ee3111e75d89b04e"><td class="mdescLeft"> </td><td class="mdescRight">Sets and adopts the <a class="el" href="classicu_1_1UObject.html" title="UObject is the common ICU "boilerplate" class.">UObject</a> value of this object and changes the type to kObject. <a href="classicu_1_1Formattable.html#a8dab15cd252c1939ee3111e75d89b04e">More...</a><br /></td></tr>
<tr class="separator:a8dab15cd252c1939ee3111e75d89b04e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a047cf31e1ca4901cbb421777e6b41abc"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a047cf31e1ca4901cbb421777e6b41abc">setDecimalNumber</a> (<a class="el" href="classicu_1_1StringPiece.html">StringPiece</a> numberString, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr>
<tr class="memdesc:a047cf31e1ca4901cbb421777e6b41abc"><td class="mdescLeft"> </td><td class="mdescRight">Sets the the numeric value from a decimal number string, and changes the type to to a numeric type appropriate for the number. <a href="classicu_1_1Formattable.html#a047cf31e1ca4901cbb421777e6b41abc">More...</a><br /></td></tr>
<tr class="separator:a047cf31e1ca4901cbb421777e6b41abc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afe0a5b989877518833cc241bd9f73c3e"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#afe0a5b989877518833cc241bd9f73c3e">getDynamicClassID</a> () const override</td></tr>
<tr class="memdesc:afe0a5b989877518833cc241bd9f73c3e"><td class="mdescLeft"> </td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for the actual class. <a href="classicu_1_1Formattable.html#afe0a5b989877518833cc241bd9f73c3e">More...</a><br /></td></tr>
<tr class="separator:afe0a5b989877518833cc241bd9f73c3e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abec9822687a6113ed86c6d8db1c9009b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uformattable_8h.html#a9d2d5a940197ec966f492f8276ee76d9">UFormattable</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#abec9822687a6113ed86c6d8db1c9009b">toUFormattable</a> ()</td></tr>
<tr class="memdesc:abec9822687a6113ed86c6d8db1c9009b"><td class="mdescLeft"> </td><td class="mdescRight">Convert this object pointer to a UFormattable. <a href="classicu_1_1Formattable.html#abec9822687a6113ed86c6d8db1c9009b">More...</a><br /></td></tr>
<tr class="separator:abec9822687a6113ed86c6d8db1c9009b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aadb98dfb7e4a8d25037def0bf96c43b0"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="uformattable_8h.html#a9d2d5a940197ec966f492f8276ee76d9">UFormattable</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#aadb98dfb7e4a8d25037def0bf96c43b0">toUFormattable</a> () const</td></tr>
<tr class="memdesc:aadb98dfb7e4a8d25037def0bf96c43b0"><td class="mdescLeft"> </td><td class="mdescRight">Convert this object pointer to a UFormattable. <a href="classicu_1_1Formattable.html#aadb98dfb7e4a8d25037def0bf96c43b0">More...</a><br /></td></tr>
<tr class="separator:aadb98dfb7e4a8d25037def0bf96c43b0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a874183e45fe98acf1318c43e5c117455"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a874183e45fe98acf1318c43e5c117455">getLong</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status) const</td></tr>
<tr class="memdesc:a874183e45fe98acf1318c43e5c117455"><td class="mdescLeft"> </td><td class="mdescRight">Deprecated variant of getLong(UErrorCode&). <a href="classicu_1_1Formattable.html#a874183e45fe98acf1318c43e5c117455">More...</a><br /></td></tr>
<tr class="separator:a874183e45fe98acf1318c43e5c117455"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5da40332214e23336e650023e49a2c8e"><td class="memItemLeft" align="right" valign="top">number::impl::DecimalQuantity * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a5da40332214e23336e650023e49a2c8e">getDecimalQuantity</a> () const</td></tr>
<tr class="memdesc:a5da40332214e23336e650023e49a2c8e"><td class="mdescLeft"> </td><td class="mdescRight">Internal function, do not use. <a href="classicu_1_1Formattable.html#a5da40332214e23336e650023e49a2c8e">More...</a><br /></td></tr>
<tr class="separator:a5da40332214e23336e650023e49a2c8e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aeb3c98ed2841a0ff13b5c71401d2e7c7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#aeb3c98ed2841a0ff13b5c71401d2e7c7">populateDecimalQuantity</a> (number::impl::DecimalQuantity &output, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const</td></tr>
<tr class="memdesc:aeb3c98ed2841a0ff13b5c71401d2e7c7"><td class="mdescLeft"> </td><td class="mdescRight">Export the value of this <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> to a DecimalQuantity. <a href="classicu_1_1Formattable.html#aeb3c98ed2841a0ff13b5c71401d2e7c7">More...</a><br /></td></tr>
<tr class="separator:aeb3c98ed2841a0ff13b5c71401d2e7c7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6914e262a1cc6da3dfeb08efe7b3fb23"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a6914e262a1cc6da3dfeb08efe7b3fb23">adoptDecimalQuantity</a> (number::impl::DecimalQuantity *dq)</td></tr>
<tr class="memdesc:a6914e262a1cc6da3dfeb08efe7b3fb23"><td class="mdescLeft"> </td><td class="mdescRight">Adopt, and set value from, a DecimalQuantity Internal Function, do not use. <a href="classicu_1_1Formattable.html#a6914e262a1cc6da3dfeb08efe7b3fb23">More...</a><br /></td></tr>
<tr class="separator:a6914e262a1cc6da3dfeb08efe7b3fb23"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a81b5a35c295e22dcc1c702bd200b3608"><td class="memItemLeft" align="right" valign="top">CharString * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a81b5a35c295e22dcc1c702bd200b3608">internalGetCharString</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr>
<tr class="memdesc:a81b5a35c295e22dcc1c702bd200b3608"><td class="mdescLeft"> </td><td class="mdescRight">Internal function to return the CharString pointer. <a href="classicu_1_1Formattable.html#a81b5a35c295e22dcc1c702bd200b3608">More...</a><br /></td></tr>
<tr class="separator:a81b5a35c295e22dcc1c702bd200b3608"><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"><td class="memItemLeft" align="right" valign="top">virtual </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. <a href="classicu_1_1UObject.html#af10026497704f510d3d1f2eff50acb18">More...</a><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 name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a1669e3d4f141f6eec9b46c898d2a1fca"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a1669e3d4f141f6eec9b46c898d2a1fca">getStaticClassID</a> ()</td></tr>
<tr class="memdesc:a1669e3d4f141f6eec9b46c898d2a1fca"><td class="mdescLeft"> </td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for this class. <a href="classicu_1_1Formattable.html#a1669e3d4f141f6eec9b46c898d2a1fca">More...</a><br /></td></tr>
<tr class="separator:a1669e3d4f141f6eec9b46c898d2a1fca"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a01111b0e2d3edc72fe503e62de71219f"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1Formattable.html">Formattable</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a01111b0e2d3edc72fe503e62de71219f">fromUFormattable</a> (<a class="el" href="uformattable_8h.html#a9d2d5a940197ec966f492f8276ee76d9">UFormattable</a> *fmt)</td></tr>
<tr class="memdesc:a01111b0e2d3edc72fe503e62de71219f"><td class="mdescLeft"> </td><td class="mdescRight">Convert the UFormattable to a <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a>. <a href="classicu_1_1Formattable.html#a01111b0e2d3edc72fe503e62de71219f">More...</a><br /></td></tr>
<tr class="separator:a01111b0e2d3edc72fe503e62de71219f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0c7b907f3d3e121f363787a356bc3ae2"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Formattable.html#a0c7b907f3d3e121f363787a356bc3ae2">fromUFormattable</a> (const <a class="el" href="uformattable_8h.html#a9d2d5a940197ec966f492f8276ee76d9">UFormattable</a> *fmt)</td></tr>
<tr class="memdesc:a0c7b907f3d3e121f363787a356bc3ae2"><td class="mdescLeft"> </td><td class="mdescRight">Convert the const UFormattable to a const <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a>. <a href="classicu_1_1Formattable.html#a0c7b907f3d3e121f363787a356bc3ae2">More...</a><br /></td></tr>
<tr class="separator:a0c7b907f3d3e121f363787a356bc3ae2"><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 class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> objects can be passed to the <a class="el" href="classicu_1_1Format.html" title="Base class for all formats.">Format</a> class or its subclasses for formatting. </p>
<p><a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> is a thin wrapper class which interconverts between the primitive numeric types (double, long, etc.) as well as UDate and <a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>.</p>
<p>Internally, a <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object is a union of primitive types. As such, it can only store one flavor of data at a time. To determine what flavor of data it contains, use the getType method.</p>
<p>As of ICU 3.0, <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> may also wrap a <a class="el" href="classicu_1_1UObject.html" title="UObject is the common ICU "boilerplate" class.">UObject</a> pointer, which it owns. This allows an instance of any ICU class to be encapsulated in a <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a>. For legacy reasons and for efficiency, primitive numeric types are still stored directly within a <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a>.</p>
<p>The <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> class is not suitable for subclassing.</p>
<p>See UFormattable for a C wrapper. </p>
<p class="definition">Definition at line <a class="el" href="fmtable_8h_source.html#l00064">64</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="ae4010ddd561aeea0281613e10f23c7bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae4010ddd561aeea0281613e10f23c7bf">◆ </a></span>ISDATE</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classicu_1_1Formattable.html#ae4010ddd561aeea0281613e10f23c7bf">icu::Formattable::ISDATE</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>This enum is only used to let callers distinguish between the <a class="el" href="classicu_1_1Formattable.html#a599c9c44d6e24e404de3369513324973" title="Creates a Formattable object with a double number.">Formattable(UDate)</a> constructor and the <a class="el" href="classicu_1_1Formattable.html#a599c9c44d6e24e404de3369513324973" title="Creates a Formattable object with a double number.">Formattable(double)</a> constructor; the compiler cannot distinguish the signatures, since UDate is currently typedefed to be either double or long. </p>
<p>If UDate is changed later to be a bonafide class or struct, then we no longer need this enum. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable004110">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
<p class="definition">Definition at line <a class="el" href="fmtable_8h_source.html#l00075">75</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>
</div>
</div>
<a id="a74d75e74861f3e85b76349f294317166"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a74d75e74861f3e85b76349f294317166">◆ </a></span>Type</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classicu_1_1Formattable.html#a74d75e74861f3e85b76349f294317166">icu::Formattable::Type</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Selector for flavor of data type contained within a <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object. </p>
<p><a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> is a union of several different types, and at any time contains exactly one type. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable004128">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a74d75e74861f3e85b76349f294317166ad007cfc98395c661bc59f400247596b5"></a>kDate </td><td class="fielddoc"><p>Selector indicating a UDate value. </p>
<p>Use getDate to retrieve the value. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable004166">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="a74d75e74861f3e85b76349f294317166a0283c208de31be47f6ccd35baeffa2b5"></a>kDouble </td><td class="fielddoc"><p>Selector indicating a double value. </p>
<p>Use getDouble to retrieve the value. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable004167">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="a74d75e74861f3e85b76349f294317166a476fbd5f69394241b38ef3924d57a01f"></a>kLong </td><td class="fielddoc"><p>Selector indicating a 32-bit integer value. </p>
<p>Use getLong to retrieve the value. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable004168">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="a74d75e74861f3e85b76349f294317166a9ba463d0564122c3c282ec42760416b9"></a>kString </td><td class="fielddoc"><p>Selector indicating a <a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> value. </p>
<p>Use getString to retrieve the value. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable004169">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="a74d75e74861f3e85b76349f294317166a40c0f7e6e821dc2446144147c1c16608"></a>kArray </td><td class="fielddoc"><p>Selector indicating an array of Formattables. </p>
<p>Use getArray to retrieve the value. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable004170">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="a74d75e74861f3e85b76349f294317166a971c02c7f262c51cfdc4b836a7939ddd"></a>kInt64 </td><td class="fielddoc"><p>Selector indicating a 64-bit integer value. </p>
<p>Use getInt64 to retrieve the value. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable004171">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="a74d75e74861f3e85b76349f294317166a3b9928998b193e3efa87ee5a0ec8f9d6"></a>kObject </td><td class="fielddoc"><p>Selector indicating a <a class="el" href="classicu_1_1UObject.html" title="UObject is the common ICU "boilerplate" class.">UObject</a> value. </p>
<p>Use getObject to retrieve the value. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable004172">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>
</td></tr>
</table>
<p class="definition">Definition at line <a class="el" href="fmtable_8h_source.html#l00221">221</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="a61e9b62f0234fff0033b093bb9b8cc2f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a61e9b62f0234fff0033b093bb9b8cc2f">◆ </a></span>Formattable() <span class="overload">[1/12]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">icu::Formattable::Formattable </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Default constructor. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004111">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
</div>
</div>
<a id="a89405f6be9972c5bdc3ae98892a11363"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a89405f6be9972c5bdc3ae98892a11363">◆ </a></span>Formattable() <span class="overload">[2/12]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">icu::Formattable::Formattable </td>
<td>(</td>
<td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> </td>
<td class="paramname"><em>d</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classicu_1_1Formattable.html#ae4010ddd561aeea0281613e10f23c7bf">ISDATE</a> </td>
<td class="paramname"><em>flag</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object with a UDate instance. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">d</td><td>the UDate instance. </td></tr>
<tr><td class="paramname">flag</td><td>the flag to indicate this is a date. Always set it to kIsDate </td></tr>
</table>
</dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004112">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
</div>
</div>
<a id="a599c9c44d6e24e404de3369513324973"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a599c9c44d6e24e404de3369513324973">◆ </a></span>Formattable() <span class="overload">[3/12]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">icu::Formattable::Formattable </td>
<td>(</td>
<td class="paramtype">double </td>
<td class="paramname"><em>d</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object with a double number. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">d</td><td>the double number. </td></tr>
</table>
</dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004113">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
</div>
</div>
<a id="acca7d27b4c7f19e5e8906dcd1e1821e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acca7d27b4c7f19e5e8906dcd1e1821e8">◆ </a></span>Formattable() <span class="overload">[4/12]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">icu::Formattable::Formattable </td>
<td>(</td>
<td class="paramtype">int32_t </td>
<td class="paramname"><em>l</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object with a long number. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">l</td><td>the long number. </td></tr>
</table>
</dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004114">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
</div>
</div>
<a id="af966ddd973331cea2184f6857860c749"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af966ddd973331cea2184f6857860c749">◆ </a></span>Formattable() <span class="overload">[5/12]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">icu::Formattable::Formattable </td>
<td>(</td>
<td class="paramtype">int64_t </td>
<td class="paramname"><em>ll</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object with an int64_t number. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ll</td><td>the int64_t number. </td></tr>
</table>
</dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004115">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>
</div>
</div>
<a id="a843f2111d3e7cb6bd858b1213510293d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a843f2111d3e7cb6bd858b1213510293d">◆ </a></span>Formattable() <span class="overload">[6/12]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">icu::Formattable::Formattable </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>strToCopy</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object with a char string pointer. </p>
<p>Assumes that the char string is null terminated. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">strToCopy</td><td>the char string. </td></tr>
</table>
</dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004116">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
</div>
</div>
<a id="a0505d26515fa1bbac3dd46a7e15e120e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0505d26515fa1bbac3dd46a7e15e120e">◆ </a></span>Formattable() <span class="overload">[7/12]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">icu::Formattable::Formattable </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classicu_1_1StringPiece.html">StringPiece</a> </td>
<td class="paramname"><em>number</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>status</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object of an appropriate numeric type from a a decimal number in string form. </p>
<p>The <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> will retain the full precision of the input in decimal format, even when it exceeds what can be represented by a double or int64_t.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">number</td><td>the unformatted (not localized) string representation of the Decimal number. </td></tr>
<tr><td class="paramname">status</td><td>the error code. Possible errors include U_INVALID_FORMAT_ERROR if the format of the string does not conform to that of a decimal number. </td></tr>
</table>
</dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004117">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl>
</div>
</div>
<a id="a6668e532b131395ffe4b89596dc6f90a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6668e532b131395ffe4b89596dc6f90a">◆ </a></span>Formattable() <span class="overload">[8/12]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">icu::Formattable::Formattable </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td>
<td class="paramname"><em>strToCopy</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object with a <a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> object to copy from. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">strToCopy</td><td>the <a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> string. </td></tr>
</table>
</dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004118">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
</div>
</div>
<a id="a10b5bf072f9225e7b37161266b079d77"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a10b5bf072f9225e7b37161266b079d77">◆ </a></span>Formattable() <span class="overload">[9/12]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">icu::Formattable::Formattable </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> * </td>
<td class="paramname"><em>strToAdopt</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object with a <a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> object to adopt from. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">strToAdopt</td><td>the <a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> string. </td></tr>
</table>
</dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004119">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
</div>
</div>
<a id="ac6a6e4da71730e948ab800fe439dbd24"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6a6e4da71730e948ab800fe439dbd24">◆ </a></span>Formattable() <span class="overload">[10/12]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">icu::Formattable::Formattable </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> * </td>
<td class="paramname"><em>arrayToCopy</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int32_t </td>
<td class="paramname"><em>count</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object with an array of <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> objects. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">arrayToCopy</td><td>the <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object array. </td></tr>
<tr><td class="paramname">count</td><td>the array count. </td></tr>
</table>
</dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004120">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
</div>
</div>
<a id="a3ab361f73fcaa609a334bed021f6f075"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ab361f73fcaa609a334bed021f6f075">◆ </a></span>Formattable() <span class="overload">[11/12]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">icu::Formattable::Formattable </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classicu_1_1UObject.html">UObject</a> * </td>
<td class="paramname"><em>objectToAdopt</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object that adopts the given <a class="el" href="classicu_1_1UObject.html" title="UObject is the common ICU "boilerplate" class.">UObject</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">objectToAdopt</td><td>the <a class="el" href="classicu_1_1UObject.html" title="UObject is the common ICU "boilerplate" class.">UObject</a> to set this object to </td></tr>
</table>
</dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004121">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>
</div>
</div>
<a id="acbdca7d68bf89e3580d6d84afe3745fc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acbdca7d68bf89e3580d6d84afe3745fc">◆ </a></span>Formattable() <span class="overload">[12/12]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">icu::Formattable::Formattable </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> & </td>
<td class="paramname"></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#_stable004122">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
</div>
</div>
<a id="ad6c493461b23c8b3235b9a169ff566de"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad6c493461b23c8b3235b9a169ff566de">◆ </a></span>~Formattable()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual icu::Formattable::~Formattable </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#_stable004126">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a8a5a37fb4bc34423fc9d4d57c0c715a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8a5a37fb4bc34423fc9d4d57c0c715a6">◆ </a></span>adoptArray()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void icu::Formattable::adoptArray </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classicu_1_1Formattable.html">Formattable</a> * </td>
<td class="paramname"><em>array</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int32_t </td>
<td class="paramname"><em>count</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets and adopts the array value and count of this object and changes the type to kArray. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004157">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
</div>
</div>
<a id="a6914e262a1cc6da3dfeb08efe7b3fb23"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6914e262a1cc6da3dfeb08efe7b3fb23">◆ </a></span>adoptDecimalQuantity()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void icu::Formattable::adoptDecimalQuantity </td>
<td>(</td>
<td class="paramtype">number::impl::DecimalQuantity * </td>
<td class="paramname"><em>dq</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adopt, and set value from, a DecimalQuantity Internal Function, do not use. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">dq</td><td>the DecimalQuantity to be adopted </td></tr>
</table>
</dd>
</dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000305">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>
</div>
</div>
<a id="a8dab15cd252c1939ee3111e75d89b04e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8dab15cd252c1939ee3111e75d89b04e">◆ </a></span>adoptObject()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void icu::Formattable::adoptObject </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classicu_1_1UObject.html">UObject</a> * </td>
<td class="paramname"><em>objectToAdopt</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets and adopts the <a class="el" href="classicu_1_1UObject.html" title="UObject is the common ICU "boilerplate" class.">UObject</a> value of this object and changes the type to kObject. </p>
<p>After this call, the caller must not delete the given object. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">objectToAdopt</td><td>the <a class="el" href="classicu_1_1UObject.html" title="UObject is the common ICU "boilerplate" class.">UObject</a> value to be adopted </td></tr>
</table>
</dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004158">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>
</div>
</div>
<a id="a357447bb527bfa5fc97b45d9b17555d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a357447bb527bfa5fc97b45d9b17555d5">◆ </a></span>adoptString()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void icu::Formattable::adoptString </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> * </td>
<td class="paramname"><em>stringToAdopt</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets and adopts the string value and count of this object and changes the type to kArray. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stringToAdopt</td><td>the new string value to be adopted. </td></tr>
</table>
</dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004156">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
</div>
</div>
<a id="a149c7d8fcf8c660800984638af0a44f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a149c7d8fcf8c660800984638af0a44f1">◆ </a></span>clone()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classicu_1_1Formattable.html">Formattable</a>* icu::Formattable::clone </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Clone this object. </p>
<p>Clones can be used concurrently in multiple threads. If an error occurs, then nullptr is returned. The caller must delete the clone.</p>
<dl class="section return"><dt>Returns</dt><dd>a clone of this object</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classicu_1_1Formattable.html#afe0a5b989877518833cc241bd9f73c3e" title="ICU "poor man's RTTI", returns a UClassID for the actual class.">getDynamicClassID</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004127">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>
</div>
</div>
<a id="a0c7b907f3d3e121f363787a356bc3ae2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c7b907f3d3e121f363787a356bc3ae2">◆ </a></span>fromUFormattable() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> * icu::Formattable::fromUFormattable </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="uformattable_8h.html#a9d2d5a940197ec966f492f8276ee76d9">UFormattable</a> * </td>
<td class="paramname"><em>fmt</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Convert the const UFormattable to a const <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a>. </p>
<p>Internally, this is a reinterpret_cast. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fmt</td><td>a valid UFormattable </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the UFormattable as a <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object pointer. This is an alias to the original UFormattable, and so is only valid while the original argument remains in scope. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004163">Stable:</a></b></dt><dd>ICU 52 </dd></dl>
<p class="definition">Definition at line <a class="el" href="fmtable_8h_source.html#l00748">748</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>
</div>
</div>
<a id="a01111b0e2d3edc72fe503e62de71219f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a01111b0e2d3edc72fe503e62de71219f">◆ </a></span>fromUFormattable() <span class="overload">[2/2]</span></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_1Formattable.html">Formattable</a> * icu::Formattable::fromUFormattable </td>
<td>(</td>
<td class="paramtype"><a class="el" href="uformattable_8h.html#a9d2d5a940197ec966f492f8276ee76d9">UFormattable</a> * </td>
<td class="paramname"><em>fmt</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Convert the UFormattable to a <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a>. </p>
<p>Internally, this is a reinterpret_cast. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fmt</td><td>a valid UFormattable </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the UFormattable as a <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object pointer. This is an alias to the original UFormattable, and so is only valid while the original argument remains in scope. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004162">Stable:</a></b></dt><dd>ICU 52 </dd></dl>
<p class="definition">Definition at line <a class="el" href="fmtable_8h_source.html#l00744">744</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>
</div>
</div>
<a id="a7b042e0f1f3d6bdbf8b6026ba61594c6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7b042e0f1f3d6bdbf8b6026ba61594c6">◆ </a></span>getArray() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classicu_1_1Formattable.html">Formattable</a>* icu::Formattable::getArray </td>
<td>(</td>
<td class="paramtype">int32_t & </td>
<td class="paramname"><em>count</em></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>Gets the array value and count of this object. </p>
<p>If this object is not of type kArray then the result is undefined. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">count</td><td>fill-in with the count of this object. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the array value of this object. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004145">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
<p class="definition">Definition at line <a class="el" href="fmtable_8h_source.html#l00443">443</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>
</div>
</div>
<a id="af710f61f4d46ef505974fb23e070b3ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af710f61f4d46ef505974fb23e070b3ee">◆ </a></span>getArray() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classicu_1_1Formattable.html">Formattable</a>* icu::Formattable::getArray </td>
<td>(</td>
<td class="paramtype">int32_t & </td>
<td class="paramname"><em>count</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>status</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the array value and count of this object. </p>
<p>If the type is not an array, status is set to U_INVALID_FORMAT_ERROR, count is set to 0, and the result is nullptr. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">count</td><td>fill-in with the count of this object. </td></tr>
<tr><td class="paramname">status</td><td>the error code. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the array value of this object. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004146">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>
</div>
</div>
<a id="af4581ae8fcad0b4e75e5c85246366e31"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af4581ae8fcad0b4e75e5c85246366e31">◆ </a></span>getDate() <span class="overload">[1/2]</span></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="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> icu::Formattable::getDate </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>Gets the Date value of this object. </p>
<p>If this object is not of type kDate then the result is undefined. </p><dl class="section return"><dt>Returns</dt><dd>the Date value of this object. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004137">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
<p class="definition">Definition at line <a class="el" href="fmtable_8h_source.html#l00366">366</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>
</div>
</div>
<a id="a0c4670b8835673248481d083dd55489b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c4670b8835673248481d083dd55489b">◆ </a></span>getDate() <span class="overload">[2/2]</span></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="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> icu::Formattable::getDate </td>
<td>(</td>
<td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td>
<td class="paramname"><em>status</em></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>Gets the Date value of this object. </p>
<p>If the type is not a date, status is set to U_INVALID_FORMAT_ERROR and the return value is undefined. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">status</td><td>the error code. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the Date value of this object. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004138">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>
<p class="definition">Definition at line <a class="el" href="fmtable_8h_source.html#l00712">712</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>
<p class="reference">References <a class="el" href="utypes_8h_source.html#l00453">U_INVALID_FORMAT_ERROR</a>, and <a class="el" href="utypes_8h_source.html#l00712">U_SUCCESS</a>.</p>
</div>
</div>
<a id="ad12a8ee43c73877fdf6670dca32ba8e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad12a8ee43c73877fdf6670dca32ba8e6">◆ </a></span>getDecimalNumber()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classicu_1_1StringPiece.html">StringPiece</a> icu::Formattable::getDecimalNumber </td>
<td>(</td>
<td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td>
<td class="paramname"><em>status</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a numeric string representation of the number contained within this formattable, or nullptr if this object does not contain numeric type. </p>
<p>For values obtained by parsing, the returned decimal number retains the full precision and range of the original input, unconstrained by the limits of a double floating point or a 64 bit int.</p>
<p>This function is not thread safe, and therefore is not declared const, even though it is logically const.</p>
<p>Possible errors include U_MEMORY_ALLOCATION_ERROR, and U_INVALID_STATE if the formattable object has not been set to a numeric type.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">status</td><td>the error code. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the unformatted string representation of a number. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004149">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl>
</div>
</div>
<a id="a5da40332214e23336e650023e49a2c8e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5da40332214e23336e650023e49a2c8e">◆ </a></span>getDecimalQuantity()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">number::impl::DecimalQuantity* icu::Formattable::getDecimalQuantity </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>Internal function, do not use. </p>
<p>TODO: figure out how to make this be non-public. <a class="el" href="classicu_1_1NumberFormat.html#afa3180a653b64ec1984dba39bb9480d5" title="Format an object to produce a string.">NumberFormat::format</a>(<a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a>, ... needs to get at the DecimalQuantity, if it exists, for big decimal formatting. </p><dl class="internal"><dt><b><a class="el" href="internal.html#_internal000303">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>
<p class="definition">Definition at line <a class="el" href="fmtable_8h_source.html#l00652">652</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>
</div>
</div>
<a id="a7b9f4d87dee9c87d5989fdf5b7d3c120"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7b9f4d87dee9c87d5989fdf5b7d3c120">◆ </a></span>getDouble() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double icu::Formattable::getDouble </td>
<td>(</td>
<td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td>
<td class="paramname"><em>status</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the double value of this object. </p>
<p>If this object is of type long, int64 or Decimal Number then a conversion is performed, with possible loss of precision. If the type is kObject and the object is a <a class="el" href="classicu_1_1Measure.html" title="An amount of a specified unit, consisting of a number and a Unit.">Measure</a>, then the result of getNumber().getDouble(status) is returned. If this object is neither a numeric type nor a <a class="el" href="classicu_1_1Measure.html" title="An amount of a specified unit, consisting of a number and a Unit.">Measure</a>, then 0 is returned and the status is set to U_INVALID_FORMAT_ERROR. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">status</td><td>the error code </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the double value of this object. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004132">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>
</div>
</div>
<a id="a88384c36bc223c69a8a2a9d115241452"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a88384c36bc223c69a8a2a9d115241452">◆ </a></span>getDouble() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">double icu::Formattable::getDouble </td>
<td>(</td>
<td class="paramtype">void </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>Gets the double value of this object. </p>
<p>If this object is not of type kDouble then the result is undefined. </p><dl class="section return"><dt>Returns</dt><dd>the double value of this object. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004131">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
<p class="definition">Definition at line <a class="el" href="fmtable_8h_source.html#l00293">293</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>
</div>
</div>
<a id="afe0a5b989877518833cc241bd9f73c3e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afe0a5b989877518833cc241bd9f73c3e">◆ </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">virtual <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> icu::Formattable::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>ICU "poor man's RTTI", returns a UClassID for the actual class. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004160">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>
<p>Reimplemented from <a class="el" href="classicu_1_1UObject.html#aca1169c4978c52ce2b76eda104e9a214">icu::UObject</a>.</p>
</div>
</div>
<a id="afc92d996a707033067d1a595a7ef9519"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc92d996a707033067d1a595a7ef9519">◆ </a></span>getInt64() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int64_t icu::Formattable::getInt64 </td>
<td>(</td>
<td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td>
<td class="paramname"><em>status</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the int64 value of this object. </p>
<p>If this object is of a numeric type and the magnitude is too large to fit in an int64, then the maximum or minimum int64 value, as appropriate, is returned and the status is set to U_INVALID_FORMAT_ERROR. If the magnitude fits in an int64, then a casting conversion is performed, with truncation of any fractional part. If the type is kObject and the object is a <a class="el" href="classicu_1_1Measure.html" title="An amount of a specified unit, consisting of a number and a Unit.">Measure</a>, then the result of getNumber().getDouble(status) is returned. If this object is neither a numeric type nor a <a class="el" href="classicu_1_1Measure.html" title="An amount of a specified unit, consisting of a number and a Unit.">Measure</a>, then 0 is returned and the status is set to U_INVALID_FORMAT_ERROR. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">status</td><td>the error code </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the int64 value of this object. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004136">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>
</div>
</div>
<a id="a2a0c0d7e7b7145328caeb5721f8ca375"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a0c0d7e7b7145328caeb5721f8ca375">◆ </a></span>getInt64() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int64_t icu::Formattable::getInt64 </td>
<td>(</td>
<td class="paramtype">void </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>Gets the int64 value of this object. </p>
<p>If this object is not of type kInt64 then the result is undefined. </p><dl class="section return"><dt>Returns</dt><dd>the int64 value of this object. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004135">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>
<p class="definition">Definition at line <a class="el" href="fmtable_8h_source.html#l00341">341</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>
</div>
</div>
<a id="af6df9476fc26e3e9c882c0007f917e82"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af6df9476fc26e3e9c882c0007f917e82">◆ </a></span>getLong() <span class="overload">[1/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int32_t icu::Formattable::getLong </td>
<td>(</td>
<td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td>
<td class="paramname"><em>status</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the long value of this object. </p>
<p>If the magnitude is too large to fit in a long, then the maximum or minimum long value, as appropriate, is returned and the status is set to U_INVALID_FORMAT_ERROR. If this object is of type kInt64 and it fits within a long, then no precision is lost. If it is of type kDouble, then a conversion is performed, with truncation of any fractional part. If the type is kObject and the object is a <a class="el" href="classicu_1_1Measure.html" title="An amount of a specified unit, consisting of a number and a Unit.">Measure</a>, then the result of getNumber().getLong(status) is returned. If this object is neither a numeric type nor a <a class="el" href="classicu_1_1Measure.html" title="An amount of a specified unit, consisting of a number and a Unit.">Measure</a>, then 0 is returned and the status is set to U_INVALID_FORMAT_ERROR. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">status</td><td>the error code </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the long value of this object. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004134">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>
</div>
</div>
<a id="a874183e45fe98acf1318c43e5c117455"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a874183e45fe98acf1318c43e5c117455">◆ </a></span>getLong() <span class="overload">[2/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int32_t icu::Formattable::getLong </td>
<td>(</td>
<td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> * </td>
<td class="paramname"><em>status</em></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>Deprecated variant of getLong(UErrorCode&). </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">status</td><td>the error code </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the long value of this object. </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000349">Deprecated:</a></b></dt><dd>ICU 3.0 use getLong(UErrorCode&) instead </dd></dl>
<p class="definition">Definition at line <a class="el" href="fmtable_8h_source.html#l00731">731</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>
</div>
</div>
<a id="ac38ce1f6de66ae692f6dbde5d408d0f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac38ce1f6de66ae692f6dbde5d408d0f8">◆ </a></span>getLong() <span class="overload">[3/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int32_t icu::Formattable::getLong </td>
<td>(</td>
<td class="paramtype">void </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>Gets the long value of this object. </p>
<p>If this object is not of type kLong then the result is undefined. </p><dl class="section return"><dt>Returns</dt><dd>the long value of this object. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004133">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
<p class="definition">Definition at line <a class="el" href="fmtable_8h_source.html#l00315">315</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>
</div>
</div>
<a id="a4626eb1f7b861b32f46b8c20e753882b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4626eb1f7b861b32f46b8c20e753882b">◆ </a></span>getObject()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classicu_1_1UObject.html">UObject</a>* icu::Formattable::getObject </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a pointer to the <a class="el" href="classicu_1_1UObject.html" title="UObject is the common ICU "boilerplate" class.">UObject</a> contained within this formattable, or nullptr if this object does not contain a <a class="el" href="classicu_1_1UObject.html" title="UObject is the common ICU "boilerplate" class.">UObject</a>. </p>
<dl class="section return"><dt>Returns</dt><dd>a <a class="el" href="classicu_1_1UObject.html" title="UObject is the common ICU "boilerplate" class.">UObject</a> pointer, or nullptr </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004148">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>
</div>
</div>
<a id="a1669e3d4f141f6eec9b46c898d2a1fca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1669e3d4f141f6eec9b46c898d2a1fca">◆ </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">static <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> icu::Formattable::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>ICU "poor man's RTTI", returns a UClassID for this class. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004161">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>
</div>
</div>
<a id="a2e6c86290a81c3916e4c4d2a517ffc44"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2e6c86290a81c3916e4c4d2a517ffc44">◆ </a></span>getString() <span class="overload">[1/6]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>& icu::Formattable::getString </td>
<td>(</td>
<td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td>
<td class="paramname"><em>status</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets a reference to the string value of this object. </p>
<p>If the type is not a string, status is set to U_INVALID_FORMAT_ERROR and the result is a bogus string. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">status</td><td>the error code. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a reference to the string value of this object. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004144">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>
</div>
</div>
<a id="aad036cf699df4d4f05a32c9bf64073e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aad036cf699df4d4f05a32c9bf64073e8">◆ </a></span>getString() <span class="overload">[2/6]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>& icu::Formattable::getString </td>
<td>(</td>
<td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td>
<td class="paramname"><em>status</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets a const reference to the string value of this object. </p>
<p>If the type is not a string, status is set to U_INVALID_FORMAT_ERROR and the result is a bogus string. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">status</td><td>the error code. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a const reference to the string value of this object. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004142">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>
</div>
</div>
<a id="ad41222bdcd8e2afcef3a6e5efd7cbb10"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad41222bdcd8e2afcef3a6e5efd7cbb10">◆ </a></span>getString() <span class="overload">[3/6]</span></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_1UnicodeString.html">UnicodeString</a>& icu::Formattable::getString </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td>
<td class="paramname"><em>result</em></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>Gets the string value of this object. </p>
<p>If this object is not of type kString then the result is undefined. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">result</td><td>Output param to receive the Date value of this object. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to 'result'. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004139">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
<p class="definition">Definition at line <a class="el" href="fmtable_8h_source.html#l00385">385</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>
</div>
</div>
<a id="aaf60d8f6b6dfe600d7b36e61d63506e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf60d8f6b6dfe600d7b36e61d63506e0">◆ </a></span>getString() <span class="overload">[4/6]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>& icu::Formattable::getString </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td>
<td class="paramname"><em>result</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>status</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the string value of this object. </p>
<p>If the type is not a string, status is set to U_INVALID_FORMAT_ERROR and a bogus string is returned. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">result</td><td>Output param to receive the Date value of this object. </td></tr>
<tr><td class="paramname">status</td><td>the error code. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to 'result'. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004140">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>
</div>
</div>
<a id="adf975403146ca178e6db1d7780656e8c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf975403146ca178e6db1d7780656e8c">◆ </a></span>getString() <span class="overload">[5/6]</span></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_1UnicodeString.html">UnicodeString</a> & icu::Formattable::getString </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td></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>Gets a reference to the string value of this object. </p>
<p>If this object is not of type kString then the result is undefined. </p><dl class="section return"><dt>Returns</dt><dd>a reference to the string value of this object. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004143">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
<p class="definition">Definition at line <a class="el" href="fmtable_8h_source.html#l00726">726</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>
</div>
</div>
<a id="a1e317cf1d8d487885cd98723fefdeeb8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e317cf1d8d487885cd98723fefdeeb8">◆ </a></span>getString() <span class="overload">[6/6]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & icu::Formattable::getString </td>
<td>(</td>
<td class="paramtype">void </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>Gets a const reference to the string value of this object. </p>
<p>If this object is not of type kString then the result is undefined. </p><dl class="section return"><dt>Returns</dt><dd>a const reference to the string value of this object. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004141">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
<p class="definition">Definition at line <a class="el" href="fmtable_8h_source.html#l00722">722</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>
</div>
</div>
<a id="aa3e4f4d55e5e8c791dc367778d8d2c4f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa3e4f4d55e5e8c791dc367778d8d2c4f">◆ </a></span>getType()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classicu_1_1Formattable.html#a74d75e74861f3e85b76349f294317166">Type</a> icu::Formattable::getType </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the data type of this <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object. </p>
<dl class="section return"><dt>Returns</dt><dd>the data type of this <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004129">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
</div>
</div>
<a id="a81b5a35c295e22dcc1c702bd200b3608"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a81b5a35c295e22dcc1c702bd200b3608">◆ </a></span>internalGetCharString()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">CharString* icu::Formattable::internalGetCharString </td>
<td>(</td>
<td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td>
<td class="paramname"><em>status</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Internal function to return the CharString pointer. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">status</td><td>error code </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pointer to the CharString - may become invalid if the object is modified </dd></dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000306">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>
</div>
</div>
<a id="a2712d81463e341a2765f7fcc1b074066"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2712d81463e341a2765f7fcc1b074066">◆ </a></span>isNumeric()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::Formattable::isNumeric </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if the data type of this <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object is kDouble, kLong, or kInt64. </p>
<dl class="section return"><dt>Returns</dt><dd>true if this is a pure numeric object </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004130">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>
</div>
</div>
<a id="ae5b1e0194b7f877b0801c5e5e0da30c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae5b1e0194b7f877b0801c5e5e0da30c8">◆ </a></span>operator!=()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool icu::Formattable::operator!= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> & </td>
<td class="paramname"><em>other</em></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>Equality operator. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">other</td><td>the object to be compared with. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if other are unequal to this, false otherwise. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004125">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
<p class="definition">Definition at line <a class="el" href="fmtable_8h_source.html#l00193">193</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>
<p class="reference">References <a class="el" href="namespaceicu.html#a1c2f6ca43e636f38d1a3291eb851e9f0">icu::operator==()</a>.</p>
</div>
</div>
<a id="a0afa72455e59d7a457672e5ee9e93be4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0afa72455e59d7a457672e5ee9e93be4">◆ </a></span>operator=()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classicu_1_1Formattable.html">Formattable</a>& icu::Formattable::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> & </td>
<td class="paramname"><em>rhs</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Assignment operator. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">rhs</td><td>The <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object to copy into this object. </td></tr>
</table>
</dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004123">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
</div>
</div>
<a id="aa7d316d02206e44f32854df8f5ab0c79"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa7d316d02206e44f32854df8f5ab0c79">◆ </a></span>operator==()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool icu::Formattable::operator== </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> & </td>
<td class="paramname"><em>other</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Equality comparison. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">other</td><td>the object to be compared with. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if other are equal to this, false otherwise. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004124">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
</div>
</div>
<a id="a162975f9d3e09f621fb6f714d3aa49fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a162975f9d3e09f621fb6f714d3aa49fb">◆ </a></span>operator[]()</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_1Formattable.html">Formattable</a>& icu::Formattable::operator[] </td>
<td>(</td>
<td class="paramtype">int32_t </td>
<td class="paramname"><em>index</em></td><td>)</td>
<td></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>Accesses the specified element in the array value of this <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object. </p>
<p>If this object is not of type kArray then the result is undefined. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">index</td><td>the specified index. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the accessed element in the array. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004147">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
<p class="definition">Definition at line <a class="el" href="fmtable_8h_source.html#l00465">465</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>
</div>
</div>
<a id="aeb3c98ed2841a0ff13b5c71401d2e7c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb3c98ed2841a0ff13b5c71401d2e7c7">◆ </a></span>populateDecimalQuantity()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void icu::Formattable::populateDecimalQuantity </td>
<td>(</td>
<td class="paramtype">number::impl::DecimalQuantity & </td>
<td class="paramname"><em>output</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>status</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Export the value of this <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> to a DecimalQuantity. </p>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000304">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>
</div>
</div>
<a id="a181b5dee8efa72a8b450250b4a6977ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a181b5dee8efa72a8b450250b4a6977ea">◆ </a></span>setArray()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void icu::Formattable::setArray </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classicu_1_1Formattable.html">Formattable</a> * </td>
<td class="paramname"><em>array</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int32_t </td>
<td class="paramname"><em>count</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the array value and count of this object and changes the type to kArray. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">array</td><td>the array value. </td></tr>
<tr><td class="paramname">count</td><td>the number of array elements to be copied. </td></tr>
</table>
</dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004155">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
</div>
</div>
<a id="a79cacc18b96a6cd115ba2a1af80348b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a79cacc18b96a6cd115ba2a1af80348b8">◆ </a></span>setDate()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void icu::Formattable::setDate </td>
<td>(</td>
<td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> </td>
<td class="paramname"><em>d</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the Date value of this object and changes the type to kDate. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">d</td><td>the new Date value to be set. </td></tr>
</table>
</dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004153">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
</div>
</div>
<a id="a047cf31e1ca4901cbb421777e6b41abc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a047cf31e1ca4901cbb421777e6b41abc">◆ </a></span>setDecimalNumber()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void icu::Formattable::setDecimalNumber </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classicu_1_1StringPiece.html">StringPiece</a> </td>
<td class="paramname"><em>numberString</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>status</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the the numeric value from a decimal number string, and changes the type to to a numeric type appropriate for the number. </p>
<p>The syntax of the number is a "numeric string" as defined in the Decimal Arithmetic Specification, available at <a href="http://speleotrove.com/decimal">http://speleotrove.com/decimal</a> The full precision and range of the input number will be retained, even when it exceeds what can be represented by a double or an int64.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">numberString</td><td>a string representation of the unformatted decimal number. </td></tr>
<tr><td class="paramname">status</td><td>the error code. Set to U_INVALID_FORMAT_ERROR if the incoming string is not a valid decimal number. </td></tr>
</table>
</dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004159">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl>
</div>
</div>
<a id="a62037e912792de0af5c2e40b597849c1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62037e912792de0af5c2e40b597849c1">◆ </a></span>setDouble()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void icu::Formattable::setDouble </td>
<td>(</td>
<td class="paramtype">double </td>
<td class="paramname"><em>d</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the double value of this object and changes the type to kDouble. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">d</td><td>the new double value to be set. </td></tr>
</table>
</dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004150">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
</div>
</div>
<a id="a49d258befe43a486325211dd6ceea697"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49d258befe43a486325211dd6ceea697">◆ </a></span>setInt64()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void icu::Formattable::setInt64 </td>
<td>(</td>
<td class="paramtype">int64_t </td>
<td class="paramname"><em>ll</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the int64 value of this object and changes the type to kInt64. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ll</td><td>the new int64 value to be set. </td></tr>
</table>
</dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004152">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>
</div>
</div>
<a id="a70890c8ac671399c704ea7e43f4cc7b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a70890c8ac671399c704ea7e43f4cc7b1">◆ </a></span>setLong()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void icu::Formattable::setLong </td>
<td>(</td>
<td class="paramtype">int32_t </td>
<td class="paramname"><em>l</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the long value of this object and changes the type to kLong. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">l</td><td>the new long value to be set. </td></tr>
</table>
</dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004151">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
</div>
</div>
<a id="a1eac6a7ecad8a84c066d29caedbf22c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1eac6a7ecad8a84c066d29caedbf22c2">◆ </a></span>setString()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void icu::Formattable::setString </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td>
<td class="paramname"><em>stringToCopy</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the string value of this object and changes the type to kString. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stringToCopy</td><td>the new string value to be set. </td></tr>
</table>
</dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004154">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
</div>
</div>
<a id="abec9822687a6113ed86c6d8db1c9009b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abec9822687a6113ed86c6d8db1c9009b">◆ </a></span>toUFormattable() <span class="overload">[1/2]</span></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="uformattable_8h.html#a9d2d5a940197ec966f492f8276ee76d9">UFormattable</a> * icu::Formattable::toUFormattable </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></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>Convert this object pointer to a UFormattable. </p>
<dl class="section return"><dt>Returns</dt><dd>this object as a UFormattable pointer. This is an alias to this object, and so is only valid while this object remains in scope. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004164">Stable:</a></b></dt><dd>ICU 52 </dd></dl>
<p class="definition">Definition at line <a class="el" href="fmtable_8h_source.html#l00736">736</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>
</div>
</div>
<a id="aadb98dfb7e4a8d25037def0bf96c43b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aadb98dfb7e4a8d25037def0bf96c43b0">◆ </a></span>toUFormattable() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="uformattable_8h.html#a9d2d5a940197ec966f492f8276ee76d9">UFormattable</a> * icu::Formattable::toUFormattable </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>Convert this object pointer to a UFormattable. </p>
<dl class="section return"><dt>Returns</dt><dd>this object as a UFormattable pointer. This is an alias to this object, and so is only valid while this object remains in scope. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004165">Stable:</a></b></dt><dd>ICU 52 </dd></dl>
<p class="definition">Definition at line <a class="el" href="fmtable_8h_source.html#l00740">740</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>i18n/unicode/<a class="el" href="fmtable_8h_source.html">fmtable.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.1
</small></address>
</body>
</html>