Sophie

Sophie

distrib > CentOS > 5 > i386 > by-pkgid > b9045fbd68b9dde72f144d2135c0d1f9 > files > 87

libicu-doc-3.6-5.16.1.i386.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.6: MeasureFormat 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.4.7 -->
<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>MeasureFormat Class Reference</h1><!-- doxytag: class="MeasureFormat" --><!-- doxytag: inherits="Format" -->A formatter for measure objects.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="measfmt_8h-source.html">measfmt.h</a>&gt;</code>
<p>
<p>Inheritance diagram for MeasureFormat:
<p><center><img src="classMeasureFormat.png" usemap="#MeasureFormat_map" border="0" alt=""></center>
<map name="MeasureFormat_map">
<area href="classFormat.html" alt="Format" shape="rect" coords="0,112,101,136">
<area href="classUObject.html" alt="UObject" shape="rect" coords="0,56,101,80">
<area href="classUMemory.html" alt="UMemory" shape="rect" coords="0,0,101,24">
</map>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></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="classMeasureFormat.html">MeasureFormat</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMeasureFormat.html#ceae6f6525274bbaed65fdb9872cab76">createCurrencyFormat</a> (const <a class="el" href="classLocale.html">Locale</a> &amp;locale, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;ec)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return a formatter for <a class="el" href="classCurrencyAmount.html">CurrencyAmount</a> objects in the given locale.  <a href="#ceae6f6525274bbaed65fdb9872cab76"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classMeasureFormat.html">MeasureFormat</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMeasureFormat.html#e76ddcd000577c969f3e67ab5beac1f4">createCurrencyFormat</a> (<a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;ec)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return a formatter for <a class="el" href="classCurrencyAmount.html">CurrencyAmount</a> objects in the default locale.  <a href="#e76ddcd000577c969f3e67ab5beac1f4"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected 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="classMeasureFormat.html#95981b0d0d089e4371c0d6214d2e2910">MeasureFormat</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor.  <a href="#95981b0d0d089e4371c0d6214d2e2910"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A formatter for measure objects. 
<p>
This is an abstract base class.<p>
To format or parse a measure object, first create a formatter object using a <a class="el" href="classMeasureFormat.html">MeasureFormat</a> factory method. Then use that object's format and parse methods.<p>
This is an abstract class.<p>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classFormat.html">Format</a> </dd></dl>
<dl compact><dt><b>Author:</b></dt><dd>Alan Liu </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002265">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

<p>

<p>
Definition at line <a class="el" href="measfmt_8h-source.html#l00041">41</a> of file <a class="el" href="measfmt_8h-source.html">measfmt.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="95981b0d0d089e4371c0d6214d2e2910"></a><!-- doxytag: member="MeasureFormat::MeasureFormat" ref="95981b0d0d089e4371c0d6214d2e2910" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MeasureFormat::MeasureFormat           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="e76ddcd000577c969f3e67ab5beac1f4"></a><!-- doxytag: member="MeasureFormat::createCurrencyFormat" ref="e76ddcd000577c969f3e67ab5beac1f4" args="(UErrorCode &amp;ec)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classMeasureFormat.html">MeasureFormat</a>* MeasureFormat::createCurrencyFormat           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>ec</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return a formatter for <a class="el" href="classCurrencyAmount.html">CurrencyAmount</a> objects in the default locale. 
<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>ec</em>&nbsp;</td><td>input-output error code </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>a formatter object, or NULL upon error </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002267">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="ceae6f6525274bbaed65fdb9872cab76"></a><!-- doxytag: member="MeasureFormat::createCurrencyFormat" ref="ceae6f6525274bbaed65fdb9872cab76" args="(const Locale &amp;locale, UErrorCode &amp;ec)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classMeasureFormat.html">MeasureFormat</a>* MeasureFormat::createCurrencyFormat           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classLocale.html">Locale</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>locale</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>ec</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return a formatter for <a class="el" href="classCurrencyAmount.html">CurrencyAmount</a> objects in the given locale. 
<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>locale</em>&nbsp;</td><td>desired locale </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>ec</em>&nbsp;</td><td>input-output error code </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>a formatter object, or NULL upon error </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002266">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="measfmt_8h-source.html">measfmt.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Tue Dec 13 17:29:57 2011 for ICU 3.6 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>