Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 280da2a01a3d16776505ea3f476de84f > files > 77

icu-doc-3.8.1-2mdv2008.1.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>ICU 3.8: Formattable Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.1 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li id="current"><a href="classes.html"><span>Data&nbsp;Structures</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
    <li>
      <form action="search.php" method="get">
        <table cellspacing="0" cellpadding="0" border="0">
          <tr>
            <td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</label></td>
            <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
          </tr>
        </table>
      </form>
    </li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
    <li><a href="annotated.html"><span>Data&nbsp;Structures</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>
<h1>Formattable Class Reference</h1><!-- doxytag: class="Formattable" --><!-- doxytag: inherits="UObject" --><a class="el" href="classFormattable.html">Formattable</a> objects can be passed to the <a class="el" href="classFormat.html">Format</a> class or its subclasses for formatting.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="fmtable_8h-source.html">fmtable.h</a>&gt;</code>
<p>
<p>Inheritance diagram for Formattable:
<p><center><img src="classFormattable.png" usemap="#Formattable_map" border="0" alt=""></center>
<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>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#0016ff3fd3a8b77b1775db4d8053dc77">ISDATE</a> { <b>kIsDate</b>
 }</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This enum is only used to let callers distinguish between the Formattable(UDate) constructor and the <a class="el" href="classFormattable.html#57cfe4ad057dc091814d380da9b33d63">Formattable(double)</a> constructor; the compiler cannot distinguish the signatures, since UDate is currently typedefed to be either double or long.  <a href="classFormattable.html#0016ff3fd3a8b77b1775db4d8053dc77">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#6116dce32d34fe529d3a15c4f4d587a9">Type</a> { <br>
&nbsp;&nbsp;<a class="el" href="classFormattable.html#6116dce32d34fe529d3a15c4f4d587a95b0ae01d869868e36ddc2d548bdfebbb">kDate</a>, 
<a class="el" href="classFormattable.html#6116dce32d34fe529d3a15c4f4d587a920df50b64f4c08d5ddc94d5491978bd6">kDouble</a>, 
<a class="el" href="classFormattable.html#6116dce32d34fe529d3a15c4f4d587a9b2c013b122f7d28fc6cb971c6be8fb81">kLong</a>, 
<a class="el" href="classFormattable.html#6116dce32d34fe529d3a15c4f4d587a9065be6ed91ee0a3d57cbac3df2755415">kString</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="classFormattable.html#6116dce32d34fe529d3a15c4f4d587a991a06b3e0bcd39b0d25be34ece2f85e8">kArray</a>, 
<a class="el" href="classFormattable.html#6116dce32d34fe529d3a15c4f4d587a9eea564410cc4d45c86d9e6477d4247be">kInt64</a>, 
<a class="el" href="classFormattable.html#6116dce32d34fe529d3a15c4f4d587a9950ff294472e1c07e148a21f98f56b9c">kObject</a>
<br>
 }</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Selector for flavor of data type contained within a <a class="el" href="classFormattable.html">Formattable</a> object.  <a href="classFormattable.html#6116dce32d34fe529d3a15c4f4d587a9">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#1b05d47998d1d08e2d3a4a772f482d65">Formattable</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor.  <a href="#1b05d47998d1d08e2d3a4a772f482d65"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#72bada90a8c8c0fddcad9e8c6e172890">Formattable</a> (<a class="el" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a> d, <a class="el" href="classFormattable.html#0016ff3fd3a8b77b1775db4d8053dc77">ISDATE</a> flag)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a <a class="el" href="classFormattable.html">Formattable</a> object with a UDate instance.  <a href="#72bada90a8c8c0fddcad9e8c6e172890"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#57cfe4ad057dc091814d380da9b33d63">Formattable</a> (double d)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a <a class="el" href="classFormattable.html">Formattable</a> object with a double number.  <a href="#57cfe4ad057dc091814d380da9b33d63"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#94fe9340c7d26bd247eb34cc077ba2d6">Formattable</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> l)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a <a class="el" href="classFormattable.html">Formattable</a> object with a long number.  <a href="#94fe9340c7d26bd247eb34cc077ba2d6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#0ac0e62441b18c7fdadf4d8a070d3cd5">Formattable</a> (<a class="el" href="pwin32_8h.html#dec1df1b8b51cb32b77e5b86fff46471">int64_t</a> ll)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a <a class="el" href="classFormattable.html">Formattable</a> object with an int64_t number.  <a href="#0ac0e62441b18c7fdadf4d8a070d3cd5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#09ede03bafb98f409597eb15f1ce2c4c">Formattable</a> (const char *strToCopy)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a <a class="el" href="classFormattable.html">Formattable</a> object with a char string pointer.  <a href="#09ede03bafb98f409597eb15f1ce2c4c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#40b32124a7750edd8fdd9fe33062dda0">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">Formattable</a> object with a <a class="el" href="classUnicodeString.html">UnicodeString</a> object to copy from.  <a href="#40b32124a7750edd8fdd9fe33062dda0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#10210c262e0e2ca49adebd71d04512f4">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">Formattable</a> object with a <a class="el" href="classUnicodeString.html">UnicodeString</a> object to adopt from.  <a href="#10210c262e0e2ca49adebd71d04512f4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#8ec708cf73438029dfb7347b1df400ab">Formattable</a> (const <a class="el" href="classFormattable.html">Formattable</a> *arrayToCopy, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> count)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a <a class="el" href="classFormattable.html">Formattable</a> object with an array of <a class="el" href="classFormattable.html">Formattable</a> objects.  <a href="#8ec708cf73438029dfb7347b1df400ab"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#261760e59c78a4b94797c9b0457a9b78">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">Formattable</a> object that adopts the given <a class="el" href="classUObject.html">UObject</a>.  <a href="#261760e59c78a4b94797c9b0457a9b78"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#483628d21dab7e101a953c6ce26d6f2b">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="#483628d21dab7e101a953c6ce26d6f2b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#5236bed18d2df007c9badcebed0ff827">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="#5236bed18d2df007c9badcebed0ff827"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#0ec3f4dba697556a5990717be1bb0621">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="#0ec3f4dba697556a5990717be1bb0621"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#a6055f80e5166c168186500c80a91849">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="#a6055f80e5166c168186500c80a91849"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#ffa7784f060d736f816080b2f8bd264d">~Formattable</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor.  <a href="#ffa7784f060d736f816080b2f8bd264d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#1cafb80fee12f7153eb23d1ab3f7fb07">clone</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Clone this object.  <a href="#1cafb80fee12f7153eb23d1ab3f7fb07"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classFormattable.html#6116dce32d34fe529d3a15c4f4d587a9">Type</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#af6a729059c865edb91d8f43f54382fa">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">Formattable</a> object.  <a href="#af6a729059c865edb91d8f43f54382fa"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#cd527a13e5e8e2a4b2f2f2747d2f75e6">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">Formattable</a> object is kDouble, kLong, or kInt64.  <a href="#cd527a13e5e8e2a4b2f2f2747d2f75e6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#9a0118fa9015a633493e37aa421c7f63">getDouble</a> (void) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the double value of this object.  <a href="#9a0118fa9015a633493e37aa421c7f63"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#e4f4afe486005fd6158f32f86b6af8f7">getDouble</a> (<a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">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="#e4f4afe486005fd6158f32f86b6af8f7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#f23eee6502b54acea1f83549e87ba28e">getLong</a> (void) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the long value of this object.  <a href="#f23eee6502b54acea1f83549e87ba28e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#8180b16399b66a6b013d13111fc38872">getLong</a> (<a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">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="#8180b16399b66a6b013d13111fc38872"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#dec1df1b8b51cb32b77e5b86fff46471">int64_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#d09bd66550cb50d0577ce413c9cb627d">getInt64</a> (void) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the int64 value of this object.  <a href="#d09bd66550cb50d0577ce413c9cb627d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#dec1df1b8b51cb32b77e5b86fff46471">int64_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#32cc107de39e01dae593eae9067790ed">getInt64</a> (<a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">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="#32cc107de39e01dae593eae9067790ed"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#1651011320b9d1ad3fad7ca83710f6bc">getDate</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the Date value of this object.  <a href="#1651011320b9d1ad3fad7ca83710f6bc"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#2c183bf0ab6aa680c2647cef0dec4e36">getDate</a> (<a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">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="#2c183bf0ab6aa680c2647cef0dec4e36"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#f45c094915d0283b1a7b8d16fb561039">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="#f45c094915d0283b1a7b8d16fb561039"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#4add509111870deeb1146d6049eafa2a">getString</a> (<a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;result, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">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="#4add509111870deeb1146d6049eafa2a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#d73e152f9bf909ebfb6d743f0061b136">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="#d73e152f9bf909ebfb6d743f0061b136"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#2c1ac7203ce1d8db3bbf0882d8f85f0d">getString</a> (<a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">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="#2c1ac7203ce1d8db3bbf0882d8f85f0d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#599fc22b94579d3d60a05219dad54bc4">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="#599fc22b94579d3d60a05219dad54bc4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#46705d8f815d66367004ba40b3f350dc">getString</a> (<a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">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="#46705d8f815d66367004ba40b3f350dc"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#6f2ed2657d4c0293872bb850028f40b4">getArray</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> &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="#6f2ed2657d4c0293872bb850028f40b4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#30f89136ab924378b095320e67c503ee">getArray</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> &amp;count, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">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="#30f89136ab924378b095320e67c503ee"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#8f546115a6d407bd7a812165af4bb9c4">operator[]</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> 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">Formattable</a> object.  <a href="#8f546115a6d407bd7a812165af4bb9c4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#00151dedceb841c967cf6129013c04b5">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">UObject</a> contained within this formattable, or NULL if this object does not contain a <a class="el" href="classUObject.html">UObject</a>.  <a href="#00151dedceb841c967cf6129013c04b5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#cb096fd7b81a93cab2d8c4c6e2c0854e">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="#cb096fd7b81a93cab2d8c4c6e2c0854e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#afa2d23eda301a1909f7586fc78dd7b9">setLong</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> 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="#afa2d23eda301a1909f7586fc78dd7b9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#82fdbd66a6e9d496d7aee61969bbe518">setInt64</a> (<a class="el" href="pwin32_8h.html#dec1df1b8b51cb32b77e5b86fff46471">int64_t</a> 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="#82fdbd66a6e9d496d7aee61969bbe518"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#91da497e8c98a9b7062afed1157560ce">setDate</a> (<a class="el" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">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="#91da497e8c98a9b7062afed1157560ce"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#58298eefc0fde88be748e663a57e1d52">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="#58298eefc0fde88be748e663a57e1d52"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#3e9b1c18da9da9c38d90d88f84ef3e01">setArray</a> (const <a class="el" href="classFormattable.html">Formattable</a> *array, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> 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="#3e9b1c18da9da9c38d90d88f84ef3e01"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#0f4689ccee46804a84219d934c84d220">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="#0f4689ccee46804a84219d934c84d220"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#4fea1f1272412f7a145b3d19edf3917d">adoptArray</a> (<a class="el" href="classFormattable.html">Formattable</a> *array, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> 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="#4fea1f1272412f7a145b3d19edf3917d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#949fd086ba20b88c1af4d55906711335">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">UObject</a> value of this object and changes the type to kObject.  <a href="#949fd086ba20b88c1af4d55906711335"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="utypes_8h.html#22af10545208a455a6e884008df48e9f">UClassID</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#b5c20a86cf1ee01fce7def4dc7f29933">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="#b5c20a86cf1ee01fce7def4dc7f29933"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#aaca3f490ccbf0a9cb90c88267f91d5a">getLong</a> (<a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Deprecated variant of getLong(UErrorCode&amp;).  <a href="#aaca3f490ccbf0a9cb90c88267f91d5a"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="utypes_8h.html#22af10545208a455a6e884008df48e9f">UClassID</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormattable.html#704fd6a9c62d33929ff2d9f6f965e3f4">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="#704fd6a9c62d33929ff2d9f6f965e3f4"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classFormattable.html">Formattable</a> objects can be passed to the <a class="el" href="classFormat.html">Format</a> class or its subclasses for formatting. 
<p>
<a class="el" href="classFormattable.html">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">UnicodeString</a>.<p>
Internally, a <a class="el" href="classFormattable.html">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>
As of ICU 3.0, <a class="el" href="classFormattable.html">Formattable</a> may also wrap a <a class="el" href="classUObject.html">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">Formattable</a>. For legacy reasons and for efficiency, primitive numeric types are still stored directly within a <a class="el" href="classFormattable.html">Formattable</a>.<p>
The <a class="el" href="classFormattable.html">Formattable</a> class is not suitable for subclassing. 
<p>

<p>
Definition at line <a class="el" href="fmtable_8h-source.html#l00047">47</a> of file <a class="el" href="fmtable_8h-source.html">fmtable.h</a>.<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="0016ff3fd3a8b77b1775db4d8053dc77"></a><!-- doxytag: member="Formattable::ISDATE" ref="0016ff3fd3a8b77b1775db4d8053dc77" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classFormattable.html#0016ff3fd3a8b77b1775db4d8053dc77">Formattable::ISDATE</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This enum is only used to let callers distinguish between the Formattable(UDate) constructor and the <a class="el" href="classFormattable.html#57cfe4ad057dc091814d380da9b33d63">Formattable(double)</a> constructor; the compiler cannot distinguish the signatures, since UDate is currently typedefed to be either double or long. 
<p>
If UDate is changed later to be a bonafide class or struct, then we no longer need this enum. <dl compact><dt><b><a class="el" href="stable.html#_stable002369">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

<p>
Definition at line <a class="el" href="fmtable_8h-source.html#l00058">58</a> of file <a class="el" href="fmtable_8h-source.html">fmtable.h</a>.
</div>
</div><p>
<a class="anchor" name="6116dce32d34fe529d3a15c4f4d587a9"></a><!-- doxytag: member="Formattable::Type" ref="6116dce32d34fe529d3a15c4f4d587a9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classFormattable.html#6116dce32d34fe529d3a15c4f4d587a9">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">Formattable</a> object. 
<p>
<a class="el" href="classFormattable.html">Formattable</a> is a union of several different types, and at any time contains exactly one type. <dl compact><dt><b><a class="el" href="stable.html#_stable002386">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="6116dce32d34fe529d3a15c4f4d587a95b0ae01d869868e36ddc2d548bdfebbb"></a><!-- doxytag: member="kDate" ref="6116dce32d34fe529d3a15c4f4d587a95b0ae01d869868e36ddc2d548bdfebbb" args="" -->kDate</em>&nbsp;</td><td>
Selector indicating a UDate value. 
<p>
Use getDate to retrieve the value. <dl compact><dt><b><a class="el" href="stable.html#_stable002418">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="6116dce32d34fe529d3a15c4f4d587a920df50b64f4c08d5ddc94d5491978bd6"></a><!-- doxytag: member="kDouble" ref="6116dce32d34fe529d3a15c4f4d587a920df50b64f4c08d5ddc94d5491978bd6" args="" -->kDouble</em>&nbsp;</td><td>
Selector indicating a double value. 
<p>
Use getDouble to retrieve the value. <dl compact><dt><b><a class="el" href="stable.html#_stable002419">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="6116dce32d34fe529d3a15c4f4d587a9b2c013b122f7d28fc6cb971c6be8fb81"></a><!-- doxytag: member="kLong" ref="6116dce32d34fe529d3a15c4f4d587a9b2c013b122f7d28fc6cb971c6be8fb81" args="" -->kLong</em>&nbsp;</td><td>
Selector indicating a 32-bit integer value. 
<p>
Use getLong to retrieve the value. <dl compact><dt><b><a class="el" href="stable.html#_stable002420">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="6116dce32d34fe529d3a15c4f4d587a9065be6ed91ee0a3d57cbac3df2755415"></a><!-- doxytag: member="kString" ref="6116dce32d34fe529d3a15c4f4d587a9065be6ed91ee0a3d57cbac3df2755415" args="" -->kString</em>&nbsp;</td><td>
Selector indicating a <a class="el" href="classUnicodeString.html">UnicodeString</a> value. 
<p>
Use getString to retrieve the value. <dl compact><dt><b><a class="el" href="stable.html#_stable002421">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="6116dce32d34fe529d3a15c4f4d587a991a06b3e0bcd39b0d25be34ece2f85e8"></a><!-- doxytag: member="kArray" ref="6116dce32d34fe529d3a15c4f4d587a991a06b3e0bcd39b0d25be34ece2f85e8" args="" -->kArray</em>&nbsp;</td><td>
Selector indicating an array of Formattables. 
<p>
Use getArray to retrieve the value. <dl compact><dt><b><a class="el" href="stable.html#_stable002422">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="6116dce32d34fe529d3a15c4f4d587a9eea564410cc4d45c86d9e6477d4247be"></a><!-- doxytag: member="kInt64" ref="6116dce32d34fe529d3a15c4f4d587a9eea564410cc4d45c86d9e6477d4247be" args="" -->kInt64</em>&nbsp;</td><td>
Selector indicating a 64-bit integer value. 
<p>
Use getInt64 to retrieve the value. <dl compact><dt><b><a class="el" href="stable.html#_stable002423">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="6116dce32d34fe529d3a15c4f4d587a9950ff294472e1c07e148a21f98f56b9c"></a><!-- doxytag: member="kObject" ref="6116dce32d34fe529d3a15c4f4d587a9950ff294472e1c07e148a21f98f56b9c" args="" -->kObject</em>&nbsp;</td><td>
Selector indicating a <a class="el" href="classUObject.html">UObject</a> value. 
<p>
Use getObject to retrieve the value. <dl compact><dt><b><a class="el" href="stable.html#_stable002424">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>
</td></tr>
</table>
</dl>

<p>
Definition at line <a class="el" href="fmtable_8h-source.html#l00189">189</a> of file <a class="el" href="fmtable_8h-source.html">fmtable.h</a>.
</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="1b05d47998d1d08e2d3a4a772f482d65"></a><!-- doxytag: member="Formattable::Formattable" ref="1b05d47998d1d08e2d3a4a772f482d65" 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 width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div><p>
<a class="anchor" name="72bada90a8c8c0fddcad9e8c6e172890"></a><!-- doxytag: member="Formattable::Formattable" ref="72bada90a8c8c0fddcad9e8c6e172890" 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#ce1704e9e77d407d1eaaa2e73ec0c039">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#0016ff3fd3a8b77b1775db4d8053dc77">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 width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Creates a <a class="el" href="classFormattable.html">Formattable</a> object with a UDate instance. 
<p>
<dl compact><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>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002371">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="57cfe4ad057dc091814d380da9b33d63"></a><!-- doxytag: member="Formattable::Formattable" ref="57cfe4ad057dc091814d380da9b33d63" 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 width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Creates a <a class="el" href="classFormattable.html">Formattable</a> object with a double number. 
<p>
<dl compact><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>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002372">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="94fe9340c7d26bd247eb34cc077ba2d6"></a><!-- doxytag: member="Formattable::Formattable" ref="94fe9340c7d26bd247eb34cc077ba2d6" 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"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>l</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Creates a <a class="el" href="classFormattable.html">Formattable</a> object with a long number. 
<p>
<dl compact><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>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002373">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="0ac0e62441b18c7fdadf4d8a070d3cd5"></a><!-- doxytag: member="Formattable::Formattable" ref="0ac0e62441b18c7fdadf4d8a070d3cd5" 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"><a class="el" href="pwin32_8h.html#dec1df1b8b51cb32b77e5b86fff46471">int64_t</a>&nbsp;</td>
          <td class="paramname"> <em>ll</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Creates a <a class="el" href="classFormattable.html">Formattable</a> object with an int64_t number. 
<p>
<dl compact><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>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002374">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

</div>
</div><p>
<a class="anchor" name="09ede03bafb98f409597eb15f1ce2c4c"></a><!-- doxytag: member="Formattable::Formattable" ref="09ede03bafb98f409597eb15f1ce2c4c" 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 width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Creates a <a class="el" href="classFormattable.html">Formattable</a> object with a char string pointer. 
<p>
Assumes that the char string is null terminated. <dl compact><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>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002375">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="40b32124a7750edd8fdd9fe33062dda0"></a><!-- doxytag: member="Formattable::Formattable" ref="40b32124a7750edd8fdd9fe33062dda0" 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 width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Creates a <a class="el" href="classFormattable.html">Formattable</a> object with a <a class="el" href="classUnicodeString.html">UnicodeString</a> object to copy from. 
<p>
<dl compact><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">UnicodeString</a> string. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002376">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="10210c262e0e2ca49adebd71d04512f4"></a><!-- doxytag: member="Formattable::Formattable" ref="10210c262e0e2ca49adebd71d04512f4" 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 width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Creates a <a class="el" href="classFormattable.html">Formattable</a> object with a <a class="el" href="classUnicodeString.html">UnicodeString</a> object to adopt from. 
<p>
<dl compact><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">UnicodeString</a> string. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002377">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="8ec708cf73438029dfb7347b1df400ab"></a><!-- doxytag: member="Formattable::Formattable" ref="8ec708cf73438029dfb7347b1df400ab" 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"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>count</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Creates a <a class="el" href="classFormattable.html">Formattable</a> object with an array of <a class="el" href="classFormattable.html">Formattable</a> objects. 
<p>
<dl compact><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">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>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002378">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="261760e59c78a4b94797c9b0457a9b78"></a><!-- doxytag: member="Formattable::Formattable" ref="261760e59c78a4b94797c9b0457a9b78" 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 width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Creates a <a class="el" href="classFormattable.html">Formattable</a> object that adopts the given <a class="el" href="classUObject.html">UObject</a>. 
<p>
<dl compact><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">UObject</a> to set this object to </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002379">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="483628d21dab7e101a953c6ce26d6f2b"></a><!-- doxytag: member="Formattable::Formattable" ref="483628d21dab7e101a953c6ce26d6f2b" 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 width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div><p>
<a class="anchor" name="ffa7784f060d736f816080b2f8bd264d"></a><!-- doxytag: member="Formattable::~Formattable" ref="ffa7784f060d736f816080b2f8bd264d" 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 width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="5236bed18d2df007c9badcebed0ff827"></a><!-- doxytag: member="Formattable::operator=" ref="5236bed18d2df007c9badcebed0ff827" 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 width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Assignment operator. 
<p>
<dl compact><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">Formattable</a> object to copy into this object. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002381">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="0ec3f4dba697556a5990717be1bb0621"></a><!-- doxytag: member="Formattable::operator==" ref="0ec3f4dba697556a5990717be1bb0621" 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#349ef00011f20ccd1d3b424445681aa5">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 width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Equality comparison. 
<p>
<dl compact><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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>TRUE if other are equal to this, FALSE otherwise. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002382">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="a6055f80e5166c168186500c80a91849"></a><!-- doxytag: member="Formattable::operator!=" ref="a6055f80e5166c168186500c80a91849" 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#349ef00011f20ccd1d3b424445681aa5">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 width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Equality operator. 
<p>
<dl compact><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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>TRUE if other are unequal to this, FALSE otherwise. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002383">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition at line <a class="el" href="fmtable_8h-source.html#l00161">161</a> of file <a class="el" href="fmtable_8h-source.html">fmtable.h</a>.
</div>
</div><p>
<a class="anchor" name="1cafb80fee12f7153eb23d1ab3f7fb07"></a><!-- doxytag: member="Formattable::clone" ref="1cafb80fee12f7153eb23d1ab3f7fb07" 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 width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Clone this object. 
<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" compact><dt><b>Returns:</b></dt><dd>a clone of this object</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classFormattable.html#b5c20a86cf1ee01fce7def4dc7f29933">getDynamicClassID</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002385">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

</div>
</div><p>
<a class="anchor" name="af6a729059c865edb91d8f43f54382fa"></a><!-- doxytag: member="Formattable::getType" ref="af6a729059c865edb91d8f43f54382fa" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classFormattable.html#6116dce32d34fe529d3a15c4f4d587a9">Type</a> Formattable::getType           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the data type of this <a class="el" href="classFormattable.html">Formattable</a> object. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the data type of this <a class="el" href="classFormattable.html">Formattable</a> object. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002387">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="cd527a13e5e8e2a4b2f2f2747d2f75e6"></a><!-- doxytag: member="Formattable::isNumeric" ref="cd527a13e5e8e2a4b2f2f2747d2f75e6" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> Formattable::isNumeric           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns TRUE if the data type of this <a class="el" href="classFormattable.html">Formattable</a> object is kDouble, kLong, or kInt64. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>TRUE if this is a pure numeric object </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002388">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="9a0118fa9015a633493e37aa421c7f63"></a><!-- doxytag: member="Formattable::getDouble" ref="9a0118fa9015a633493e37aa421c7f63" 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 width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the double value of this object. 
<p>
If this object is not of type kDouble then the result is undefined. <dl class="return" compact><dt><b>Returns:</b></dt><dd>the double value of this object. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002389">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition at line <a class="el" href="fmtable_8h-source.html#l00261">261</a> of file <a class="el" href="fmtable_8h-source.html">fmtable.h</a>.
</div>
</div><p>
<a class="anchor" name="e4f4afe486005fd6158f32f86b6af8f7"></a><!-- doxytag: member="Formattable::getDouble" ref="e4f4afe486005fd6158f32f86b6af8f7" 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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the double value of this object. 
<p>
If this object is of type long or int64 then a casting conversion is peformed, with possible loss of precision. If the type is kObject and the object is a <a class="el" href="classMeasure.html">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">Measure</a>, then 0 is returned and the status is set to U_INVALID_FORMAT_ERROR. <dl compact><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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the double value of this object. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002390">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="f23eee6502b54acea1f83549e87ba28e"></a><!-- doxytag: member="Formattable::getLong" ref="f23eee6502b54acea1f83549e87ba28e" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Formattable::getLong           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the long value of this object. 
<p>
If this object is not of type kLong then the result is undefined. <dl class="return" compact><dt><b>Returns:</b></dt><dd>the long value of this object. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002391">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition at line <a class="el" href="fmtable_8h-source.html#l00283">283</a> of file <a class="el" href="fmtable_8h-source.html">fmtable.h</a>.
<p>
Referenced by <a class="el" href="fmtable_8h-source.html#l00581">getLong()</a>.
</div>
</div><p>
<a class="anchor" name="8180b16399b66a6b013d13111fc38872"></a><!-- doxytag: member="Formattable::getLong" ref="8180b16399b66a6b013d13111fc38872" args="(UErrorCode &amp;status) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Formattable::getLong           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the long value of this object. 
<p>
If the magnitude is too large to fit in a long, then the maximum or minimum long value, as appropriate, is returned and the status is set to U_INVALID_FORMAT_ERROR. If this object is of type kInt64 and it fits within a long, then no precision is lost. If it is of type kDouble, then a 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">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">Measure</a>, then 0 is returned and the status is set to U_INVALID_FORMAT_ERROR. <dl compact><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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the long value of this object. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002392">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="d09bd66550cb50d0577ce413c9cb627d"></a><!-- doxytag: member="Formattable::getInt64" ref="d09bd66550cb50d0577ce413c9cb627d" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#dec1df1b8b51cb32b77e5b86fff46471">int64_t</a> Formattable::getInt64           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the int64 value of this object. 
<p>
If this object is not of type kInt64 then the result is undefined. <dl class="return" compact><dt><b>Returns:</b></dt><dd>the int64 value of this object. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002393">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

<p>
Definition at line <a class="el" href="fmtable_8h-source.html#l00309">309</a> of file <a class="el" href="fmtable_8h-source.html">fmtable.h</a>.
</div>
</div><p>
<a class="anchor" name="32cc107de39e01dae593eae9067790ed"></a><!-- doxytag: member="Formattable::getInt64" ref="32cc107de39e01dae593eae9067790ed" args="(UErrorCode &amp;status) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#dec1df1b8b51cb32b77e5b86fff46471">int64_t</a> Formattable::getInt64           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the int64 value of this object. 
<p>
If this object is of type kDouble 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">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">Measure</a>, then 0 is returned and the status is set to U_INVALID_FORMAT_ERROR. <dl compact><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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the int64 value of this object. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002394">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="1651011320b9d1ad3fad7ca83710f6bc"></a><!-- doxytag: member="Formattable::getDate" ref="1651011320b9d1ad3fad7ca83710f6bc" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a> Formattable::getDate           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the Date value of this object. 
<p>
If this object is not of type kDate then the result is undefined. <dl class="return" compact><dt><b>Returns:</b></dt><dd>the Date value of this object. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002395">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition at line <a class="el" href="fmtable_8h-source.html#l00334">334</a> of file <a class="el" href="fmtable_8h-source.html">fmtable.h</a>.
</div>
</div><p>
<a class="anchor" name="2c183bf0ab6aa680c2647cef0dec4e36"></a><!-- doxytag: member="Formattable::getDate" ref="2c183bf0ab6aa680c2647cef0dec4e36" 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#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a> Formattable::getDate           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the Date value of this object. 
<p>
If the type is not a date, status is set to U_INVALID_FORMAT_ERROR and the return value is undefined. <dl compact><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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the Date value of this object. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002396">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

<p>
Definition at line <a class="el" href="fmtable_8h-source.html#l00563">563</a> of file <a class="el" href="fmtable_8h-source.html">fmtable.h</a>.
<p>
References <a class="el" href="classFormattable.html#6116dce32d34fe529d3a15c4f4d587a95b0ae01d869868e36ddc2d548bdfebbb">kDate</a>, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c3b2830761371670dcbe807353eba2b6a">U_INVALID_FORMAT_ERROR</a>, and <a class="el" href="utypes_8h-source.html#l00769">U_SUCCESS</a>.
</div>
</div><p>
<a class="anchor" name="f45c094915d0283b1a7b8d16fb561039"></a><!-- doxytag: member="Formattable::getString" ref="f45c094915d0283b1a7b8d16fb561039" 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 width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the string value of this object. 
<p>
If this object is not of type kString then the result is undefined. <dl compact><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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A reference to 'result'. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002397">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition at line <a class="el" href="fmtable_8h-source.html#l00353">353</a> of file <a class="el" href="fmtable_8h-source.html">fmtable.h</a>.
</div>
</div><p>
<a class="anchor" name="4add509111870deeb1146d6049eafa2a"></a><!-- doxytag: member="Formattable::getString" ref="4add509111870deeb1146d6049eafa2a" 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#3343c1c8a8377277046774691c98d78c">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 width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the string value of this object. 
<p>
If the type is not a string, status is set to U_INVALID_FORMAT_ERROR and a bogus string is returned. <dl compact><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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A reference to 'result'. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002398">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="d73e152f9bf909ebfb6d743f0061b136"></a><!-- doxytag: member="Formattable::getString" ref="d73e152f9bf909ebfb6d743f0061b136" 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 width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets a const reference to the string value of this object. 
<p>
If this object is not of type kString then the result is undefined. <dl class="return" compact><dt><b>Returns:</b></dt><dd>a const reference to the string value of this object. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002399">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition at line <a class="el" href="fmtable_8h-source.html#l00573">573</a> of file <a class="el" href="fmtable_8h-source.html">fmtable.h</a>.
</div>
</div><p>
<a class="anchor" name="2c1ac7203ce1d8db3bbf0882d8f85f0d"></a><!-- doxytag: member="Formattable::getString" ref="2c1ac7203ce1d8db3bbf0882d8f85f0d" 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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets a const reference to the string value of this object. 
<p>
If the type is not a string, status is set to U_INVALID_FORMAT_ERROR and the result is a bogus string. <dl compact><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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>a const reference to the string value of this object. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002400">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="599fc22b94579d3d60a05219dad54bc4"></a><!-- doxytag: member="Formattable::getString" ref="599fc22b94579d3d60a05219dad54bc4" 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 width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets a reference to the string value of this object. 
<p>
If this object is not of type kString then the result is undefined. <dl class="return" compact><dt><b>Returns:</b></dt><dd>a reference to the string value of this object. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002401">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition at line <a class="el" href="fmtable_8h-source.html#l00577">577</a> of file <a class="el" href="fmtable_8h-source.html">fmtable.h</a>.
</div>
</div><p>
<a class="anchor" name="46705d8f815d66367004ba40b3f350dc"></a><!-- doxytag: member="Formattable::getString" ref="46705d8f815d66367004ba40b3f350dc" 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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets a reference to the string value of this object. 
<p>
If the type is not a string, status is set to U_INVALID_FORMAT_ERROR and the result is a bogus string. <dl compact><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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>a reference to the string value of this object. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002402">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="6f2ed2657d4c0293872bb850028f40b4"></a><!-- doxytag: member="Formattable::getArray" ref="6f2ed2657d4c0293872bb850028f40b4" 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"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>count</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the array value and count of this object. 
<p>
If this object is not of type kArray then the result is undefined. <dl compact><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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the array value of this object. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002403">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition at line <a class="el" href="fmtable_8h-source.html#l00411">411</a> of file <a class="el" href="fmtable_8h-source.html">fmtable.h</a>.
</div>
</div><p>
<a class="anchor" name="30f89136ab924378b095320e67c503ee"></a><!-- doxytag: member="Formattable::getArray" ref="30f89136ab924378b095320e67c503ee" 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"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> &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#3343c1c8a8377277046774691c98d78c">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 width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the array value and count of this object. 
<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. <dl compact><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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the array value of this object. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002404">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="8f546115a6d407bd7a812165af4bb9c4"></a><!-- doxytag: member="Formattable::operator[]" ref="8f546115a6d407bd7a812165af4bb9c4" 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"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>index</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><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">Formattable</a> object. 
<p>
If this object is not of type kArray then the result is undefined. <dl compact><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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the accessed element in the array. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002405">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition at line <a class="el" href="fmtable_8h-source.html#l00433">433</a> of file <a class="el" href="fmtable_8h-source.html">fmtable.h</a>.
</div>
</div><p>
<a class="anchor" name="00151dedceb841c967cf6129013c04b5"></a><!-- doxytag: member="Formattable::getObject" ref="00151dedceb841c967cf6129013c04b5" 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 width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns a pointer to the <a class="el" href="classUObject.html">UObject</a> contained within this formattable, or NULL if this object does not contain a <a class="el" href="classUObject.html">UObject</a>. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>a <a class="el" href="classUObject.html">UObject</a> pointer, or NULL </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002406">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="cb096fd7b81a93cab2d8c4c6e2c0854e"></a><!-- doxytag: member="Formattable::setDouble" ref="cb096fd7b81a93cab2d8c4c6e2c0854e" 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 width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the double value of this object and changes the type to kDouble. 
<p>
<dl compact><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>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002407">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="afa2d23eda301a1909f7586fc78dd7b9"></a><!-- doxytag: member="Formattable::setLong" ref="afa2d23eda301a1909f7586fc78dd7b9" 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"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>l</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the long value of this object and changes the type to kLong. 
<p>
<dl compact><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>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002408">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="82fdbd66a6e9d496d7aee61969bbe518"></a><!-- doxytag: member="Formattable::setInt64" ref="82fdbd66a6e9d496d7aee61969bbe518" 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"><a class="el" href="pwin32_8h.html#dec1df1b8b51cb32b77e5b86fff46471">int64_t</a>&nbsp;</td>
          <td class="paramname"> <em>ll</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the int64 value of this object and changes the type to kInt64. 
<p>
<dl compact><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>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002409">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

</div>
</div><p>
<a class="anchor" name="91da497e8c98a9b7062afed1157560ce"></a><!-- doxytag: member="Formattable::setDate" ref="91da497e8c98a9b7062afed1157560ce" 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#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&nbsp;</td>
          <td class="paramname"> <em>d</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the Date value of this object and changes the type to kDate. 
<p>
<dl compact><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>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002410">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="58298eefc0fde88be748e663a57e1d52"></a><!-- doxytag: member="Formattable::setString" ref="58298eefc0fde88be748e663a57e1d52" 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 width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the string value of this object and changes the type to kString. 
<p>
<dl compact><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>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002411">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="3e9b1c18da9da9c38d90d88f84ef3e01"></a><!-- doxytag: member="Formattable::setArray" ref="3e9b1c18da9da9c38d90d88f84ef3e01" 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"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>count</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></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 compact><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>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002412">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="0f4689ccee46804a84219d934c84d220"></a><!-- doxytag: member="Formattable::adoptString" ref="0f4689ccee46804a84219d934c84d220" 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 width="100%"></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 compact><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>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002413">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="4fea1f1272412f7a145b3d19edf3917d"></a><!-- doxytag: member="Formattable::adoptArray" ref="4fea1f1272412f7a145b3d19edf3917d" 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"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>count</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></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 compact><dt><b><a class="el" href="stable.html#_stable002414">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="949fd086ba20b88c1af4d55906711335"></a><!-- doxytag: member="Formattable::adoptObject" ref="949fd086ba20b88c1af4d55906711335" 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 width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets and adopts the <a class="el" href="classUObject.html">UObject</a> value of this object and changes the type to kObject. 
<p>
After this call, the caller must not delete the given object. <dl compact><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">UObject</a> value to be adopted </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002415">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="b5c20a86cf1ee01fce7def4dc7f29933"></a><!-- doxytag: member="Formattable::getDynamicClassID" ref="b5c20a86cf1ee01fce7def4dc7f29933" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="utypes_8h.html#22af10545208a455a6e884008df48e9f">UClassID</a> Formattable::getDynamicClassID           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> 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 compact><dt><b><a class="el" href="stable.html#_stable002416">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>

<p>
Implements <a class="el" href="classUObject.html#ce1dd31fb2c6f2c07dfebe8fd240ec37">UObject</a>.
</div>
</div><p>
<a class="anchor" name="704fd6a9c62d33929ff2d9f6f965e3f4"></a><!-- doxytag: member="Formattable::getStaticClassID" ref="704fd6a9c62d33929ff2d9f6f965e3f4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="utypes_8h.html#22af10545208a455a6e884008df48e9f">UClassID</a> Formattable::getStaticClassID           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
ICU "poor man's RTTI", returns a UClassID for this class. 
<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable002417">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>

</div>
</div><p>
<a class="anchor" name="aaca3f490ccbf0a9cb90c88267f91d5a"></a><!-- doxytag: member="Formattable::getLong" ref="aaca3f490ccbf0a9cb90c88267f91d5a" args="(UErrorCode *status) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Formattable::getLong           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Deprecated variant of getLong(UErrorCode&amp;). 
<p>
<dl compact><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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the long value of this object. </dd></dl>
<dl compact><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#l00581">581</a> of file <a class="el" href="fmtable_8h-source.html">fmtable.h</a>.
<p>
References <a class="el" href="fmtable_8h-source.html#l00283">getLong()</a>.
</div>
</div><p>
<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></ul>
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 14 12:59:41 2007 for ICU 3.8 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
</body>
</html>