Sophie

Sophie

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

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

<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>ICU 4.4: numfmt.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.6.1 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Search" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<h1>numfmt.h</h1><a href="numfmt_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment">********************************************************************************</span>
<a name="l00003"></a>00003 <span class="comment">* Copyright (C) 1997-2010, International Business Machines Corporation and others.</span>
<a name="l00004"></a>00004 <span class="comment">* All Rights Reserved.</span>
<a name="l00005"></a>00005 <span class="comment">********************************************************************************</span>
<a name="l00006"></a>00006 <span class="comment">*</span>
<a name="l00007"></a>00007 <span class="comment">* File NUMFMT.H</span>
<a name="l00008"></a>00008 <span class="comment">*</span>
<a name="l00009"></a>00009 <span class="comment">* Modification History:</span>
<a name="l00010"></a>00010 <span class="comment">*</span>
<a name="l00011"></a>00011 <span class="comment">*   Date        Name        Description</span>
<a name="l00012"></a>00012 <span class="comment">*   02/19/97    aliu        Converted from java.</span>
<a name="l00013"></a>00013 <span class="comment">*   03/18/97    clhuang     Updated per C++ implementation.</span>
<a name="l00014"></a>00014 <span class="comment">*   04/17/97    aliu        Changed DigitCount to int per code review.</span>
<a name="l00015"></a>00015 <span class="comment">*    07/20/98    stephen        JDK 1.2 sync up. Added scientific support.</span>
<a name="l00016"></a>00016 <span class="comment">*                            Changed naming conventions to match C++ guidelines</span>
<a name="l00017"></a>00017 <span class="comment">*                            Derecated Java style constants (eg, INTEGER_FIELD)</span>
<a name="l00018"></a>00018 <span class="comment">********************************************************************************</span>
<a name="l00019"></a>00019 <span class="comment">*/</span>
<a name="l00020"></a>00020 
<a name="l00021"></a>00021 <span class="preprocessor">#ifndef NUMFMT_H</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#define NUMFMT_H</span>
<a name="l00023"></a>00023 <span class="preprocessor"></span>
<a name="l00024"></a>00024 
<a name="l00025"></a>00025 <span class="preprocessor">#include &quot;<a class="code" href="utypes_8h.html" title="Basic definitions for ICU, for both C and C++ APIs.">unicode/utypes.h</a>&quot;</span>
<a name="l00026"></a>00026 
<a name="l00032"></a>00032 <span class="preprocessor">#if !UCONFIG_NO_FORMATTING</span>
<a name="l00033"></a>00033 <span class="preprocessor"></span>
<a name="l00034"></a>00034 <span class="preprocessor">#include &quot;<a class="code" href="unistr_8h.html" title="C++ API: Unicode String.">unicode/unistr.h</a>&quot;</span>
<a name="l00035"></a>00035 <span class="preprocessor">#include &quot;<a class="code" href="format_8h.html" title="C++ API: Base class for all formats.">unicode/format.h</a>&quot;</span>
<a name="l00036"></a>00036 <span class="preprocessor">#include &quot;<a class="code" href="unum_8h.html" title="C API: NumberFormat.">unicode/unum.h</a>&quot;</span> <span class="comment">// UNumberFormatStyle</span>
<a name="l00037"></a>00037 <span class="preprocessor">#include &quot;<a class="code" href="locid_8h.html" title="C++ API: Locale ID object.">unicode/locid.h</a>&quot;</span>
<a name="l00038"></a>00038 <span class="preprocessor">#include &quot;<a class="code" href="stringpiece_8h.html" title="C++ API: StringPiece: Read-only byte string wrapper class.">unicode/stringpiece.h</a>&quot;</span>
<a name="l00039"></a>00039 
<a name="l00040"></a>00040 <a class="code" href="uversion_8h.html#a7d9374e037299886d4192b763b4c5e8b" title="This is used to begin a declaration of a public ICU C++ API.">U_NAMESPACE_BEGIN</a>
<a name="l00041"></a>00041 
<a name="l00042"></a>00042 <span class="preprocessor">#if !UCONFIG_NO_SERVICE</span>
<a name="l00043"></a>00043 <span class="preprocessor"></span><span class="keyword">class </span><a class="code" href="classNumberFormatFactory.html" title="A NumberFormatFactory is used to register new number formats.">NumberFormatFactory</a>;
<a name="l00044"></a>00044 <span class="keyword">class </span><a class="code" href="classStringEnumeration.html" title="Base class for &amp;#39;pure&amp;#39; C++ implementations of uenum api.">StringEnumeration</a>;
<a name="l00045"></a>00045 <span class="preprocessor">#endif</span>
<a name="l00046"></a>00046 <span class="preprocessor"></span>
<a name="l00163"></a><a class="code" href="classNumberFormat.html">00163</a> <span class="keyword">class </span><a class="code" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a" title="Set to export library symbols from inside the i18n library, and to import them from...">U_I18N_API</a> <a class="code" href="classNumberFormat.html" title="Abstract base class for all number formats.">NumberFormat</a> : <span class="keyword">public</span> <a class="code" href="classFormat.html" title="Base class for all formats.">Format</a> {
<a name="l00164"></a>00164 <span class="keyword">public</span>:
<a name="l00165"></a>00165 
<a name="l00179"></a><a class="code" href="classNumberFormat.html#ad0cc3a5ee54a7520ea911a93bc1d2316">00179</a>     <span class="keyword">enum</span> <a class="code" href="classNumberFormat.html#ad0cc3a5ee54a7520ea911a93bc1d2316" title="Constants for various number format styles.">EStyles</a> {
<a name="l00180"></a>00180         kNumberStyle,
<a name="l00181"></a>00181         kCurrencyStyle,
<a name="l00182"></a>00182         kPercentStyle,
<a name="l00183"></a>00183         kScientificStyle,
<a name="l00184"></a>00184         kIsoCurrencyStyle,
<a name="l00185"></a>00185         kPluralCurrencyStyle,
<a name="l00186"></a>00186         kStyleCount <span class="comment">// ALWAYS LAST ENUM: number of styles</span>
<a name="l00187"></a>00187     };
<a name="l00188"></a>00188 
<a name="l00201"></a><a class="code" href="classNumberFormat.html#aac1d8bfe4ccd2cdf6fa1a933b2df75a1">00201</a>     <span class="keyword">enum</span> <a class="code" href="classNumberFormat.html#aac1d8bfe4ccd2cdf6fa1a933b2df75a1" title="Alignment Field constants used to construct a FieldPosition object.">EAlignmentFields</a> {
<a name="l00202"></a>00202         kIntegerField,
<a name="l00203"></a>00203         kFractionField,
<a name="l00204"></a>00204         kDecimalSeparatorField,
<a name="l00205"></a>00205         kExponentSymbolField,
<a name="l00206"></a>00206         kExponentSignField,
<a name="l00207"></a>00207         kExponentField,
<a name="l00208"></a>00208         kGroupingSeparatorField,
<a name="l00209"></a>00209         kCurrencyField,
<a name="l00210"></a>00210         kPercentField,
<a name="l00211"></a>00211         kPermillField,
<a name="l00212"></a>00212         kSignField,
<a name="l00213"></a>00213 
<a name="l00219"></a><a class="code" href="classNumberFormat.html#aac1d8bfe4ccd2cdf6fa1a933b2df75a1a193401497626cb3ca7f4f9baabe1c123">00219</a>         INTEGER_FIELD        = kIntegerField,
<a name="l00220"></a>00220         FRACTION_FIELD        = kFractionField
<a name="l00221"></a>00221     };
<a name="l00222"></a>00222 
<a name="l00227"></a>00227     <span class="keyword">virtual</span> ~<a class="code" href="classNumberFormat.html" title="Abstract base class for all number formats.">NumberFormat</a>();
<a name="l00228"></a>00228 
<a name="l00235"></a>00235     <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> <a class="code" href="classFormat.html#ad9be7e8b7bef97013ff74ef1be3903a5" title="Return true if the given Format objects are semantically equal.">operator==</a>(<span class="keyword">const</span> <a class="code" href="classFormat.html" title="Base class for all formats.">Format</a>&amp; other) <span class="keyword">const</span>;
<a name="l00236"></a>00236 
<a name="l00237"></a>00237 
<a name="l00238"></a>00238     <span class="keyword">using</span> <a class="code" href="classFormat.html#af3f0b157f07d6e9f908da69c99239600" title="Formats an object to produce a string.">Format::format</a>;
<a name="l00239"></a>00239 
<a name="l00255"></a>00255     <span class="keyword">virtual</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; <a class="code" href="classFormat.html#af3f0b157f07d6e9f908da69c99239600" title="Formats an object to produce a string.">format</a>(<span class="keyword">const</span> <a class="code" href="classFormattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting...">Formattable</a>&amp; obj,
<a name="l00256"></a>00256                                   <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; appendTo,
<a name="l00257"></a>00257                                   <a class="code" href="classFieldPosition.html" title="FieldPosition is a simple class used by Format and its subclasses to identify fields...">FieldPosition</a>&amp; pos,
<a name="l00258"></a>00258                                   <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>&amp; status) <span class="keyword">const</span>;
<a name="l00259"></a>00259 
<a name="l00276"></a>00276     <span class="keyword">virtual</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; <a class="code" href="classFormat.html#af3f0b157f07d6e9f908da69c99239600" title="Formats an object to produce a string.">format</a>(<span class="keyword">const</span> <a class="code" href="classFormattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting...">Formattable</a>&amp; obj,
<a name="l00277"></a>00277                                   <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; appendTo,
<a name="l00278"></a>00278                                   <a class="code" href="classFieldPositionIterator.html" title="FieldPositionIterator returns the field ids and their start/limit positions generated...">FieldPositionIterator</a>* posIter,
<a name="l00279"></a>00279                                   <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>&amp; status) <span class="keyword">const</span>;
<a name="l00280"></a>00280 
<a name="l00309"></a>00309     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classFormat.html#aa53bea97b986c2f21e5638aa30aa08b7" title="Parse a string to produce an object.">parseObject</a>(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; source,
<a name="l00310"></a>00310                              <a class="code" href="classFormattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting...">Formattable</a>&amp; result,
<a name="l00311"></a>00311                              <a class="code" href="classParsePosition.html" title="ParsePosition is a simple class used by Format and its subclasses to keep track of...">ParsePosition</a>&amp; parse_pos) <span class="keyword">const</span>;
<a name="l00312"></a>00312 
<a name="l00323"></a>00323     <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; <a class="code" href="classFormat.html#af3f0b157f07d6e9f908da69c99239600" title="Formats an object to produce a string.">format</a>(  <span class="keywordtype">double</span> number,
<a name="l00324"></a>00324                             <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; appendTo) <span class="keyword">const</span>;
<a name="l00325"></a>00325 
<a name="l00336"></a>00336     <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; <a class="code" href="classFormat.html#af3f0b157f07d6e9f908da69c99239600" title="Formats an object to produce a string.">format</a>(  int32_t number,
<a name="l00337"></a>00337                             <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; appendTo) <span class="keyword">const</span>;
<a name="l00338"></a>00338 
<a name="l00349"></a>00349     <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; <a class="code" href="classFormat.html#af3f0b157f07d6e9f908da69c99239600" title="Formats an object to produce a string.">format</a>(  int64_t number,
<a name="l00350"></a>00350                             <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; appendTo) <span class="keyword">const</span>;
<a name="l00351"></a>00351 
<a name="l00364"></a>00364     <span class="keyword">virtual</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; <a class="code" href="classFormat.html#af3f0b157f07d6e9f908da69c99239600" title="Formats an object to produce a string.">format</a>(<span class="keywordtype">double</span> number,
<a name="l00365"></a>00365                                   <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; appendTo,
<a name="l00366"></a>00366                                   <a class="code" href="classFieldPosition.html" title="FieldPosition is a simple class used by Format and its subclasses to identify fields...">FieldPosition</a>&amp; pos) <span class="keyword">const</span> = 0;
<a name="l00381"></a>00381     <span class="keyword">virtual</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; <a class="code" href="classFormat.html#af3f0b157f07d6e9f908da69c99239600" title="Formats an object to produce a string.">format</a>(<span class="keywordtype">double</span> number,
<a name="l00382"></a>00382                                   <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; appendTo,
<a name="l00383"></a>00383                                   <a class="code" href="classFieldPositionIterator.html" title="FieldPositionIterator returns the field ids and their start/limit positions generated...">FieldPositionIterator</a>* posIter,
<a name="l00384"></a>00384                                   <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>&amp; status) <span class="keyword">const</span>;
<a name="l00397"></a>00397     <span class="keyword">virtual</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; <a class="code" href="classFormat.html#af3f0b157f07d6e9f908da69c99239600" title="Formats an object to produce a string.">format</a>(int32_t number,
<a name="l00398"></a>00398                                   <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; appendTo,
<a name="l00399"></a>00399                                   <a class="code" href="classFieldPosition.html" title="FieldPosition is a simple class used by Format and its subclasses to identify fields...">FieldPosition</a>&amp; pos) <span class="keyword">const</span> = 0;
<a name="l00400"></a>00400 
<a name="l00415"></a>00415     <span class="keyword">virtual</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; <a class="code" href="classFormat.html#af3f0b157f07d6e9f908da69c99239600" title="Formats an object to produce a string.">format</a>(int32_t number,
<a name="l00416"></a>00416                                   <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; appendTo,
<a name="l00417"></a>00417                                   <a class="code" href="classFieldPositionIterator.html" title="FieldPositionIterator returns the field ids and their start/limit positions generated...">FieldPositionIterator</a>* posIter,
<a name="l00418"></a>00418                                   <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>&amp; status) <span class="keyword">const</span>;
<a name="l00432"></a>00432     <span class="keyword">virtual</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; <a class="code" href="classFormat.html#af3f0b157f07d6e9f908da69c99239600" title="Formats an object to produce a string.">format</a>(int64_t number,
<a name="l00433"></a>00433                                   <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; appendTo,
<a name="l00434"></a>00434                                   <a class="code" href="classFieldPosition.html" title="FieldPosition is a simple class used by Format and its subclasses to identify fields...">FieldPosition</a>&amp; pos) <span class="keyword">const</span>;
<a name="l00449"></a>00449     <span class="keyword">virtual</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; <a class="code" href="classFormat.html#af3f0b157f07d6e9f908da69c99239600" title="Formats an object to produce a string.">format</a>(int64_t number,
<a name="l00450"></a>00450                                   <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; appendTo,
<a name="l00451"></a>00451                                   <a class="code" href="classFieldPositionIterator.html" title="FieldPositionIterator returns the field ids and their start/limit positions generated...">FieldPositionIterator</a>* posIter,
<a name="l00452"></a>00452                                   <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>&amp; status) <span class="keyword">const</span>;
<a name="l00453"></a>00453 
<a name="l00470"></a>00470     <span class="keyword">virtual</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; <a class="code" href="classFormat.html#af3f0b157f07d6e9f908da69c99239600" title="Formats an object to produce a string.">format</a>(<span class="keyword">const</span> <a class="code" href="classStringPiece.html" title="A string-like object that points to a sized piece of memory.">StringPiece</a> &amp;number,
<a name="l00471"></a>00471                                   <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; appendTo,
<a name="l00472"></a>00472                                   <a class="code" href="classFieldPositionIterator.html" title="FieldPositionIterator returns the field ids and their start/limit positions generated...">FieldPositionIterator</a>* posIter,
<a name="l00473"></a>00473                                   <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>&amp; status) <span class="keyword">const</span>;
<a name="l00474"></a>00474 <span class="keyword">public</span>:
<a name="l00492"></a>00492     <span class="keyword">virtual</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; <a class="code" href="classFormat.html#af3f0b157f07d6e9f908da69c99239600" title="Formats an object to produce a string.">format</a>(<span class="keyword">const</span> DigitList &amp;number,
<a name="l00493"></a>00493                                   <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; appendTo,
<a name="l00494"></a>00494                                   <a class="code" href="classFieldPositionIterator.html" title="FieldPositionIterator returns the field ids and their start/limit positions generated...">FieldPositionIterator</a>* posIter,
<a name="l00495"></a>00495                                   <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>&amp; status) <span class="keyword">const</span>;
<a name="l00496"></a>00496 
<a name="l00514"></a>00514     <span class="keyword">virtual</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; <a class="code" href="classFormat.html#af3f0b157f07d6e9f908da69c99239600" title="Formats an object to produce a string.">format</a>(<span class="keyword">const</span> DigitList &amp;number,
<a name="l00515"></a>00515                                   <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; appendTo,
<a name="l00516"></a>00516                                   <a class="code" href="classFieldPosition.html" title="FieldPosition is a simple class used by Format and its subclasses to identify fields...">FieldPosition</a>&amp; pos,
<a name="l00517"></a>00517                                   <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>&amp; status) <span class="keyword">const</span>;
<a name="l00518"></a>00518 
<a name="l00519"></a>00519 <span class="keyword">public</span>:
<a name="l00520"></a>00520 
<a name="l00531"></a>00531     <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; <a class="code" href="classFormat.html#af3f0b157f07d6e9f908da69c99239600" title="Formats an object to produce a string.">format</a>(<span class="keyword">const</span> <a class="code" href="classFormattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting...">Formattable</a>&amp; obj,
<a name="l00532"></a>00532                           <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; appendTo,
<a name="l00533"></a>00533                           <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>&amp; status) <span class="keyword">const</span>;
<a name="l00534"></a>00534 
<a name="l00556"></a>00556     <span class="keyword">virtual</span> <span class="keywordtype">void</span> parse(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; text,
<a name="l00557"></a>00557                        <a class="code" href="classFormattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting...">Formattable</a>&amp; result,
<a name="l00558"></a>00558                        <a class="code" href="classParsePosition.html" title="ParsePosition is a simple class used by Format and its subclasses to keep track of...">ParsePosition</a>&amp; parsePosition) <span class="keyword">const</span> = 0;
<a name="l00559"></a>00559 
<a name="l00575"></a>00575     <span class="keyword">virtual</span> <span class="keywordtype">void</span> parse( <span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; text,
<a name="l00576"></a>00576                         <a class="code" href="classFormattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting...">Formattable</a>&amp; result,
<a name="l00577"></a>00577                         <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>&amp; status) <span class="keyword">const</span>;
<a name="l00578"></a>00578 
<a name="l00598"></a>00598     <span class="keyword">virtual</span> <a class="code" href="classFormattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting...">Formattable</a>&amp; parseCurrency(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; text,
<a name="l00599"></a>00599                                        <a class="code" href="classFormattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting...">Formattable</a>&amp; result,
<a name="l00600"></a>00600                                        <a class="code" href="classParsePosition.html" title="ParsePosition is a simple class used by Format and its subclasses to keep track of...">ParsePosition</a>&amp; pos) <span class="keyword">const</span>;
<a name="l00601"></a>00601 
<a name="l00613"></a>00613     <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> isParseIntegerOnly(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00614"></a>00614 
<a name="l00622"></a>00622     <span class="keyword">virtual</span> <span class="keywordtype">void</span> setParseIntegerOnly(<a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> value);
<a name="l00623"></a>00623 
<a name="l00632"></a>00632     <span class="keyword">static</span> <a class="code" href="classNumberFormat.html" title="Abstract base class for all number formats.">NumberFormat</a>* <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> createInstance(<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>&amp;);
<a name="l00633"></a>00633 
<a name="l00642"></a>00642     <span class="keyword">static</span> <a class="code" href="classNumberFormat.html" title="Abstract base class for all number formats.">NumberFormat</a>* <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> createInstance(<span class="keyword">const</span> <a class="code" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region...">Locale</a>&amp; inLocale,
<a name="l00643"></a>00643                                         <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>&amp;);
<a name="l00644"></a>00644 
<a name="l00653"></a>00653     <span class="keyword">static</span> <a class="code" href="classNumberFormat.html" title="Abstract base class for all number formats.">NumberFormat</a>* <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> createInstance(<span class="keyword">const</span> <a class="code" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region...">Locale</a>&amp; desiredLocale, EStyles choice, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>&amp; success);
<a name="l00654"></a>00654 
<a name="l00655"></a>00655 
<a name="l00660"></a>00660     <span class="keyword">static</span> <a class="code" href="classNumberFormat.html" title="Abstract base class for all number formats.">NumberFormat</a>* <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> createCurrencyInstance(<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>&amp;);
<a name="l00661"></a>00661 
<a name="l00667"></a>00667     <span class="keyword">static</span> <a class="code" href="classNumberFormat.html" title="Abstract base class for all number formats.">NumberFormat</a>* <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> createCurrencyInstance(<span class="keyword">const</span> <a class="code" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region...">Locale</a>&amp; inLocale,
<a name="l00668"></a>00668                                                 <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>&amp;);
<a name="l00669"></a>00669 
<a name="l00674"></a>00674     <span class="keyword">static</span> <a class="code" href="classNumberFormat.html" title="Abstract base class for all number formats.">NumberFormat</a>* <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> createPercentInstance(<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>&amp;);
<a name="l00675"></a>00675 
<a name="l00681"></a>00681     <span class="keyword">static</span> <a class="code" href="classNumberFormat.html" title="Abstract base class for all number formats.">NumberFormat</a>* <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> createPercentInstance(<span class="keyword">const</span> <a class="code" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region...">Locale</a>&amp; inLocale,
<a name="l00682"></a>00682                                                <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>&amp;);
<a name="l00683"></a>00683 
<a name="l00688"></a>00688     <span class="keyword">static</span> <a class="code" href="classNumberFormat.html" title="Abstract base class for all number formats.">NumberFormat</a>* <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> createScientificInstance(<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>&amp;);
<a name="l00689"></a>00689 
<a name="l00695"></a>00695     <span class="keyword">static</span> <a class="code" href="classNumberFormat.html" title="Abstract base class for all number formats.">NumberFormat</a>* <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> createScientificInstance(<span class="keyword">const</span> <a class="code" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region...">Locale</a>&amp; inLocale,
<a name="l00696"></a>00696                                                 <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>&amp;);
<a name="l00697"></a>00697 
<a name="l00703"></a>00703     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region...">Locale</a>* <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> getAvailableLocales(int32_t&amp; count);
<a name="l00704"></a>00704 
<a name="l00705"></a>00705 <span class="preprocessor">#if !UCONFIG_NO_SERVICE</span>
<a name="l00706"></a>00706 <span class="preprocessor"></span>
<a name="l00713"></a>00713     <span class="keyword">static</span> <a class="code" href="umisc_8h.html#ab5905d79ed3b979840cee1d5fd48b4fb" title="Opaque type returned by registerInstance, registerFactory and unregister for service...">URegistryKey</a> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> registerFactory(<a class="code" href="classNumberFormatFactory.html" title="A NumberFormatFactory is used to register new number formats.">NumberFormatFactory</a>* toAdopt, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>&amp; status);
<a name="l00714"></a>00714 
<a name="l00724"></a>00724     <span class="keyword">static</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> unregister(<a class="code" href="umisc_8h.html#ab5905d79ed3b979840cee1d5fd48b4fb" title="Opaque type returned by registerInstance, registerFactory and unregister for service...">URegistryKey</a> key, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>&amp; status);
<a name="l00725"></a>00725 
<a name="l00732"></a>00732     <span class="keyword">static</span> <a class="code" href="classStringEnumeration.html" title="Base class for &amp;#39;pure&amp;#39; C++ implementations of uenum api.">StringEnumeration</a>* <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> getAvailableLocales(<span class="keywordtype">void</span>);
<a name="l00733"></a>00733 <span class="preprocessor">#endif </span><span class="comment">/* UCONFIG_NO_SERVICE */</span>
<a name="l00734"></a>00734 
<a name="l00744"></a>00744     <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> isGroupingUsed(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00745"></a>00745 
<a name="l00752"></a>00752     <span class="keyword">virtual</span> <span class="keywordtype">void</span> setGroupingUsed(<a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> newValue);
<a name="l00753"></a>00753 
<a name="l00762"></a>00762     int32_t getMaximumIntegerDigits(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00763"></a>00763 
<a name="l00776"></a>00776     <span class="keyword">virtual</span> <span class="keywordtype">void</span> setMaximumIntegerDigits(int32_t newValue);
<a name="l00777"></a>00777 
<a name="l00786"></a>00786     int32_t getMinimumIntegerDigits(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00787"></a>00787 
<a name="l00798"></a>00798     <span class="keyword">virtual</span> <span class="keywordtype">void</span> setMinimumIntegerDigits(int32_t newValue);
<a name="l00799"></a>00799 
<a name="l00808"></a>00808     int32_t getMaximumFractionDigits(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00809"></a>00809 
<a name="l00820"></a>00820     <span class="keyword">virtual</span> <span class="keywordtype">void</span> setMaximumFractionDigits(int32_t newValue);
<a name="l00821"></a>00821 
<a name="l00830"></a>00830     int32_t getMinimumFractionDigits(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00831"></a>00831 
<a name="l00842"></a>00842     <span class="keyword">virtual</span> <span class="keywordtype">void</span> setMinimumFractionDigits(int32_t newValue);
<a name="l00843"></a>00843 
<a name="l00856"></a>00856     <span class="keyword">virtual</span> <span class="keywordtype">void</span> setCurrency(<span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a>* theCurrency, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>&amp; ec);
<a name="l00857"></a>00857 
<a name="l00865"></a>00865     <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a>* getCurrency() <span class="keyword">const</span>;
<a name="l00866"></a>00866 
<a name="l00867"></a>00867 <span class="keyword">public</span>:
<a name="l00868"></a>00868 
<a name="l00877"></a>00877     <span class="keyword">static</span> <a class="code" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f" title="UClassID is used to identify classes without using RTTI, since RTTI is not yet supported...">UClassID</a> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> getStaticClassID(<span class="keywordtype">void</span>);
<a name="l00878"></a>00878 
<a name="l00890"></a>00890     <span class="keyword">virtual</span> <a class="code" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f" title="UClassID is used to identify classes without using RTTI, since RTTI is not yet supported...">UClassID</a> <a class="code" href="classFormat.html#ac961d410d174518e5a3ebb8bbef45cd7" title="Returns a unique class ID POLYMORPHICALLY.">getDynamicClassID</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span> = 0;
<a name="l00891"></a>00891 
<a name="l00892"></a>00892 <span class="keyword">protected</span>:
<a name="l00893"></a>00893 
<a name="l00898"></a>00898     <a class="code" href="classNumberFormat.html" title="Abstract base class for all number formats.">NumberFormat</a>();
<a name="l00899"></a>00899 
<a name="l00904"></a>00904     <a class="code" href="classNumberFormat.html" title="Abstract base class for all number formats.">NumberFormat</a>(<span class="keyword">const</span> <a class="code" href="classNumberFormat.html" title="Abstract base class for all number formats.">NumberFormat</a>&amp;);
<a name="l00905"></a>00905 
<a name="l00910"></a>00910     <a class="code" href="classNumberFormat.html" title="Abstract base class for all number formats.">NumberFormat</a>&amp; <a class="code" href="classFormat.html#a7a5276a88c488462eea3a508b71f4d9c">operator=</a>(<span class="keyword">const</span> <a class="code" href="classNumberFormat.html" title="Abstract base class for all number formats.">NumberFormat</a>&amp;);
<a name="l00911"></a>00911 
<a name="l00920"></a>00920     <span class="keyword">virtual</span> <span class="keywordtype">void</span> getEffectiveCurrency(<a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a>* result, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>&amp; ec) <span class="keyword">const</span>;
<a name="l00921"></a>00921 
<a name="l00922"></a>00922 <span class="keyword">private</span>:
<a name="l00923"></a>00923 
<a name="l00931"></a>00931     <span class="keyword">static</span> <a class="code" href="classNumberFormat.html" title="Abstract base class for all number formats.">NumberFormat</a>* makeInstance(<span class="keyword">const</span> <a class="code" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region...">Locale</a>&amp; desiredLocale, EStyles choice, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>&amp; success);
<a name="l00932"></a>00932 
<a name="l00933"></a>00933     <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a>      fGroupingUsed;
<a name="l00934"></a>00934     int32_t     fMaxIntegerDigits;
<a name="l00935"></a>00935     int32_t     fMinIntegerDigits;
<a name="l00936"></a>00936     int32_t     fMaxFractionDigits;
<a name="l00937"></a>00937     int32_t     fMinFractionDigits;
<a name="l00938"></a>00938     <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a>      fParseIntegerOnly;
<a name="l00939"></a>00939 
<a name="l00940"></a>00940     <span class="comment">// ISO currency code</span>
<a name="l00941"></a>00941     <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a>      fCurrency[4];
<a name="l00942"></a>00942 
<a name="l00943"></a>00943     <span class="keyword">friend</span> <span class="keyword">class </span>ICUNumberFormatFactory; <span class="comment">// access to makeInstance, EStyles</span>
<a name="l00944"></a>00944     <span class="keyword">friend</span> <span class="keyword">class </span>ICUNumberFormatService;
<a name="l00945"></a>00945 };
<a name="l00946"></a>00946 
<a name="l00947"></a>00947 <span class="preprocessor">#if !UCONFIG_NO_SERVICE</span>
<a name="l00948"></a>00948 <span class="preprocessor"></span>
<a name="l00956"></a><a class="code" href="classNumberFormatFactory.html">00956</a> <span class="keyword">class </span><a class="code" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a" title="Set to export library symbols from inside the i18n library, and to import them from...">U_I18N_API</a> <a class="code" href="classNumberFormatFactory.html" title="A NumberFormatFactory is used to register new number formats.">NumberFormatFactory</a> : <span class="keyword">public</span> <a class="code" href="classUObject.html" title="UObject is the common ICU &amp;quot;boilerplate&amp;quot; class.">UObject</a> {
<a name="l00957"></a>00957 <span class="keyword">public</span>:
<a name="l00958"></a>00958 
<a name="l00963"></a>00963     <span class="keyword">virtual</span> ~<a class="code" href="classNumberFormatFactory.html" title="A NumberFormatFactory is used to register new number formats.">NumberFormatFactory</a>();
<a name="l00964"></a>00964 
<a name="l00971"></a>00971     <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> visible(<span class="keywordtype">void</span>) <span class="keyword">const</span> = 0;
<a name="l00972"></a>00972 
<a name="l00978"></a>00978     <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> * getSupportedIDs(int32_t &amp;count, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>&amp; status) <span class="keyword">const</span> = 0;
<a name="l00979"></a>00979 
<a name="l00987"></a>00987     <span class="keyword">virtual</span> <a class="code" href="classNumberFormat.html" title="Abstract base class for all number formats.">NumberFormat</a>* createFormat(<span class="keyword">const</span> <a class="code" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region...">Locale</a>&amp; loc, <a class="code" href="unum_8h.html#a4eb4d3ff13bd506e7078b2be4052266d" title="The possible number format styles.">UNumberFormatStyle</a> formatType) = 0;
<a name="l00988"></a>00988 };
<a name="l00989"></a>00989 
<a name="l00994"></a><a class="code" href="classSimpleNumberFormatFactory.html">00994</a> <span class="keyword">class </span><a class="code" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a" title="Set to export library symbols from inside the i18n library, and to import them from...">U_I18N_API</a> <a class="code" href="classSimpleNumberFormatFactory.html" title="A NumberFormatFactory that supports a single locale.">SimpleNumberFormatFactory</a> : <span class="keyword">public</span> <a class="code" href="classNumberFormatFactory.html" title="A NumberFormatFactory is used to register new number formats.">NumberFormatFactory</a> {
<a name="l00995"></a>00995 <span class="keyword">protected</span>:
<a name="l01000"></a><a class="code" href="classSimpleNumberFormatFactory.html#ab64323ab4a42b45308988a70cbf0d4e3">01000</a>     <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> _visible;
<a name="l01001"></a>01001 
<a name="l01006"></a><a class="code" href="classSimpleNumberFormatFactory.html#a1246871584c1e2c332ca8029ad4e5db2">01006</a>     <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> _id;
<a name="l01007"></a>01007 
<a name="l01008"></a>01008 <span class="keyword">public</span>:
<a name="l01012"></a>01012     <a class="code" href="classSimpleNumberFormatFactory.html" title="A NumberFormatFactory that supports a single locale.">SimpleNumberFormatFactory</a>(<span class="keyword">const</span> <a class="code" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region...">Locale</a>&amp; locale, <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> visible = <a class="code" href="umachine_8h.html#aa8cecfc5c5c054d2875c03e77b7be15d" title="The TRUE value of a UBool.">TRUE</a>);
<a name="l01013"></a>01013 
<a name="l01017"></a>01017     <span class="keyword">virtual</span> ~<a class="code" href="classSimpleNumberFormatFactory.html" title="A NumberFormatFactory that supports a single locale.">SimpleNumberFormatFactory</a>();
<a name="l01018"></a>01018 
<a name="l01022"></a>01022     <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> <a class="code" href="classNumberFormatFactory.html#a61b9673aa0c86df394fdfa081dcc6c23" title="Return true if this factory will be visible.">visible</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l01023"></a>01023 
<a name="l01027"></a>01027     <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> * <a class="code" href="classNumberFormatFactory.html#a924b21b295262d116f673186eb7c89ea" title="Return the locale names directly supported by this factory.">getSupportedIDs</a>(int32_t &amp;count, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>&amp; status) <span class="keyword">const</span>;
<a name="l01028"></a>01028 };
<a name="l01029"></a>01029 <span class="preprocessor">#endif </span><span class="comment">/* #if !UCONFIG_NO_SERVICE */</span>
<a name="l01030"></a>01030 
<a name="l01031"></a>01031 <span class="comment">// -------------------------------------</span>
<a name="l01032"></a>01032 
<a name="l01033"></a>01033 <span class="keyword">inline</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a>
<a name="l01034"></a><a class="code" href="classNumberFormat.html#a680f60d204c0d00bb06f65d7c3ea716a">01034</a> <a class="code" href="classNumberFormat.html#a680f60d204c0d00bb06f65d7c3ea716a" title="Return true if this format will parse numbers as integers only.">NumberFormat::isParseIntegerOnly</a>()<span class="keyword"> const</span>
<a name="l01035"></a>01035 <span class="keyword"></span>{
<a name="l01036"></a>01036     <span class="keywordflow">return</span> fParseIntegerOnly;
<a name="l01037"></a>01037 }
<a name="l01038"></a>01038 
<a name="l01039"></a>01039 <span class="keyword">inline</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp;
<a name="l01040"></a><a class="code" href="classNumberFormat.html#a67d754f52d336d911454e97ba32654de">01040</a> <a class="code" href="classNumberFormat.html#a53e27d424735198566d90eb30401ec36" title="Format an object to produce a string.">NumberFormat::format</a>(<span class="keyword">const</span> <a class="code" href="classFormattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting...">Formattable</a>&amp; obj,
<a name="l01041"></a>01041                      <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>&amp; appendTo,
<a name="l01042"></a>01042                      <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>&amp; status)<span class="keyword"> const </span>{
<a name="l01043"></a>01043     <span class="keywordflow">return</span> <a class="code" href="classNumberFormat.html#a53e27d424735198566d90eb30401ec36" title="Format an object to produce a string.">Format::format</a>(obj, appendTo, status);
<a name="l01044"></a>01044 }
<a name="l01045"></a>01045 
<a name="l01046"></a>01046 <a class="code" href="uversion_8h.html#a3da1f00f3b02976ac53c014a3e4c0933" title="This is used to end a declaration of a public ICU C++ API.">U_NAMESPACE_END</a>
<a name="l01047"></a>01047 
<a name="l01048"></a>01048 <span class="preprocessor">#endif </span><span class="comment">/* #if !UCONFIG_NO_FORMATTING */</span>
<a name="l01049"></a>01049 
<a name="l01050"></a>01050 <span class="preprocessor">#endif // _NUMFMT</span>
<a name="l01051"></a>01051 <span class="preprocessor"></span><span class="comment">//eof</span>
</pre></div></div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&nbsp;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&nbsp;</span>Defines</a></div>

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

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