Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > ae3ac0f3c84b68877416000d08e53ca8 > files > 128

libicu-doc-49.1.1-12.fc18.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.8.3.1"/>
<title>ICU 49.1.1: 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 style="padding-left: 0.5em;">
   <div id="projectname">ICU 49.1.1
   &#160;<span id="projectnumber">49.1.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">Formattable Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="classFormattable.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="classFormat.html" title="Base class for all formats.">Format</a> class or its subclasses for formatting.  
 <a href="classFormattable.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="fmtable_8h_source.html">fmtable.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Formattable:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classFormattable.png" usemap="#Formattable_map" alt=""/>
  <map id="Formattable_map" name="Formattable_map">
<area href="classUObject.html" title="UObject is the common ICU &quot;boilerplate&quot; class." alt="UObject" shape="rect" coords="0,56,78,80"/>
<area href="classUMemory.html" title="UMemory is the common ICU base class." alt="UMemory" shape="rect" coords="0,0,78,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:a0016ff3fd3a8b77b1775db4d8053dc77"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a0016ff3fd3a8b77b1775db4d8053dc77">ISDATE</a> { <b>kIsDate</b>
 }</td></tr>
<tr class="memdesc:a0016ff3fd3a8b77b1775db4d8053dc77"><td class="mdescLeft">&#160;</td><td class="mdescRight">This enum is only used to let callers distinguish between the <a class="el" href="classFormattable.html#a57cfe4ad057dc091814d380da9b33d63" title="Creates a Formattable object with a double number.">Formattable(UDate)</a> constructor and the <a class="el" href="classFormattable.html#a57cfe4ad057dc091814d380da9b33d63" 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="classFormattable.html#a0016ff3fd3a8b77b1775db4d8053dc77">More...</a><br/></td></tr>
<tr class="separator:a0016ff3fd3a8b77b1775db4d8053dc77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6116dce32d34fe529d3a15c4f4d587a9"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a6116dce32d34fe529d3a15c4f4d587a9">Type</a> { <br/>
&#160;&#160;<a class="el" href="classFormattable.html#a6116dce32d34fe529d3a15c4f4d587a9a5b0ae01d869868e36ddc2d548bdfebbb">kDate</a>, 
<a class="el" href="classFormattable.html#a6116dce32d34fe529d3a15c4f4d587a9a20df50b64f4c08d5ddc94d5491978bd6">kDouble</a>, 
<a class="el" href="classFormattable.html#a6116dce32d34fe529d3a15c4f4d587a9ab2c013b122f7d28fc6cb971c6be8fb81">kLong</a>, 
<a class="el" href="classFormattable.html#a6116dce32d34fe529d3a15c4f4d587a9a065be6ed91ee0a3d57cbac3df2755415">kString</a>, 
<br/>
&#160;&#160;<a class="el" href="classFormattable.html#a6116dce32d34fe529d3a15c4f4d587a9a91a06b3e0bcd39b0d25be34ece2f85e8">kArray</a>, 
<a class="el" href="classFormattable.html#a6116dce32d34fe529d3a15c4f4d587a9aeea564410cc4d45c86d9e6477d4247be">kInt64</a>, 
<a class="el" href="classFormattable.html#a6116dce32d34fe529d3a15c4f4d587a9a950ff294472e1c07e148a21f98f56b9c">kObject</a>
<br/>
 }</td></tr>
<tr class="memdesc:a6116dce32d34fe529d3a15c4f4d587a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Selector for flavor of data type contained within a <a class="el" href="classFormattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object.  <a href="classFormattable.html#a6116dce32d34fe529d3a15c4f4d587a9">More...</a><br/></td></tr>
<tr class="separator:a6116dce32d34fe529d3a15c4f4d587a9"><td class="memSeparator" colspan="2">&#160;</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:a1b05d47998d1d08e2d3a4a772f482d65"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a1b05d47998d1d08e2d3a4a772f482d65">Formattable</a> ()</td></tr>
<tr class="memdesc:a1b05d47998d1d08e2d3a4a772f482d65"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor.  <a href="#a1b05d47998d1d08e2d3a4a772f482d65">More...</a><br/></td></tr>
<tr class="separator:a1b05d47998d1d08e2d3a4a772f482d65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72bada90a8c8c0fddcad9e8c6e172890"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a72bada90a8c8c0fddcad9e8c6e172890">Formattable</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> d, <a class="el" href="classFormattable.html#a0016ff3fd3a8b77b1775db4d8053dc77">ISDATE</a> flag)</td></tr>
<tr class="memdesc:a72bada90a8c8c0fddcad9e8c6e172890"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="classFormattable.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="#a72bada90a8c8c0fddcad9e8c6e172890">More...</a><br/></td></tr>
<tr class="separator:a72bada90a8c8c0fddcad9e8c6e172890"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57cfe4ad057dc091814d380da9b33d63"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a57cfe4ad057dc091814d380da9b33d63">Formattable</a> (double d)</td></tr>
<tr class="memdesc:a57cfe4ad057dc091814d380da9b33d63"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="classFormattable.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="#a57cfe4ad057dc091814d380da9b33d63">More...</a><br/></td></tr>
<tr class="separator:a57cfe4ad057dc091814d380da9b33d63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94fe9340c7d26bd247eb34cc077ba2d6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a94fe9340c7d26bd247eb34cc077ba2d6">Formattable</a> (int32_t l)</td></tr>
<tr class="memdesc:a94fe9340c7d26bd247eb34cc077ba2d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="classFormattable.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="#a94fe9340c7d26bd247eb34cc077ba2d6">More...</a><br/></td></tr>
<tr class="separator:a94fe9340c7d26bd247eb34cc077ba2d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ac0e62441b18c7fdadf4d8a070d3cd5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a0ac0e62441b18c7fdadf4d8a070d3cd5">Formattable</a> (int64_t ll)</td></tr>
<tr class="memdesc:a0ac0e62441b18c7fdadf4d8a070d3cd5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="classFormattable.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="#a0ac0e62441b18c7fdadf4d8a070d3cd5">More...</a><br/></td></tr>
<tr class="separator:a0ac0e62441b18c7fdadf4d8a070d3cd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09ede03bafb98f409597eb15f1ce2c4c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a09ede03bafb98f409597eb15f1ce2c4c">Formattable</a> (const char *strToCopy)</td></tr>
<tr class="memdesc:a09ede03bafb98f409597eb15f1ce2c4c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="classFormattable.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="#a09ede03bafb98f409597eb15f1ce2c4c">More...</a><br/></td></tr>
<tr class="separator:a09ede03bafb98f409597eb15f1ce2c4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3613a941665a4d994b5cd959532dedb4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a3613a941665a4d994b5cd959532dedb4">Formattable</a> (const <a class="el" href="classStringPiece.html">StringPiece</a> &amp;number, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a3613a941665a4d994b5cd959532dedb4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="classFormattable.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="#a3613a941665a4d994b5cd959532dedb4">More...</a><br/></td></tr>
<tr class="separator:a3613a941665a4d994b5cd959532dedb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40b32124a7750edd8fdd9fe33062dda0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a40b32124a7750edd8fdd9fe33062dda0">Formattable</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;strToCopy)</td></tr>
<tr class="memdesc:a40b32124a7750edd8fdd9fe33062dda0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="classFormattable.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="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> object to copy from.  <a href="#a40b32124a7750edd8fdd9fe33062dda0">More...</a><br/></td></tr>
<tr class="separator:a40b32124a7750edd8fdd9fe33062dda0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10210c262e0e2ca49adebd71d04512f4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a10210c262e0e2ca49adebd71d04512f4">Formattable</a> (<a class="el" href="classUnicodeString.html">UnicodeString</a> *strToAdopt)</td></tr>
<tr class="memdesc:a10210c262e0e2ca49adebd71d04512f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="classFormattable.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="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> object to adopt from.  <a href="#a10210c262e0e2ca49adebd71d04512f4">More...</a><br/></td></tr>
<tr class="separator:a10210c262e0e2ca49adebd71d04512f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ec708cf73438029dfb7347b1df400ab"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a8ec708cf73438029dfb7347b1df400ab">Formattable</a> (const <a class="el" href="classFormattable.html">Formattable</a> *arrayToCopy, int32_t count)</td></tr>
<tr class="memdesc:a8ec708cf73438029dfb7347b1df400ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="classFormattable.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="classFormattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> objects.  <a href="#a8ec708cf73438029dfb7347b1df400ab">More...</a><br/></td></tr>
<tr class="separator:a8ec708cf73438029dfb7347b1df400ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a261760e59c78a4b94797c9b0457a9b78"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a261760e59c78a4b94797c9b0457a9b78">Formattable</a> (<a class="el" href="classUObject.html">UObject</a> *objectToAdopt)</td></tr>
<tr class="memdesc:a261760e59c78a4b94797c9b0457a9b78"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="classFormattable.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="classUObject.html" title="UObject is the common ICU &quot;boilerplate&quot; class.">UObject</a>.  <a href="#a261760e59c78a4b94797c9b0457a9b78">More...</a><br/></td></tr>
<tr class="separator:a261760e59c78a4b94797c9b0457a9b78"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a483628d21dab7e101a953c6ce26d6f2b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a483628d21dab7e101a953c6ce26d6f2b">Formattable</a> (const <a class="el" href="classFormattable.html">Formattable</a> &amp;)</td></tr>
<tr class="memdesc:a483628d21dab7e101a953c6ce26d6f2b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor.  <a href="#a483628d21dab7e101a953c6ce26d6f2b">More...</a><br/></td></tr>
<tr class="separator:a483628d21dab7e101a953c6ce26d6f2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5236bed18d2df007c9badcebed0ff827"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classFormattable.html">Formattable</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a5236bed18d2df007c9badcebed0ff827">operator=</a> (const <a class="el" href="classFormattable.html">Formattable</a> &amp;rhs)</td></tr>
<tr class="memdesc:a5236bed18d2df007c9badcebed0ff827"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator.  <a href="#a5236bed18d2df007c9badcebed0ff827">More...</a><br/></td></tr>
<tr class="separator:a5236bed18d2df007c9badcebed0ff827"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a569b2871185bf920541e35854e7acf6a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a569b2871185bf920541e35854e7acf6a">operator==</a> (const <a class="el" href="classFormattable.html">Formattable</a> &amp;other) const </td></tr>
<tr class="memdesc:a569b2871185bf920541e35854e7acf6a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Equality comparison.  <a href="#a569b2871185bf920541e35854e7acf6a">More...</a><br/></td></tr>
<tr class="separator:a569b2871185bf920541e35854e7acf6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf1439b3bd065e6a72cbd2b93ac0ff7b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#acf1439b3bd065e6a72cbd2b93ac0ff7b">operator!=</a> (const <a class="el" href="classFormattable.html">Formattable</a> &amp;other) const </td></tr>
<tr class="memdesc:acf1439b3bd065e6a72cbd2b93ac0ff7b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Equality operator.  <a href="#acf1439b3bd065e6a72cbd2b93ac0ff7b">More...</a><br/></td></tr>
<tr class="separator:acf1439b3bd065e6a72cbd2b93ac0ff7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affa7784f060d736f816080b2f8bd264d"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#affa7784f060d736f816080b2f8bd264d">~Formattable</a> ()</td></tr>
<tr class="memdesc:affa7784f060d736f816080b2f8bd264d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#affa7784f060d736f816080b2f8bd264d">More...</a><br/></td></tr>
<tr class="separator:affa7784f060d736f816080b2f8bd264d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22da1f90aa428c9e6f550c8db0fa6170"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classFormattable.html">Formattable</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a22da1f90aa428c9e6f550c8db0fa6170">clone</a> () const </td></tr>
<tr class="memdesc:a22da1f90aa428c9e6f550c8db0fa6170"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clone this object.  <a href="#a22da1f90aa428c9e6f550c8db0fa6170">More...</a><br/></td></tr>
<tr class="separator:a22da1f90aa428c9e6f550c8db0fa6170"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf6a729059c865edb91d8f43f54382fa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classFormattable.html#a6116dce32d34fe529d3a15c4f4d587a9">Type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#aaf6a729059c865edb91d8f43f54382fa">getType</a> (void) const </td></tr>
<tr class="memdesc:aaf6a729059c865edb91d8f43f54382fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the data type of this <a class="el" href="classFormattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object.  <a href="#aaf6a729059c865edb91d8f43f54382fa">More...</a><br/></td></tr>
<tr class="separator:aaf6a729059c865edb91d8f43f54382fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab151afe425035dc64e81d71cf368a007"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#ab151afe425035dc64e81d71cf368a007">isNumeric</a> () const </td></tr>
<tr class="memdesc:ab151afe425035dc64e81d71cf368a007"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns TRUE if the data type of this <a class="el" href="classFormattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object is kDouble, kLong, kInt64 or kDecimalNumber.  <a href="#ab151afe425035dc64e81d71cf368a007">More...</a><br/></td></tr>
<tr class="separator:ab151afe425035dc64e81d71cf368a007"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a0118fa9015a633493e37aa421c7f63"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a9a0118fa9015a633493e37aa421c7f63">getDouble</a> (void) const </td></tr>
<tr class="memdesc:a9a0118fa9015a633493e37aa421c7f63"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the double value of this object.  <a href="#a9a0118fa9015a633493e37aa421c7f63">More...</a><br/></td></tr>
<tr class="separator:a9a0118fa9015a633493e37aa421c7f63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b0009b703fa26eeafeb19fb101be372"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a1b0009b703fa26eeafeb19fb101be372">getDouble</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a1b0009b703fa26eeafeb19fb101be372"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the double value of this object.  <a href="#a1b0009b703fa26eeafeb19fb101be372">More...</a><br/></td></tr>
<tr class="separator:a1b0009b703fa26eeafeb19fb101be372"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af23eee6502b54acea1f83549e87ba28e"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#af23eee6502b54acea1f83549e87ba28e">getLong</a> (void) const </td></tr>
<tr class="memdesc:af23eee6502b54acea1f83549e87ba28e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the long value of this object.  <a href="#af23eee6502b54acea1f83549e87ba28e">More...</a><br/></td></tr>
<tr class="separator:af23eee6502b54acea1f83549e87ba28e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0a1283fb572442657927d556ec3e158"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#ad0a1283fb572442657927d556ec3e158">getLong</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:ad0a1283fb572442657927d556ec3e158"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the long value of this object.  <a href="#ad0a1283fb572442657927d556ec3e158">More...</a><br/></td></tr>
<tr class="separator:ad0a1283fb572442657927d556ec3e158"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad09bd66550cb50d0577ce413c9cb627d"><td class="memItemLeft" align="right" valign="top">int64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#ad09bd66550cb50d0577ce413c9cb627d">getInt64</a> (void) const </td></tr>
<tr class="memdesc:ad09bd66550cb50d0577ce413c9cb627d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the int64 value of this object.  <a href="#ad09bd66550cb50d0577ce413c9cb627d">More...</a><br/></td></tr>
<tr class="separator:ad09bd66550cb50d0577ce413c9cb627d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1db21328cb215916c5941c2b7f60189"><td class="memItemLeft" align="right" valign="top">int64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#ab1db21328cb215916c5941c2b7f60189">getInt64</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:ab1db21328cb215916c5941c2b7f60189"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the int64 value of this object.  <a href="#ab1db21328cb215916c5941c2b7f60189">More...</a><br/></td></tr>
<tr class="separator:ab1db21328cb215916c5941c2b7f60189"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13eb5e3f597081089fa54aedaaa1bbac"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a13eb5e3f597081089fa54aedaaa1bbac">getDate</a> () const </td></tr>
<tr class="memdesc:a13eb5e3f597081089fa54aedaaa1bbac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the Date value of this object.  <a href="#a13eb5e3f597081089fa54aedaaa1bbac">More...</a><br/></td></tr>
<tr class="separator:a13eb5e3f597081089fa54aedaaa1bbac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0cb44babfc420a6f1fc42817c2e3675"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#af0cb44babfc420a6f1fc42817c2e3675">getDate</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:af0cb44babfc420a6f1fc42817c2e3675"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the Date value of this object.  <a href="#af0cb44babfc420a6f1fc42817c2e3675">More...</a><br/></td></tr>
<tr class="separator:af0cb44babfc420a6f1fc42817c2e3675"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5eb518dc3b86ed33b57351f002f8e6f0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a5eb518dc3b86ed33b57351f002f8e6f0">getString</a> (<a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;result) const </td></tr>
<tr class="memdesc:a5eb518dc3b86ed33b57351f002f8e6f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the string value of this object.  <a href="#a5eb518dc3b86ed33b57351f002f8e6f0">More...</a><br/></td></tr>
<tr class="separator:a5eb518dc3b86ed33b57351f002f8e6f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4add509111870deeb1146d6049eafa2a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a4add509111870deeb1146d6049eafa2a">getString</a> (<a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;result, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a4add509111870deeb1146d6049eafa2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the string value of this object.  <a href="#a4add509111870deeb1146d6049eafa2a">More...</a><br/></td></tr>
<tr class="separator:a4add509111870deeb1146d6049eafa2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad73e152f9bf909ebfb6d743f0061b136"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#ad73e152f9bf909ebfb6d743f0061b136">getString</a> (void) const </td></tr>
<tr class="memdesc:ad73e152f9bf909ebfb6d743f0061b136"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets a const reference to the string value of this object.  <a href="#ad73e152f9bf909ebfb6d743f0061b136">More...</a><br/></td></tr>
<tr class="separator:ad73e152f9bf909ebfb6d743f0061b136"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a649b76697136c8435f1e2f0a4d513a8c"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a649b76697136c8435f1e2f0a4d513a8c">getString</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a649b76697136c8435f1e2f0a4d513a8c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets a const reference to the string value of this object.  <a href="#a649b76697136c8435f1e2f0a4d513a8c">More...</a><br/></td></tr>
<tr class="separator:a649b76697136c8435f1e2f0a4d513a8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a599fc22b94579d3d60a05219dad54bc4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a599fc22b94579d3d60a05219dad54bc4">getString</a> (void)</td></tr>
<tr class="memdesc:a599fc22b94579d3d60a05219dad54bc4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets a reference to the string value of this object.  <a href="#a599fc22b94579d3d60a05219dad54bc4">More...</a><br/></td></tr>
<tr class="separator:a599fc22b94579d3d60a05219dad54bc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46705d8f815d66367004ba40b3f350dc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a46705d8f815d66367004ba40b3f350dc">getString</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a46705d8f815d66367004ba40b3f350dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets a reference to the string value of this object.  <a href="#a46705d8f815d66367004ba40b3f350dc">More...</a><br/></td></tr>
<tr class="separator:a46705d8f815d66367004ba40b3f350dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1209ed6660b4f0148b4f191f3d1e75a9"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classFormattable.html">Formattable</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a1209ed6660b4f0148b4f191f3d1e75a9">getArray</a> (int32_t &amp;count) const </td></tr>
<tr class="memdesc:a1209ed6660b4f0148b4f191f3d1e75a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the array value and count of this object.  <a href="#a1209ed6660b4f0148b4f191f3d1e75a9">More...</a><br/></td></tr>
<tr class="separator:a1209ed6660b4f0148b4f191f3d1e75a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad85060803f97934c4c8792f9a58a17f3"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classFormattable.html">Formattable</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#ad85060803f97934c4c8792f9a58a17f3">getArray</a> (int32_t &amp;count, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:ad85060803f97934c4c8792f9a58a17f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the array value and count of this object.  <a href="#ad85060803f97934c4c8792f9a58a17f3">More...</a><br/></td></tr>
<tr class="separator:ad85060803f97934c4c8792f9a58a17f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f546115a6d407bd7a812165af4bb9c4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classFormattable.html">Formattable</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a8f546115a6d407bd7a812165af4bb9c4">operator[]</a> (int32_t index)</td></tr>
<tr class="memdesc:a8f546115a6d407bd7a812165af4bb9c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Accesses the specified element in the array value of this <a class="el" href="classFormattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object.  <a href="#a8f546115a6d407bd7a812165af4bb9c4">More...</a><br/></td></tr>
<tr class="separator:a8f546115a6d407bd7a812165af4bb9c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a369d8d938f9a3a553d4e0c52c602d5de"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classUObject.html">UObject</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a369d8d938f9a3a553d4e0c52c602d5de">getObject</a> () const </td></tr>
<tr class="memdesc:a369d8d938f9a3a553d4e0c52c602d5de"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a pointer to the <a class="el" href="classUObject.html" title="UObject is the common ICU &quot;boilerplate&quot; class.">UObject</a> contained within this formattable, or NULL if this object does not contain a <a class="el" href="classUObject.html" title="UObject is the common ICU &quot;boilerplate&quot; class.">UObject</a>.  <a href="#a369d8d938f9a3a553d4e0c52c602d5de">More...</a><br/></td></tr>
<tr class="separator:a369d8d938f9a3a553d4e0c52c602d5de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a538ff5bd4dffa772daa0f790b098993d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classStringPiece.html">StringPiece</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a538ff5bd4dffa772daa0f790b098993d">getDecimalNumber</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a538ff5bd4dffa772daa0f790b098993d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a numeric string representation of the number contained within this formattable, or NULL if this object does not contain numeric type.  <a href="#a538ff5bd4dffa772daa0f790b098993d">More...</a><br/></td></tr>
<tr class="separator:a538ff5bd4dffa772daa0f790b098993d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb096fd7b81a93cab2d8c4c6e2c0854e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#acb096fd7b81a93cab2d8c4c6e2c0854e">setDouble</a> (double d)</td></tr>
<tr class="memdesc:acb096fd7b81a93cab2d8c4c6e2c0854e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the double value of this object and changes the type to kDouble.  <a href="#acb096fd7b81a93cab2d8c4c6e2c0854e">More...</a><br/></td></tr>
<tr class="separator:acb096fd7b81a93cab2d8c4c6e2c0854e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafa2d23eda301a1909f7586fc78dd7b9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#aafa2d23eda301a1909f7586fc78dd7b9">setLong</a> (int32_t l)</td></tr>
<tr class="memdesc:aafa2d23eda301a1909f7586fc78dd7b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the long value of this object and changes the type to kLong.  <a href="#aafa2d23eda301a1909f7586fc78dd7b9">More...</a><br/></td></tr>
<tr class="separator:aafa2d23eda301a1909f7586fc78dd7b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82fdbd66a6e9d496d7aee61969bbe518"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a82fdbd66a6e9d496d7aee61969bbe518">setInt64</a> (int64_t ll)</td></tr>
<tr class="memdesc:a82fdbd66a6e9d496d7aee61969bbe518"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the int64 value of this object and changes the type to kInt64.  <a href="#a82fdbd66a6e9d496d7aee61969bbe518">More...</a><br/></td></tr>
<tr class="separator:a82fdbd66a6e9d496d7aee61969bbe518"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91da497e8c98a9b7062afed1157560ce"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a91da497e8c98a9b7062afed1157560ce">setDate</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> d)</td></tr>
<tr class="memdesc:a91da497e8c98a9b7062afed1157560ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the Date value of this object and changes the type to kDate.  <a href="#a91da497e8c98a9b7062afed1157560ce">More...</a><br/></td></tr>
<tr class="separator:a91da497e8c98a9b7062afed1157560ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58298eefc0fde88be748e663a57e1d52"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a58298eefc0fde88be748e663a57e1d52">setString</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;stringToCopy)</td></tr>
<tr class="memdesc:a58298eefc0fde88be748e663a57e1d52"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the string value of this object and changes the type to kString.  <a href="#a58298eefc0fde88be748e663a57e1d52">More...</a><br/></td></tr>
<tr class="separator:a58298eefc0fde88be748e663a57e1d52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e9b1c18da9da9c38d90d88f84ef3e01"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a3e9b1c18da9da9c38d90d88f84ef3e01">setArray</a> (const <a class="el" href="classFormattable.html">Formattable</a> *array, int32_t count)</td></tr>
<tr class="memdesc:a3e9b1c18da9da9c38d90d88f84ef3e01"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the array value and count of this object and changes the type to kArray.  <a href="#a3e9b1c18da9da9c38d90d88f84ef3e01">More...</a><br/></td></tr>
<tr class="separator:a3e9b1c18da9da9c38d90d88f84ef3e01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f4689ccee46804a84219d934c84d220"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a0f4689ccee46804a84219d934c84d220">adoptString</a> (<a class="el" href="classUnicodeString.html">UnicodeString</a> *stringToAdopt)</td></tr>
<tr class="memdesc:a0f4689ccee46804a84219d934c84d220"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets and adopts the string value and count of this object and changes the type to kArray.  <a href="#a0f4689ccee46804a84219d934c84d220">More...</a><br/></td></tr>
<tr class="separator:a0f4689ccee46804a84219d934c84d220"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4fea1f1272412f7a145b3d19edf3917d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a4fea1f1272412f7a145b3d19edf3917d">adoptArray</a> (<a class="el" href="classFormattable.html">Formattable</a> *array, int32_t count)</td></tr>
<tr class="memdesc:a4fea1f1272412f7a145b3d19edf3917d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets and adopts the array value and count of this object and changes the type to kArray.  <a href="#a4fea1f1272412f7a145b3d19edf3917d">More...</a><br/></td></tr>
<tr class="separator:a4fea1f1272412f7a145b3d19edf3917d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a949fd086ba20b88c1af4d55906711335"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a949fd086ba20b88c1af4d55906711335">adoptObject</a> (<a class="el" href="classUObject.html">UObject</a> *objectToAdopt)</td></tr>
<tr class="memdesc:a949fd086ba20b88c1af4d55906711335"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets and adopts the <a class="el" href="classUObject.html" title="UObject is the common ICU &quot;boilerplate&quot; class.">UObject</a> value of this object and changes the type to kObject.  <a href="#a949fd086ba20b88c1af4d55906711335">More...</a><br/></td></tr>
<tr class="separator:a949fd086ba20b88c1af4d55906711335"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a781d07d572b721d59fd1045bbe92fb97"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a781d07d572b721d59fd1045bbe92fb97">setDecimalNumber</a> (const <a class="el" href="classStringPiece.html">StringPiece</a> &amp;numberString, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a781d07d572b721d59fd1045bbe92fb97"><td class="mdescLeft">&#160;</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="#a781d07d572b721d59fd1045bbe92fb97">More...</a><br/></td></tr>
<tr class="separator:a781d07d572b721d59fd1045bbe92fb97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af226a9a011a911af20cba78fd5109d08"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#af226a9a011a911af20cba78fd5109d08">getDynamicClassID</a> () const </td></tr>
<tr class="memdesc:af226a9a011a911af20cba78fd5109d08"><td class="mdescLeft">&#160;</td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for the actual class.  <a href="#af226a9a011a911af20cba78fd5109d08">More...</a><br/></td></tr>
<tr class="separator:af226a9a011a911af20cba78fd5109d08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ea4122be7eec20f523e9eaa3200ca63"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a7ea4122be7eec20f523e9eaa3200ca63">getLong</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status) const </td></tr>
<tr class="memdesc:a7ea4122be7eec20f523e9eaa3200ca63"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deprecated variant of getLong(UErrorCode&amp;).  <a href="#a7ea4122be7eec20f523e9eaa3200ca63">More...</a><br/></td></tr>
<tr class="separator:a7ea4122be7eec20f523e9eaa3200ca63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a050bf65094f969627c9269ebd5470f7b"><td class="memItemLeft" align="right" valign="top">DigitList *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a050bf65094f969627c9269ebd5470f7b">getDigitList</a> () const </td></tr>
<tr class="memdesc:a050bf65094f969627c9269ebd5470f7b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Internal function, do not use.  <a href="#a050bf65094f969627c9269ebd5470f7b">More...</a><br/></td></tr>
<tr class="separator:a050bf65094f969627c9269ebd5470f7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa916199fe4e27ab43d16f18caac3551b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#aa916199fe4e27ab43d16f18caac3551b">adoptDigitList</a> (DigitList *dl)</td></tr>
<tr class="memdesc:aa916199fe4e27ab43d16f18caac3551b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adopt, and set value from, a DigitList Internal Function, do not use.  <a href="#aa916199fe4e27ab43d16f18caac3551b">More...</a><br/></td></tr>
<tr class="separator:aa916199fe4e27ab43d16f18caac3551b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classUObject"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classUObject')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classUObject.html">UObject</a></td></tr>
<tr class="memitem:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUObject.html#ace22cf29a90641ef43350deae5bedb85">~UObject</a> ()</td></tr>
<tr class="memdesc:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#ace22cf29a90641ef43350deae5bedb85">More...</a><br/></td></tr>
<tr class="separator:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><td class="memSeparator" colspan="2">&#160;</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:a704fd6a9c62d33929ff2d9f6f965e3f4"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a704fd6a9c62d33929ff2d9f6f965e3f4">getStaticClassID</a> ()</td></tr>
<tr class="memdesc:a704fd6a9c62d33929ff2d9f6f965e3f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for this class.  <a href="#a704fd6a9c62d33929ff2d9f6f965e3f4">More...</a><br/></td></tr>
<tr class="separator:a704fd6a9c62d33929ff2d9f6f965e3f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classFormattable.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="classFormat.html" title="Base class for all formats.">Format</a> class or its subclasses for formatting. </p>
<p><a class="el" href="classFormattable.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="classUnicodeString.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="classFormattable.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="classFormattable.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="classUObject.html" title="UObject is the common ICU &quot;boilerplate&quot; class.">UObject</a> pointer, which it owns. This allows an instance of any ICU class to be encapsulated in a <a class="el" href="classFormattable.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="classFormattable.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="classFormattable.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>Definition at line <a class="el" href="fmtable_8h_source.html#l00052">52</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a class="anchor" id="a0016ff3fd3a8b77b1775db4d8053dc77"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classFormattable.html#a0016ff3fd3a8b77b1775db4d8053dc77">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="classFormattable.html#a57cfe4ad057dc091814d380da9b33d63" title="Creates a Formattable object with a double number.">Formattable(UDate)</a> constructor and the <a class="el" href="classFormattable.html#a57cfe4ad057dc091814d380da9b33d63" 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#_stable003251">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

<p>Definition at line <a class="el" href="fmtable_8h_source.html#l00063">63</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6116dce32d34fe529d3a15c4f4d587a9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classFormattable.html#a6116dce32d34fe529d3a15c4f4d587a9">Formattable::Type</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Selector for flavor of data type contained within a <a class="el" href="classFormattable.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="classFormattable.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#_stable003269">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="a6116dce32d34fe529d3a15c4f4d587a9a5b0ae01d869868e36ddc2d548bdfebbb"></a>kDate</em>&nbsp;</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#_stable003303">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a6116dce32d34fe529d3a15c4f4d587a9a20df50b64f4c08d5ddc94d5491978bd6"></a>kDouble</em>&nbsp;</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#_stable003304">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a6116dce32d34fe529d3a15c4f4d587a9ab2c013b122f7d28fc6cb971c6be8fb81"></a>kLong</em>&nbsp;</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#_stable003305">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a6116dce32d34fe529d3a15c4f4d587a9a065be6ed91ee0a3d57cbac3df2755415"></a>kString</em>&nbsp;</td><td class="fielddoc">
<p>Selector indicating a <a class="el" href="classUnicodeString.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#_stable003306">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a6116dce32d34fe529d3a15c4f4d587a9a91a06b3e0bcd39b0d25be34ece2f85e8"></a>kArray</em>&nbsp;</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#_stable003307">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a6116dce32d34fe529d3a15c4f4d587a9aeea564410cc4d45c86d9e6477d4247be"></a>kInt64</em>&nbsp;</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#_stable003308">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a6116dce32d34fe529d3a15c4f4d587a9a950ff294472e1c07e148a21f98f56b9c"></a>kObject</em>&nbsp;</td><td class="fielddoc">
<p>Selector indicating a <a class="el" href="classUObject.html" title="UObject is the common ICU &quot;boilerplate&quot; class.">UObject</a> value. </p>
<p>Use getObject to retrieve the value. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003309">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>
</td></tr>
</table>

<p>Definition at line <a class="el" href="fmtable_8h_source.html#l00209">209</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a1b05d47998d1d08e2d3a4a772f482d65"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">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#_stable003252">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a72bada90a8c8c0fddcad9e8c6e172890"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Formattable::Formattable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</td>
          <td class="paramname"><em>d</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classFormattable.html#a0016ff3fd3a8b77b1775db4d8053dc77">ISDATE</a>&#160;</td>
          <td class="paramname"><em>flag</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a <a class="el" href="classFormattable.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#_stable003253">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a57cfe4ad057dc091814d380da9b33d63"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Formattable::Formattable </td>
          <td>(</td>
          <td class="paramtype">double&#160;</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="classFormattable.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#_stable003254">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a94fe9340c7d26bd247eb34cc077ba2d6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Formattable::Formattable </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</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="classFormattable.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#_stable003255">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a0ac0e62441b18c7fdadf4d8a070d3cd5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Formattable::Formattable </td>
          <td>(</td>
          <td class="paramtype">int64_t&#160;</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="classFormattable.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#_stable003256">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

</div>
</div>
<a class="anchor" id="a09ede03bafb98f409597eb15f1ce2c4c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Formattable::Formattable </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</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="classFormattable.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#_stable003257">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a3613a941665a4d994b5cd959532dedb4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Formattable::Formattable </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classStringPiece.html">StringPiece</a> &amp;&#160;</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> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a <a class="el" href="classFormattable.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="classFormattable.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 of 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#_stable003258">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a40b32124a7750edd8fdd9fe33062dda0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Formattable::Formattable </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</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="classFormattable.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="classUnicodeString.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="classUnicodeString.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#_stable003259">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a10210c262e0e2ca49adebd71d04512f4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Formattable::Formattable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> *&#160;</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="classFormattable.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="classUnicodeString.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="classUnicodeString.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#_stable003260">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a8ec708cf73438029dfb7347b1df400ab"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Formattable::Formattable </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classFormattable.html">Formattable</a> *&#160;</td>
          <td class="paramname"><em>arrayToCopy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>count</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a <a class="el" href="classFormattable.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="classFormattable.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="classFormattable.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#_stable003261">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a261760e59c78a4b94797c9b0457a9b78"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Formattable::Formattable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classUObject.html">UObject</a> *&#160;</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="classFormattable.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="classUObject.html" title="UObject is the common ICU &quot;boilerplate&quot; 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="classUObject.html" title="UObject is the common ICU &quot;boilerplate&quot; class.">UObject</a> to set this object to </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003262">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a483628d21dab7e101a953c6ce26d6f2b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Formattable::Formattable </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classFormattable.html">Formattable</a> &amp;&#160;</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#_stable003263">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="affa7784f060d736f816080b2f8bd264d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual 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#_stable003267">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a4fea1f1272412f7a145b3d19edf3917d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Formattable::adoptArray </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classFormattable.html">Formattable</a> *&#160;</td>
          <td class="paramname"><em>array</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>count</em>&#160;</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#_stable003298">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="aa916199fe4e27ab43d16f18caac3551b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Formattable::adoptDigitList </td>
          <td>(</td>
          <td class="paramtype">DigitList *&#160;</td>
          <td class="paramname"><em>dl</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adopt, and set value from, a DigitList Internal Function, do not use. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dl</td><td>the Digit List to be adopted </td></tr>
  </table>
  </dd>
</dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000372">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

</div>
</div>
<a class="anchor" id="a949fd086ba20b88c1af4d55906711335"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Formattable::adoptObject </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classUObject.html">UObject</a> *&#160;</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="classUObject.html" title="UObject is the common ICU &quot;boilerplate&quot; 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="classUObject.html" title="UObject is the common ICU &quot;boilerplate&quot; class.">UObject</a> value to be adopted </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003299">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a0f4689ccee46804a84219d934c84d220"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Formattable::adoptString </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> *&#160;</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#_stable003297">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a22da1f90aa428c9e6f550c8db0fa6170"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classFormattable.html">Formattable</a>* 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 NULL 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="classFormattable.html#af226a9a011a911af20cba78fd5109d08" title="ICU &quot;poor man&#39;s RTTI&quot;, returns a UClassID for the actual class.">getDynamicClassID</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003268">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

</div>
</div>
<a class="anchor" id="a1209ed6660b4f0148b4f191f3d1e75a9"></a>
<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="classFormattable.html">Formattable</a>* Formattable::getArray </td>
          <td>(</td>
          <td class="paramtype">int32_t &amp;&#160;</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#_stable003286">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="fmtable_8h_source.html#l00431">431</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad85060803f97934c4c8792f9a58a17f3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classFormattable.html">Formattable</a>* Formattable::getArray </td>
          <td>(</td>
          <td class="paramtype">int32_t &amp;&#160;</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> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</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 NULL. </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#_stable003287">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a13eb5e3f597081089fa54aedaaa1bbac"></a>
<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> 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#_stable003278">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="fmtable_8h_source.html#l00354">354</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>

</div>
</div>
<a class="anchor" id="af0cb44babfc420a6f1fc42817c2e3675"></a>
<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> Formattable::getDate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</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#_stable003279">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

<p>Definition at line <a class="el" href="fmtable_8h_source.html#l00650">650</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>

<p>References <a class="el" href="fmtable_8h_source.html#l00215">kDate</a>, <a class="el" href="utypes_8h_source.html#l00509">U_INVALID_FORMAT_ERROR</a>, and <a class="el" href="utypes_8h_source.html#l00705">U_SUCCESS</a>.</p>

</div>
</div>
<a class="anchor" id="a538ff5bd4dffa772daa0f790b098993d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classStringPiece.html">StringPiece</a> Formattable::getDecimalNumber </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</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 NULL 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 therfore 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#_stable003290">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a050bf65094f969627c9269ebd5470f7b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">DigitList* Formattable::getDigitList </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="classNumberFormat.html#a53e27d424735198566d90eb30401ec36" title="Format an object to produce a string.">NumberFormat::format</a>(<a class="el" href="classFormattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a>, ... needs to get at the DigitList, if it exists, for big decimal formatting. </p>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000371">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

<p>Definition at line <a class="el" href="fmtable_8h_source.html#l00606">606</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9a0118fa9015a633493e37aa421c7f63"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double Formattable::getDouble </td>
          <td>(</td>
          <td class="paramtype">void&#160;</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#_stable003272">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="fmtable_8h_source.html#l00281">281</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>

</div>
</div>
<a class="anchor" id="a1b0009b703fa26eeafeb19fb101be372"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Formattable::getDouble </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</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 peformed, with possible loss of precision. If the type is kObject and the object is a <a class="el" href="classMeasure.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="classMeasure.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#_stable003273">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div>
<a class="anchor" id="af226a9a011a911af20cba78fd5109d08"></a>
<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> 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">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#_stable003301">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>

<p>Implements <a class="el" href="classUObject.html#a9b1acc95efd89cb86ec31f2dc947a262">UObject</a>.</p>

</div>
</div>
<a class="anchor" id="ad09bd66550cb50d0577ce413c9cb627d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int64_t Formattable::getInt64 </td>
          <td>(</td>
          <td class="paramtype">void&#160;</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#_stable003276">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

<p>Definition at line <a class="el" href="fmtable_8h_source.html#l00329">329</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab1db21328cb215916c5941c2b7f60189"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int64_t Formattable::getInt64 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</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 peformed, with truncation of any fractional part. If the type is kObject and the object is a <a class="el" href="classMeasure.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="classMeasure.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#_stable003277">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div>
<a class="anchor" id="af23eee6502b54acea1f83549e87ba28e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int32_t Formattable::getLong </td>
          <td>(</td>
          <td class="paramtype">void&#160;</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#_stable003274">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="fmtable_8h_source.html#l00303">303</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>

<p>Referenced by <a class="el" href="fmtable_8h_source.html#l00669">getLong()</a>.</p>

</div>
</div>
<a class="anchor" id="ad0a1283fb572442657927d556ec3e158"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t Formattable::getLong </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</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 or kDecimalNumber, then a conversion is peformed, with truncation of any fractional part. If the type is kObject and the object is a <a class="el" href="classMeasure.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="classMeasure.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#_stable003275">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a7ea4122be7eec20f523e9eaa3200ca63"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int32_t Formattable::getLong </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</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&amp;). </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#_deprecated000229">Deprecated:</a></b></dt><dd>ICU 3.0 use getLong(UErrorCode&amp;) instead </dd></dl>

<p>Definition at line <a class="el" href="fmtable_8h_source.html#l00669">669</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>

<p>References <a class="el" href="fmtable_8h_source.html#l00303">getLong()</a>.</p>

</div>
</div>
<a class="anchor" id="a369d8d938f9a3a553d4e0c52c602d5de"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classUObject.html">UObject</a>* 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="classUObject.html" title="UObject is the common ICU &quot;boilerplate&quot; class.">UObject</a> contained within this formattable, or NULL if this object does not contain a <a class="el" href="classUObject.html" title="UObject is the common ICU &quot;boilerplate&quot; class.">UObject</a>. </p>
<dl class="section return"><dt>Returns</dt><dd>a <a class="el" href="classUObject.html" title="UObject is the common ICU &quot;boilerplate&quot; class.">UObject</a> pointer, or NULL </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003289">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a704fd6a9c62d33929ff2d9f6f965e3f4"></a>
<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> 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#_stable003302">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a5eb518dc3b86ed33b57351f002f8e6f0"></a>
<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="classUnicodeString.html">UnicodeString</a>&amp; Formattable::getString </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</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#_stable003280">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="fmtable_8h_source.html#l00373">373</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4add509111870deeb1146d6049eafa2a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a>&amp; Formattable::getString </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</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> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</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#_stable003281">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ad73e152f9bf909ebfb6d743f0061b136"></a>
<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="classUnicodeString.html">UnicodeString</a> &amp; Formattable::getString </td>
          <td>(</td>
          <td class="paramtype">void&#160;</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#_stable003282">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="fmtable_8h_source.html#l00660">660</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>

</div>
</div>
<a class="anchor" id="a649b76697136c8435f1e2f0a4d513a8c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classUnicodeString.html">UnicodeString</a>&amp; Formattable::getString </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</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#_stable003283">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a599fc22b94579d3d60a05219dad54bc4"></a>
<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="classUnicodeString.html">UnicodeString</a> &amp; Formattable::getString </td>
          <td>(</td>
          <td class="paramtype">void&#160;</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#_stable003284">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="fmtable_8h_source.html#l00664">664</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>

</div>
</div>
<a class="anchor" id="a46705d8f815d66367004ba40b3f350dc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a>&amp; Formattable::getString </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</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#_stable003285">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div>
<a class="anchor" id="aaf6a729059c865edb91d8f43f54382fa"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classFormattable.html#a6116dce32d34fe529d3a15c4f4d587a9">Type</a> Formattable::getType </td>
          <td>(</td>
          <td class="paramtype">void&#160;</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="classFormattable.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="classFormattable.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#_stable003270">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ab151afe425035dc64e81d71cf368a007"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> 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="classFormattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a> object is kDouble, kLong, kInt64 or kDecimalNumber. </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#_stable003271">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div>
<a class="anchor" id="acf1439b3bd065e6a72cbd2b93ac0ff7b"></a>
<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="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> Formattable::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classFormattable.html">Formattable</a> &amp;&#160;</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#_stable003266">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="fmtable_8h_source.html#l00181">181</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>

<p>References <a class="el" href="stringpiece_8h.html#a7652049cbac0bfeae2cd2aa4514a3352">operator==()</a>.</p>

</div>
</div>
<a class="anchor" id="a5236bed18d2df007c9badcebed0ff827"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classFormattable.html">Formattable</a>&amp; Formattable::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classFormattable.html">Formattable</a> &amp;&#160;</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="classFormattable.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#_stable003264">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a569b2871185bf920541e35854e7acf6a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> Formattable::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classFormattable.html">Formattable</a> &amp;&#160;</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#_stable003265">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a8f546115a6d407bd7a812165af4bb9c4"></a>
<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="classFormattable.html">Formattable</a>&amp; Formattable::operator[] </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</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="classFormattable.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#_stable003288">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="fmtable_8h_source.html#l00453">453</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3e9b1c18da9da9c38d90d88f84ef3e01"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Formattable::setArray </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classFormattable.html">Formattable</a> *&#160;</td>
          <td class="paramname"><em>array</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>count</em>&#160;</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#_stable003296">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a91da497e8c98a9b7062afed1157560ce"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Formattable::setDate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</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#_stable003294">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a781d07d572b721d59fd1045bbe92fb97"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Formattable::setDecimalNumber </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classStringPiece.html">StringPiece</a> &amp;&#160;</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> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</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#_stable003300">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl>

</div>
</div>
<a class="anchor" id="acb096fd7b81a93cab2d8c4c6e2c0854e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Formattable::setDouble </td>
          <td>(</td>
          <td class="paramtype">double&#160;</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#_stable003291">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a82fdbd66a6e9d496d7aee61969bbe518"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Formattable::setInt64 </td>
          <td>(</td>
          <td class="paramtype">int64_t&#160;</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#_stable003293">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

</div>
</div>
<a class="anchor" id="aafa2d23eda301a1909f7586fc78dd7b9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Formattable::setLong </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</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#_stable003292">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a58298eefc0fde88be748e663a57e1d52"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Formattable::setString </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</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#_stable003295">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><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 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3.1
</small></address>
</body>
</html>