Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > f51238514e2abe817779ad2fe01b0759 > files > 108

icu-doc-4.4-2.1mdv2010.2.i586.rpm

<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!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"/>
<title>ICU 4.4: Formattable Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.6.1 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Search" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&nbsp;Structure&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Formattable Class Reference</h1><!-- doxytag: class="Formattable" --><!-- doxytag: inherits="UObject" -->
<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="#_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="dynsection">
 <div class="center">
  <img src="classFormattable.gif" usemap="#Formattable_map" alt=""/>
  <map id="Formattable_map" name="Formattable_map">
<area href="classUObject.html" alt="UObject" shape="rect" coords="0,56,78,80"/>
<area href="classUMemory.html" alt="UMemory" shape="rect" coords="0,0,78,24"/>
</map>
 </div>
</div>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a0016ff3fd3a8b77b1775db4d8053dc77">ISDATE</a> { <b>kIsDate</b>
 }</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><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>
 <a href="classFormattable.html#a0016ff3fd3a8b77b1775db4d8053dc77">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a6116dce32d34fe529d3a15c4f4d587a9">Type</a> { <br/>
&nbsp;&nbsp;<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/>
&nbsp;&nbsp;<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><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><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>
 <a href="classFormattable.html#a6116dce32d34fe529d3a15c4f4d587a9">More...</a><br/></td></tr>
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a1b05d47998d1d08e2d3a4a772f482d65">Formattable</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor.  <a href="#a1b05d47998d1d08e2d3a4a772f482d65"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</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><td class="mdescLeft">&nbsp;</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"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a57cfe4ad057dc091814d380da9b33d63">Formattable</a> (double d)</td></tr>
<tr><td class="mdescLeft">&nbsp;</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"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a94fe9340c7d26bd247eb34cc077ba2d6">Formattable</a> (int32_t l)</td></tr>
<tr><td class="mdescLeft">&nbsp;</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"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a0ac0e62441b18c7fdadf4d8a070d3cd5">Formattable</a> (int64_t ll)</td></tr>
<tr><td class="mdescLeft">&nbsp;</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"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a09ede03bafb98f409597eb15f1ce2c4c">Formattable</a> (const char *strToCopy)</td></tr>
<tr><td class="mdescLeft">&nbsp;</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"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</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><td class="mdescLeft">&nbsp;</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"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</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><td class="mdescLeft">&nbsp;</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...">UnicodeString</a> object to copy from.  <a href="#a40b32124a7750edd8fdd9fe33062dda0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</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><td class="mdescLeft">&nbsp;</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...">UnicodeString</a> object to adopt from.  <a href="#a10210c262e0e2ca49adebd71d04512f4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</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><td class="mdescLeft">&nbsp;</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"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</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><td class="mdescLeft">&nbsp;</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"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</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><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copy constructor.  <a href="#a483628d21dab7e101a953c6ce26d6f2b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classFormattable.html">Formattable</a> &amp;&nbsp;</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><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Assignment operator.  <a href="#a5236bed18d2df007c9badcebed0ff827"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</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><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Equality comparison.  <a href="#a569b2871185bf920541e35854e7acf6a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</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><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Equality operator.  <a href="#acf1439b3bd065e6a72cbd2b93ac0ff7b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#affa7784f060d736f816080b2f8bd264d">~Formattable</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor.  <a href="#affa7784f060d736f816080b2f8bd264d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classFormattable.html">Formattable</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a22da1f90aa428c9e6f550c8db0fa6170">clone</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Clone this object.  <a href="#a22da1f90aa428c9e6f550c8db0fa6170"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classFormattable.html#a6116dce32d34fe529d3a15c4f4d587a9">Type</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#aaf6a729059c865edb91d8f43f54382fa">getType</a> (void) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</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"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#ab151afe425035dc64e81d71cf368a007">isNumeric</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</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"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a9a0118fa9015a633493e37aa421c7f63">getDouble</a> (void) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the double value of this object.  <a href="#a9a0118fa9015a633493e37aa421c7f63"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&nbsp;</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><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the double value of this object.  <a href="#a1b0009b703fa26eeafeb19fb101be372"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#af23eee6502b54acea1f83549e87ba28e">getLong</a> (void) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the long value of this object.  <a href="#af23eee6502b54acea1f83549e87ba28e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int32_t&nbsp;</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><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the long value of this object.  <a href="#ad0a1283fb572442657927d556ec3e158"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int64_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#ad09bd66550cb50d0577ce413c9cb627d">getInt64</a> (void) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the int64 value of this object.  <a href="#ad09bd66550cb50d0577ce413c9cb627d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int64_t&nbsp;</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><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the int64 value of this object.  <a href="#ab1db21328cb215916c5941c2b7f60189"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a13eb5e3f597081089fa54aedaaa1bbac">getDate</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the Date value of this object.  <a href="#a13eb5e3f597081089fa54aedaaa1bbac"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&nbsp;</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><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the Date value of this object.  <a href="#af0cb44babfc420a6f1fc42817c2e3675"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</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><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the string value of this object.  <a href="#a5eb518dc3b86ed33b57351f002f8e6f0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</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><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the string value of this object.  <a href="#a4add509111870deeb1146d6049eafa2a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#ad73e152f9bf909ebfb6d743f0061b136">getString</a> (void) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets a const reference to the string value of this object.  <a href="#ad73e152f9bf909ebfb6d743f0061b136"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</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><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets a const reference to the string value of this object.  <a href="#a649b76697136c8435f1e2f0a4d513a8c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a599fc22b94579d3d60a05219dad54bc4">getString</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets a reference to the string value of this object.  <a href="#a599fc22b94579d3d60a05219dad54bc4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</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><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets a reference to the string value of this object.  <a href="#a46705d8f815d66367004ba40b3f350dc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classFormattable.html">Formattable</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a1209ed6660b4f0148b4f191f3d1e75a9">getArray</a> (int32_t &amp;count) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the array value and count of this object.  <a href="#a1209ed6660b4f0148b4f191f3d1e75a9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classFormattable.html">Formattable</a> *&nbsp;</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><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the array value and count of this object.  <a href="#ad85060803f97934c4c8792f9a58a17f3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classFormattable.html">Formattable</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a8f546115a6d407bd7a812165af4bb9c4">operator[]</a> (int32_t index)</td></tr>
<tr><td class="mdescLeft">&nbsp;</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"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classUObject.html">UObject</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a369d8d938f9a3a553d4e0c52c602d5de">getObject</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</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"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classStringPiece.html">StringPiece</a>&nbsp;</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><td class="mdescLeft">&nbsp;</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"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#acb096fd7b81a93cab2d8c4c6e2c0854e">setDouble</a> (double d)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the double value of this object and changes the type to kDouble.  <a href="#acb096fd7b81a93cab2d8c4c6e2c0854e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#aafa2d23eda301a1909f7586fc78dd7b9">setLong</a> (int32_t l)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the long value of this object and changes the type to kLong.  <a href="#aafa2d23eda301a1909f7586fc78dd7b9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a82fdbd66a6e9d496d7aee61969bbe518">setInt64</a> (int64_t ll)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the int64 value of this object and changes the type to kInt64.  <a href="#a82fdbd66a6e9d496d7aee61969bbe518"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</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><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the Date value of this object and changes the type to kDate.  <a href="#a91da497e8c98a9b7062afed1157560ce"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</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><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the string value of this object and changes the type to kString.  <a href="#a58298eefc0fde88be748e663a57e1d52"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</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><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the array value and count of this object and changes the type to kArray.  <a href="#a3e9b1c18da9da9c38d90d88f84ef3e01"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</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><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets and adopts the string value and count of this object and changes the type to kArray.  <a href="#a0f4689ccee46804a84219d934c84d220"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</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><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets and adopts the array value and count of this object and changes the type to kArray.  <a href="#a4fea1f1272412f7a145b3d19edf3917d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</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><td class="mdescLeft">&nbsp;</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"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</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><td class="mdescLeft">&nbsp;</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"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#af226a9a011a911af20cba78fd5109d08">getDynamicClassID</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for the actual class.  <a href="#af226a9a011a911af20cba78fd5109d08"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int32_t&nbsp;</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><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Deprecated variant of getLong(UErrorCode&amp;).  <a href="#a7ea4122be7eec20f523e9eaa3200ca63"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">DigitList *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a050bf65094f969627c9269ebd5470f7b">getDigitList</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internal function, do not use.  <a href="#a050bf65094f969627c9269ebd5470f7b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#aa916199fe4e27ab43d16f18caac3551b">adoptDigitList</a> (DigitList *dl)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adopt, and set value from, a DigitList Internal Function, do not use.  <a href="#aa916199fe4e27ab43d16f18caac3551b"></a><br/></td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a704fd6a9c62d33929ff2d9f6f965e3f4">getStaticClassID</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for this class.  <a href="#a704fd6a9c62d33929ff2d9f6f965e3f4"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<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...">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>
<hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a0016ff3fd3a8b77b1775db4d8053dc77"></a><!-- doxytag: member="Formattable::ISDATE" ref="a0016ff3fd3a8b77b1775db4d8053dc77" args="" -->
<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#_stable002644">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><!-- doxytag: member="Formattable::Type" ref="a6116dce32d34fe529d3a15c4f4d587a9" args="" -->
<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#_stable002661">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a6116dce32d34fe529d3a15c4f4d587a9a5b0ae01d869868e36ddc2d548bdfebbb"></a><!-- doxytag: member="kDate" ref="a6116dce32d34fe529d3a15c4f4d587a9a5b0ae01d869868e36ddc2d548bdfebbb" args="" -->kDate</em>&nbsp;</td><td>
<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#_stable002693">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a6116dce32d34fe529d3a15c4f4d587a9a20df50b64f4c08d5ddc94d5491978bd6"></a><!-- doxytag: member="kDouble" ref="a6116dce32d34fe529d3a15c4f4d587a9a20df50b64f4c08d5ddc94d5491978bd6" args="" -->kDouble</em>&nbsp;</td><td>
<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#_stable002694">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a6116dce32d34fe529d3a15c4f4d587a9ab2c013b122f7d28fc6cb971c6be8fb81"></a><!-- doxytag: member="kLong" ref="a6116dce32d34fe529d3a15c4f4d587a9ab2c013b122f7d28fc6cb971c6be8fb81" args="" -->kLong</em>&nbsp;</td><td>
<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#_stable002695">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a6116dce32d34fe529d3a15c4f4d587a9a065be6ed91ee0a3d57cbac3df2755415"></a><!-- doxytag: member="kString" ref="a6116dce32d34fe529d3a15c4f4d587a9a065be6ed91ee0a3d57cbac3df2755415" args="" -->kString</em>&nbsp;</td><td>
<p>Selector indicating a <a class="el" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> value. </p>
<p>Use getString to retrieve the value. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002696">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a6116dce32d34fe529d3a15c4f4d587a9a91a06b3e0bcd39b0d25be34ece2f85e8"></a><!-- doxytag: member="kArray" ref="a6116dce32d34fe529d3a15c4f4d587a9a91a06b3e0bcd39b0d25be34ece2f85e8" args="" -->kArray</em>&nbsp;</td><td>
<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#_stable002697">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a6116dce32d34fe529d3a15c4f4d587a9aeea564410cc4d45c86d9e6477d4247be"></a><!-- doxytag: member="kInt64" ref="a6116dce32d34fe529d3a15c4f4d587a9aeea564410cc4d45c86d9e6477d4247be" args="" -->kInt64</em>&nbsp;</td><td>
<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#_stable002698">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a6116dce32d34fe529d3a15c4f4d587a9a950ff294472e1c07e148a21f98f56b9c"></a><!-- doxytag: member="kObject" ref="a6116dce32d34fe529d3a15c4f4d587a9a950ff294472e1c07e148a21f98f56b9c" args="" -->kObject</em>&nbsp;</td><td>
<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#_stable002699">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>
</td></tr>
</table>
</dd>
</dl>

<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>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a1b05d47998d1d08e2d3a4a772f482d65"></a><!-- doxytag: member="Formattable::Formattable" ref="a1b05d47998d1d08e2d3a4a772f482d65" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Formattable::Formattable </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Default constructor. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002645">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a72bada90a8c8c0fddcad9e8c6e172890"></a><!-- doxytag: member="Formattable::Formattable" ref="a72bada90a8c8c0fddcad9e8c6e172890" args="(UDate d, ISDATE flag)" -->
<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>&nbsp;</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>&nbsp;</td>
          <td class="paramname"> <em>flag</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>d</em>&nbsp;</td><td>the UDate instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>flag</em>&nbsp;</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#_stable002646">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a57cfe4ad057dc091814d380da9b33d63"></a><!-- doxytag: member="Formattable::Formattable" ref="a57cfe4ad057dc091814d380da9b33d63" args="(double d)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Formattable::Formattable </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>d</em></td>
          <td>&nbsp;)&nbsp;</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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>d</em>&nbsp;</td><td>the double number. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002647">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a94fe9340c7d26bd247eb34cc077ba2d6"></a><!-- doxytag: member="Formattable::Formattable" ref="a94fe9340c7d26bd247eb34cc077ba2d6" args="(int32_t l)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Formattable::Formattable </td>
          <td>(</td>
          <td class="paramtype">int32_t&nbsp;</td>
          <td class="paramname"> <em>l</em></td>
          <td>&nbsp;)&nbsp;</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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>l</em>&nbsp;</td><td>the long number. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002648">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a0ac0e62441b18c7fdadf4d8a070d3cd5"></a><!-- doxytag: member="Formattable::Formattable" ref="a0ac0e62441b18c7fdadf4d8a070d3cd5" args="(int64_t ll)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Formattable::Formattable </td>
          <td>(</td>
          <td class="paramtype">int64_t&nbsp;</td>
          <td class="paramname"> <em>ll</em></td>
          <td>&nbsp;)&nbsp;</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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>ll</em>&nbsp;</td><td>the int64_t number. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002649">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

</div>
</div>
<a class="anchor" id="a09ede03bafb98f409597eb15f1ce2c4c"></a><!-- doxytag: member="Formattable::Formattable" ref="a09ede03bafb98f409597eb15f1ce2c4c" args="(const char *strToCopy)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Formattable::Formattable </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>strToCopy</em></td>
          <td>&nbsp;)&nbsp;</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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>strToCopy</em>&nbsp;</td><td>the char string. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002650">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a3613a941665a4d994b5cd959532dedb4"></a><!-- doxytag: member="Formattable::Formattable" ref="a3613a941665a4d994b5cd959532dedb4" args="(const StringPiece &amp;number, UErrorCode &amp;status)" -->
<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;&nbsp;</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;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>number</em>&nbsp;</td><td>the unformatted (not localized) string representation of the Decimal number. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</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="draft"><dt><b><a class="el" href="draft.html#_draft000146">Draft:</a></b></dt><dd>This API may be changed in the future versions and was introduced in ICU 4.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a40b32124a7750edd8fdd9fe33062dda0"></a><!-- doxytag: member="Formattable::Formattable" ref="a40b32124a7750edd8fdd9fe33062dda0" args="(const UnicodeString &amp;strToCopy)" -->
<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;&nbsp;</td>
          <td class="paramname"> <em>strToCopy</em></td>
          <td>&nbsp;)&nbsp;</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...">UnicodeString</a> object to copy from. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>strToCopy</em>&nbsp;</td><td>the <a class="el" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> string. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002651">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a10210c262e0e2ca49adebd71d04512f4"></a><!-- doxytag: member="Formattable::Formattable" ref="a10210c262e0e2ca49adebd71d04512f4" args="(UnicodeString *strToAdopt)" -->
<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> *&nbsp;</td>
          <td class="paramname"> <em>strToAdopt</em></td>
          <td>&nbsp;)&nbsp;</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...">UnicodeString</a> object to adopt from. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>strToAdopt</em>&nbsp;</td><td>the <a class="el" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> string. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002652">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a8ec708cf73438029dfb7347b1df400ab"></a><!-- doxytag: member="Formattable::Formattable" ref="a8ec708cf73438029dfb7347b1df400ab" args="(const Formattable *arrayToCopy, int32_t count)" -->
<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> *&nbsp;</td>
          <td class="paramname"> <em>arrayToCopy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&nbsp;</td>
          <td class="paramname"> <em>count</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>arrayToCopy</em>&nbsp;</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 valign="top"></td><td valign="top"><em>count</em>&nbsp;</td><td>the array count. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002653">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a261760e59c78a4b94797c9b0457a9b78"></a><!-- doxytag: member="Formattable::Formattable" ref="a261760e59c78a4b94797c9b0457a9b78" args="(UObject *objectToAdopt)" -->
<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> *&nbsp;</td>
          <td class="paramname"> <em>objectToAdopt</em></td>
          <td>&nbsp;)&nbsp;</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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>objectToAdopt</em>&nbsp;</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#_stable002654">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a483628d21dab7e101a953c6ce26d6f2b"></a><!-- doxytag: member="Formattable::Formattable" ref="a483628d21dab7e101a953c6ce26d6f2b" args="(const Formattable &amp;)" -->
<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;&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Copy constructor. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002655">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="affa7784f060d736f816080b2f8bd264d"></a><!-- doxytag: member="Formattable::~Formattable" ref="affa7784f060d736f816080b2f8bd264d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Formattable::~Formattable </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Destructor. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002659">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a4fea1f1272412f7a145b3d19edf3917d"></a><!-- doxytag: member="Formattable::adoptArray" ref="a4fea1f1272412f7a145b3d19edf3917d" args="(Formattable *array, int32_t count)" -->
<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> *&nbsp;</td>
          <td class="paramname"> <em>array</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&nbsp;</td>
          <td class="paramname"> <em>count</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <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#_stable002689">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="aa916199fe4e27ab43d16f18caac3551b"></a><!-- doxytag: member="Formattable::adoptDigitList" ref="aa916199fe4e27ab43d16f18caac3551b" args="(DigitList *dl)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Formattable::adoptDigitList </td>
          <td>(</td>
          <td class="paramtype">DigitList *&nbsp;</td>
          <td class="paramname"> <em>dl</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adopt, and set value from, a DigitList Internal Function, do not use. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dl</em>&nbsp;</td><td>the Digit List to be adopted </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>reports errors </td></tr>
  </table>
  </dd>
</dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000298">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><!-- doxytag: member="Formattable::adoptObject" ref="a949fd086ba20b88c1af4d55906711335" args="(UObject *objectToAdopt)" -->
<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> *&nbsp;</td>
          <td class="paramname"> <em>objectToAdopt</em></td>
          <td>&nbsp;)&nbsp;</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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>objectToAdopt</em>&nbsp;</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#_stable002690">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a0f4689ccee46804a84219d934c84d220"></a><!-- doxytag: member="Formattable::adoptString" ref="a0f4689ccee46804a84219d934c84d220" args="(UnicodeString *stringToAdopt)" -->
<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> *&nbsp;</td>
          <td class="paramname"> <em>stringToAdopt</em></td>
          <td>&nbsp;)&nbsp;</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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>stringToAdopt</em>&nbsp;</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#_stable002688">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a22da1f90aa428c9e6f550c8db0fa6170"></a><!-- doxytag: member="Formattable::clone" ref="a22da1f90aa428c9e6f550c8db0fa6170" args="() const " -->
<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>&nbsp;)&nbsp;</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="return"><dt><b>Returns:</b></dt><dd>a clone of this object</dd></dl>
<dl class="see"><dt><b>See also:</b></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#_stable002660">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

</div>
</div>
<a class="anchor" id="ad85060803f97934c4c8792f9a58a17f3"></a><!-- doxytag: member="Formattable::getArray" ref="ad85060803f97934c4c8792f9a58a17f3" args="(int32_t &amp;count, UErrorCode &amp;status) const " -->
<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;&nbsp;</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;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>count</em>&nbsp;</td><td>fill-in with the count of this object. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>the error code. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the array value of this object. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002679">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a1209ed6660b4f0148b4f191f3d1e75a9"></a><!-- doxytag: member="Formattable::getArray" ref="a1209ed6660b4f0148b4f191f3d1e75a9" args="(int32_t &amp;count) const " -->
<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;&nbsp;</td>
          <td class="paramname"> <em>count</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>count</em>&nbsp;</td><td>fill-in with the count of this object. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the array value of this object. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002678">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="af0cb44babfc420a6f1fc42817c2e3675"></a><!-- doxytag: member="Formattable::getDate" ref="af0cb44babfc420a6f1fc42817c2e3675" args="(UErrorCode &amp;status) const " -->
<div class="memitem">
<div class="memproto">
      <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;&nbsp;</td>
          <td class="paramname"> <em>status</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>the error code. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the Date value of this object. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002671">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

<p>Definition at line <a class="el" href="fmtable_8h_source.html#l00647">647</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#l00652">U_INVALID_FORMAT_ERROR</a>, and <a class="el" href="utypes_8h_source.html#l00847">U_SUCCESS</a>.</p>

</div>
</div>
<a class="anchor" id="a13eb5e3f597081089fa54aedaaa1bbac"></a><!-- doxytag: member="Formattable::getDate" ref="a13eb5e3f597081089fa54aedaaa1bbac" args="() const " -->
<div class="memitem">
<div class="memproto">
      <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>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></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="return"><dt><b>Returns:</b></dt><dd>the Date value of this object. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002670">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="a538ff5bd4dffa772daa0f790b098993d"></a><!-- doxytag: member="Formattable::getDecimalNumber" ref="a538ff5bd4dffa772daa0f790b098993d" args="(UErrorCode &amp;status)" -->
<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;&nbsp;</td>
          <td class="paramname"> <em>status</em></td>
          <td>&nbsp;)&nbsp;</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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>the error code. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the unformatted string representation of a number. </dd></dl>
<dl class="draft"><dt><b><a class="el" href="draft.html#_draft000147">Draft:</a></b></dt><dd>This API may be changed in the future versions and was introduced in ICU 4.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a050bf65094f969627c9269ebd5470f7b"></a><!-- doxytag: member="Formattable::getDigitList" ref="a050bf65094f969627c9269ebd5470f7b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DigitList* Formattable::getDigitList </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></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#_internal000297">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#l00603">603</a> of file <a class="el" href="fmtable_8h_source.html">fmtable.h</a>.</p>

</div>
</div>
<a class="anchor" id="a1b0009b703fa26eeafeb19fb101be372"></a><!-- doxytag: member="Formattable::getDouble" ref="a1b0009b703fa26eeafeb19fb101be372" args="(UErrorCode &amp;status) const " -->
<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;&nbsp;</td>
          <td class="paramname"> <em>status</em></td>
          <td>&nbsp;)&nbsp;</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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>the error code </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the double value of this object. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002665">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a9a0118fa9015a633493e37aa421c7f63"></a><!-- doxytag: member="Formattable::getDouble" ref="a9a0118fa9015a633493e37aa421c7f63" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Formattable::getDouble </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></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="return"><dt><b>Returns:</b></dt><dd>the double value of this object. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002664">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="af226a9a011a911af20cba78fd5109d08"></a><!-- doxytag: member="Formattable::getDynamicClassID" ref="af226a9a011a911af20cba78fd5109d08" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> Formattable::getDynamicClassID </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></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#_stable002691">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="ab1db21328cb215916c5941c2b7f60189"></a><!-- doxytag: member="Formattable::getInt64" ref="ab1db21328cb215916c5941c2b7f60189" args="(UErrorCode &amp;status) const " -->
<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;&nbsp;</td>
          <td class="paramname"> <em>status</em></td>
          <td>&nbsp;)&nbsp;</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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>the error code </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the int64 value of this object. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002669">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ad09bd66550cb50d0577ce413c9cb627d"></a><!-- doxytag: member="Formattable::getInt64" ref="ad09bd66550cb50d0577ce413c9cb627d" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int64_t Formattable::getInt64 </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></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="return"><dt><b>Returns:</b></dt><dd>the int64 value of this object. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002668">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="a7ea4122be7eec20f523e9eaa3200ca63"></a><!-- doxytag: member="Formattable::getLong" ref="a7ea4122be7eec20f523e9eaa3200ca63" args="(UErrorCode *status) const " -->
<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> *&nbsp;</td>
          <td class="paramname"> <em>status</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Deprecated variant of getLong(UErrorCode&amp;). </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>the error code </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the long value of this object. </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000196">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#l00665">665</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="ad0a1283fb572442657927d556ec3e158"></a><!-- doxytag: member="Formattable::getLong" ref="ad0a1283fb572442657927d556ec3e158" args="(UErrorCode &amp;status) const " -->
<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;&nbsp;</td>
          <td class="paramname"> <em>status</em></td>
          <td>&nbsp;)&nbsp;</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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>the error code </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the long value of this object. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002667">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div>
<a class="anchor" id="af23eee6502b54acea1f83549e87ba28e"></a><!-- doxytag: member="Formattable::getLong" ref="af23eee6502b54acea1f83549e87ba28e" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t Formattable::getLong </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></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="return"><dt><b>Returns:</b></dt><dd>the long value of this object. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002666">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#l00665">getLong()</a>.</p>

</div>
</div>
<a class="anchor" id="a369d8d938f9a3a553d4e0c52c602d5de"></a><!-- doxytag: member="Formattable::getObject" ref="a369d8d938f9a3a553d4e0c52c602d5de" args="() const " -->
<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>&nbsp;)&nbsp;</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="return"><dt><b>Returns:</b></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#_stable002681">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a704fd6a9c62d33929ff2d9f6f965e3f4"></a><!-- doxytag: member="Formattable::getStaticClassID" ref="a704fd6a9c62d33929ff2d9f6f965e3f4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> Formattable::getStaticClassID </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></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#_stable002692">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a46705d8f815d66367004ba40b3f350dc"></a><!-- doxytag: member="Formattable::getString" ref="a46705d8f815d66367004ba40b3f350dc" args="(UErrorCode &amp;status)" -->
<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;&nbsp;</td>
          <td class="paramname"> <em>status</em></td>
          <td>&nbsp;)&nbsp;</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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>the error code. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>a reference to the string value of this object. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002677">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a599fc22b94579d3d60a05219dad54bc4"></a><!-- doxytag: member="Formattable::getString" ref="a599fc22b94579d3d60a05219dad54bc4" args="(void)" -->
<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">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></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="return"><dt><b>Returns:</b></dt><dd>a reference to the string value of this object. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002676">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

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

</div>
</div>
<a class="anchor" id="a649b76697136c8435f1e2f0a4d513a8c"></a><!-- doxytag: member="Formattable::getString" ref="a649b76697136c8435f1e2f0a4d513a8c" args="(UErrorCode &amp;status) const " -->
<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;&nbsp;</td>
          <td class="paramname"> <em>status</em></td>
          <td>&nbsp;)&nbsp;</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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>the error code. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></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#_stable002675">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ad73e152f9bf909ebfb6d743f0061b136"></a><!-- doxytag: member="Formattable::getString" ref="ad73e152f9bf909ebfb6d743f0061b136" args="(void) const " -->
<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">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></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="return"><dt><b>Returns:</b></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#_stable002674">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

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

</div>
</div>
<a class="anchor" id="a4add509111870deeb1146d6049eafa2a"></a><!-- doxytag: member="Formattable::getString" ref="a4add509111870deeb1146d6049eafa2a" args="(UnicodeString &amp;result, UErrorCode &amp;status) const " -->
<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;&nbsp;</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;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>result</em>&nbsp;</td><td>Output param to receive the Date value of this object. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>the error code. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A reference to 'result'. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002673">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a5eb518dc3b86ed33b57351f002f8e6f0"></a><!-- doxytag: member="Formattable::getString" ref="a5eb518dc3b86ed33b57351f002f8e6f0" args="(UnicodeString &amp;result) const " -->
<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;&nbsp;</td>
          <td class="paramname"> <em>result</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>result</em>&nbsp;</td><td>Output param to receive the Date value of this object. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A reference to 'result'. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002672">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="aaf6a729059c865edb91d8f43f54382fa"></a><!-- doxytag: member="Formattable::getType" ref="aaf6a729059c865edb91d8f43f54382fa" args="(void) const " -->
<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&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</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="return"><dt><b>Returns:</b></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#_stable002662">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ab151afe425035dc64e81d71cf368a007"></a><!-- doxytag: member="Formattable::isNumeric" ref="ab151afe425035dc64e81d71cf368a007" args="() const " -->
<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>&nbsp;)&nbsp;</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="return"><dt><b>Returns:</b></dt><dd>TRUE if this is a pure numeric object </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002663">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div>
<a class="anchor" id="acf1439b3bd065e6a72cbd2b93ac0ff7b"></a><!-- doxytag: member="Formattable::operator!=" ref="acf1439b3bd065e6a72cbd2b93ac0ff7b" args="(const Formattable &amp;other) const " -->
<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;&nbsp;</td>
          <td class="paramname"> <em>other</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Equality operator. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>other</em>&nbsp;</td><td>the object to be compared with. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>TRUE if other are unequal to this, FALSE otherwise. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002658">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><!-- doxytag: member="Formattable::operator=" ref="a5236bed18d2df007c9badcebed0ff827" args="(const Formattable &amp;rhs)" -->
<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;&nbsp;</td>
          <td class="paramname"> <em>rhs</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Assignment operator. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>rhs</em>&nbsp;</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#_stable002656">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a569b2871185bf920541e35854e7acf6a"></a><!-- doxytag: member="Formattable::operator==" ref="a569b2871185bf920541e35854e7acf6a" args="(const Formattable &amp;other) const " -->
<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;&nbsp;</td>
          <td class="paramname"> <em>other</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Equality comparison. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>other</em>&nbsp;</td><td>the object to be compared with. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>TRUE if other are equal to this, FALSE otherwise. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002657">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a8f546115a6d407bd7a812165af4bb9c4"></a><!-- doxytag: member="Formattable::operator[]" ref="a8f546115a6d407bd7a812165af4bb9c4" args="(int32_t index)" -->
<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">int32_t&nbsp;</td>
          <td class="paramname"> <em>index</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>index</em>&nbsp;</td><td>the specified index. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the accessed element in the array. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002680">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><!-- doxytag: member="Formattable::setArray" ref="a3e9b1c18da9da9c38d90d88f84ef3e01" args="(const Formattable *array, int32_t count)" -->
<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> *&nbsp;</td>
          <td class="paramname"> <em>array</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&nbsp;</td>
          <td class="paramname"> <em>count</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>array</em>&nbsp;</td><td>the array value. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>count</em>&nbsp;</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#_stable002687">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a91da497e8c98a9b7062afed1157560ce"></a><!-- doxytag: member="Formattable::setDate" ref="a91da497e8c98a9b7062afed1157560ce" args="(UDate d)" -->
<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>&nbsp;</td>
          <td class="paramname"> <em>d</em></td>
          <td>&nbsp;)&nbsp;</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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>d</em>&nbsp;</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#_stable002685">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a781d07d572b721d59fd1045bbe92fb97"></a><!-- doxytag: member="Formattable::setDecimalNumber" ref="a781d07d572b721d59fd1045bbe92fb97" args="(const StringPiece &amp;numberString, UErrorCode &amp;status)" -->
<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;&nbsp;</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;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>numberString</em>&nbsp;</td><td>a string representation of the unformatted decimal number. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</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="draft"><dt><b><a class="el" href="draft.html#_draft000148">Draft:</a></b></dt><dd>This API may be changed in the future versions and was introduced in ICU 4.4 </dd></dl>

</div>
</div>
<a class="anchor" id="acb096fd7b81a93cab2d8c4c6e2c0854e"></a><!-- doxytag: member="Formattable::setDouble" ref="acb096fd7b81a93cab2d8c4c6e2c0854e" args="(double d)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Formattable::setDouble </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>d</em></td>
          <td>&nbsp;)&nbsp;</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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>d</em>&nbsp;</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#_stable002682">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a82fdbd66a6e9d496d7aee61969bbe518"></a><!-- doxytag: member="Formattable::setInt64" ref="a82fdbd66a6e9d496d7aee61969bbe518" args="(int64_t ll)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Formattable::setInt64 </td>
          <td>(</td>
          <td class="paramtype">int64_t&nbsp;</td>
          <td class="paramname"> <em>ll</em></td>
          <td>&nbsp;)&nbsp;</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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>ll</em>&nbsp;</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#_stable002684">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

</div>
</div>
<a class="anchor" id="aafa2d23eda301a1909f7586fc78dd7b9"></a><!-- doxytag: member="Formattable::setLong" ref="aafa2d23eda301a1909f7586fc78dd7b9" args="(int32_t l)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Formattable::setLong </td>
          <td>(</td>
          <td class="paramtype">int32_t&nbsp;</td>
          <td class="paramname"> <em>l</em></td>
          <td>&nbsp;)&nbsp;</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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>l</em>&nbsp;</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#_stable002683">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a58298eefc0fde88be748e663a57e1d52"></a><!-- doxytag: member="Formattable::setString" ref="a58298eefc0fde88be748e663a57e1d52" args="(const UnicodeString &amp;stringToCopy)" -->
<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;&nbsp;</td>
          <td class="paramname"> <em>stringToCopy</em></td>
          <td>&nbsp;)&nbsp;</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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>stringToCopy</em>&nbsp;</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#_stable002686">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>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&nbsp;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&nbsp;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr size="1"/><address style="text-align: right;"><small>Generated on 16 Mar 2010 for ICU 4.4 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>