403Webshell
Server IP : 103.119.228.120  /  Your IP : 3.133.109.251
Web Server : Apache
System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64
User : nobody ( 99)
PHP Version : 5.6.40
Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime
MySQL : ON |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : ON |  Pkexec : ON
Directory :  /usr/local/ssl/local/ssl/local/easy/share/doc/easy-libicu-doc-4.0.1/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /usr/local/ssl/local/ssl/local/easy/share/doc/easy-libicu-doc-4.0.1/classRuleBasedNumberFormat.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>ICU 4.0.1: RuleBasedNumberFormat Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">ICU 4.0.1
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.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)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
<!-- 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">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark">&#160;</span>Pages</a></div>

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

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">RuleBasedNumberFormat Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>The <a class="el" href="classRuleBasedNumberFormat.html" title="The RuleBasedNumberFormat class formats numbers according to a set of rules. ">RuleBasedNumberFormat</a> class formats numbers according to a set of rules.  
 <a href="classRuleBasedNumberFormat.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="rbnf_8h_source.html">rbnf.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for RuleBasedNumberFormat:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classRuleBasedNumberFormat.png" usemap="#RuleBasedNumberFormat_map" alt=""/>
  <map id="RuleBasedNumberFormat_map" name="RuleBasedNumberFormat_map">
<area href="classNumberFormat.html" title="Abstract base class for all number formats. " alt="NumberFormat" shape="rect" coords="0,168,155,192"/>
<area href="classFormat.html" title="Base class for all formats. " alt="Format" shape="rect" coords="0,112,155,136"/>
<area href="classUObject.html" title="UObject is the common ICU &quot;boilerplate&quot; class. " alt="UObject" shape="rect" coords="0,56,155,80"/>
<area href="classUMemory.html" title="UMemory is the common ICU base class. " alt="UMemory" shape="rect" coords="0,0,155,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a8f0d0ad50098c80905c0a73956fcbf0a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedNumberFormat.html#a8f0d0ad50098c80905c0a73956fcbf0a">RuleBasedNumberFormat</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;rules, <a class="el" href="structUParseError.html">UParseError</a> &amp;perror, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a8f0d0ad50098c80905c0a73956fcbf0a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="classRuleBasedNumberFormat.html" title="The RuleBasedNumberFormat class formats numbers according to a set of rules. ">RuleBasedNumberFormat</a> that behaves according to the description passed in.  <a href="#a8f0d0ad50098c80905c0a73956fcbf0a">More...</a><br/></td></tr>
<tr class="separator:a8f0d0ad50098c80905c0a73956fcbf0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d744ac818c48f05cf3c997307ca49ec"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedNumberFormat.html#a0d744ac818c48f05cf3c997307ca49ec">RuleBasedNumberFormat</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;rules, const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;localizations, <a class="el" href="structUParseError.html">UParseError</a> &amp;perror, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a0d744ac818c48f05cf3c997307ca49ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="classRuleBasedNumberFormat.html" title="The RuleBasedNumberFormat class formats numbers according to a set of rules. ">RuleBasedNumberFormat</a> that behaves according to the description passed in.  <a href="#a0d744ac818c48f05cf3c997307ca49ec">More...</a><br/></td></tr>
<tr class="separator:a0d744ac818c48f05cf3c997307ca49ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e623e929757c2b08d45753e91e30ebc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedNumberFormat.html#a3e623e929757c2b08d45753e91e30ebc">RuleBasedNumberFormat</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;rules, const <a class="el" href="classLocale.html">Locale</a> &amp;locale, <a class="el" href="structUParseError.html">UParseError</a> &amp;perror, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a3e623e929757c2b08d45753e91e30ebc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="classRuleBasedNumberFormat.html" title="The RuleBasedNumberFormat class formats numbers according to a set of rules. ">RuleBasedNumberFormat</a> that behaves according to the rules passed in.  <a href="#a3e623e929757c2b08d45753e91e30ebc">More...</a><br/></td></tr>
<tr class="separator:a3e623e929757c2b08d45753e91e30ebc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7dadd148dad700a933592dbfd86d780e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedNumberFormat.html#a7dadd148dad700a933592dbfd86d780e">RuleBasedNumberFormat</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;rules, const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;localizations, const <a class="el" href="classLocale.html">Locale</a> &amp;locale, <a class="el" href="structUParseError.html">UParseError</a> &amp;perror, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a7dadd148dad700a933592dbfd86d780e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="classRuleBasedNumberFormat.html" title="The RuleBasedNumberFormat class formats numbers according to a set of rules. ">RuleBasedNumberFormat</a> that behaves according to the description passed in.  <a href="#a7dadd148dad700a933592dbfd86d780e">More...</a><br/></td></tr>
<tr class="separator:a7dadd148dad700a933592dbfd86d780e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17a665980e75dfadf93301de2e495982"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedNumberFormat.html#a17a665980e75dfadf93301de2e495982">RuleBasedNumberFormat</a> (<a class="el" href="rbnf_8h.html#a2ef7bd419418b4628b33a7270c11f68d">URBNFRuleSetTag</a> tag, const <a class="el" href="classLocale.html">Locale</a> &amp;locale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a17a665980e75dfadf93301de2e495982"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="classRuleBasedNumberFormat.html" title="The RuleBasedNumberFormat class formats numbers according to a set of rules. ">RuleBasedNumberFormat</a> from a predefined ruleset.  <a href="#a17a665980e75dfadf93301de2e495982">More...</a><br/></td></tr>
<tr class="separator:a17a665980e75dfadf93301de2e495982"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11252a1c12f92e65eb2c979c1bf8583b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedNumberFormat.html#a11252a1c12f92e65eb2c979c1bf8583b">RuleBasedNumberFormat</a> (const <a class="el" href="classRuleBasedNumberFormat.html">RuleBasedNumberFormat</a> &amp;rhs)</td></tr>
<tr class="memdesc:a11252a1c12f92e65eb2c979c1bf8583b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor.  <a href="#a11252a1c12f92e65eb2c979c1bf8583b">More...</a><br/></td></tr>
<tr class="separator:a11252a1c12f92e65eb2c979c1bf8583b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae492ee51caf11c6244a9ca9b6ddaecda"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRuleBasedNumberFormat.html">RuleBasedNumberFormat</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedNumberFormat.html#ae492ee51caf11c6244a9ca9b6ddaecda">operator=</a> (const <a class="el" href="classRuleBasedNumberFormat.html">RuleBasedNumberFormat</a> &amp;rhs)</td></tr>
<tr class="memdesc:ae492ee51caf11c6244a9ca9b6ddaecda"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator.  <a href="#ae492ee51caf11c6244a9ca9b6ddaecda">More...</a><br/></td></tr>
<tr class="separator:ae492ee51caf11c6244a9ca9b6ddaecda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac326bb31489a5d402f1265830defff8a"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedNumberFormat.html#ac326bb31489a5d402f1265830defff8a">~RuleBasedNumberFormat</a> ()</td></tr>
<tr class="memdesc:ac326bb31489a5d402f1265830defff8a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Release memory allocated for a <a class="el" href="classRuleBasedNumberFormat.html" title="The RuleBasedNumberFormat class formats numbers according to a set of rules. ">RuleBasedNumberFormat</a> when you are finished with it.  <a href="#ac326bb31489a5d402f1265830defff8a">More...</a><br/></td></tr>
<tr class="separator:ac326bb31489a5d402f1265830defff8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52a2721aa01037d7e03f8c0cca6b4a77"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classFormat.html">Format</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedNumberFormat.html#a52a2721aa01037d7e03f8c0cca6b4a77">clone</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr>
<tr class="memdesc:a52a2721aa01037d7e03f8c0cca6b4a77"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clone this object polymorphically.  <a href="#a52a2721aa01037d7e03f8c0cca6b4a77">More...</a><br/></td></tr>
<tr class="separator:a52a2721aa01037d7e03f8c0cca6b4a77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2068e1cbee7eb25feaecb6c160a958a1"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedNumberFormat.html#a2068e1cbee7eb25feaecb6c160a958a1">operator==</a> (const <a class="el" href="classFormat.html">Format</a> &amp;other) const </td></tr>
<tr class="memdesc:a2068e1cbee7eb25feaecb6c160a958a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return true if the given <a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> objects are semantically equal.  <a href="#a2068e1cbee7eb25feaecb6c160a958a1">More...</a><br/></td></tr>
<tr class="separator:a2068e1cbee7eb25feaecb6c160a958a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe23d122acc869aa9d952ad12b9073cf"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedNumberFormat.html#afe23d122acc869aa9d952ad12b9073cf">getRules</a> () const </td></tr>
<tr class="memdesc:afe23d122acc869aa9d952ad12b9073cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">return the rules that were provided to the <a class="el" href="classRuleBasedNumberFormat.html" title="The RuleBasedNumberFormat class formats numbers according to a set of rules. ">RuleBasedNumberFormat</a>.  <a href="#afe23d122acc869aa9d952ad12b9073cf">More...</a><br/></td></tr>
<tr class="separator:afe23d122acc869aa9d952ad12b9073cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73d67c85b5bed8429b455aae19a38bbe"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedNumberFormat.html#a73d67c85b5bed8429b455aae19a38bbe">getNumberOfRuleSetNames</a> () const </td></tr>
<tr class="memdesc:a73d67c85b5bed8429b455aae19a38bbe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the number of public rule set names.  <a href="#a73d67c85b5bed8429b455aae19a38bbe">More...</a><br/></td></tr>
<tr class="separator:a73d67c85b5bed8429b455aae19a38bbe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09ddadc168c5c8d37fb2b0685acedba3"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedNumberFormat.html#a09ddadc168c5c8d37fb2b0685acedba3">getRuleSetName</a> (int32_t index) const </td></tr>
<tr class="memdesc:a09ddadc168c5c8d37fb2b0685acedba3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the name of the index'th public ruleSet.  <a href="#a09ddadc168c5c8d37fb2b0685acedba3">More...</a><br/></td></tr>
<tr class="separator:a09ddadc168c5c8d37fb2b0685acedba3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a435092a093791b2ca2095888343b82cf"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedNumberFormat.html#a435092a093791b2ca2095888343b82cf">getNumberOfRuleSetDisplayNameLocales</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr>
<tr class="memdesc:a435092a093791b2ca2095888343b82cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the number of locales for which we have localized rule set display names.  <a href="#a435092a093791b2ca2095888343b82cf">More...</a><br/></td></tr>
<tr class="separator:a435092a093791b2ca2095888343b82cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1eba080384a030c748d1af5babb65e09"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classLocale.html">Locale</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedNumberFormat.html#a1eba080384a030c748d1af5babb65e09">getRuleSetDisplayNameLocale</a> (int32_t index, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a1eba080384a030c748d1af5babb65e09"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the index'th display name locale.  <a href="#a1eba080384a030c748d1af5babb65e09">More...</a><br/></td></tr>
<tr class="separator:a1eba080384a030c748d1af5babb65e09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38b1b89d3515d55b1cc912ea2b4400ec"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedNumberFormat.html#a38b1b89d3515d55b1cc912ea2b4400ec">getRuleSetDisplayName</a> (int32_t index, const <a class="el" href="classLocale.html">Locale</a> &amp;locale=<a class="el" href="classLocale.html#ac12d6326f2d283f5643f6b6caacfe88c">Locale::getDefault</a>())</td></tr>
<tr class="memdesc:a38b1b89d3515d55b1cc912ea2b4400ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the rule set display names for the provided locale.  <a href="#a38b1b89d3515d55b1cc912ea2b4400ec">More...</a><br/></td></tr>
<tr class="separator:a38b1b89d3515d55b1cc912ea2b4400ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4ab9929c10007152a32af73f89cf3c2"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedNumberFormat.html#ae4ab9929c10007152a32af73f89cf3c2">getRuleSetDisplayName</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;ruleSetName, const <a class="el" href="classLocale.html">Locale</a> &amp;locale=<a class="el" href="classLocale.html#ac12d6326f2d283f5643f6b6caacfe88c">Locale::getDefault</a>())</td></tr>
<tr class="memdesc:ae4ab9929c10007152a32af73f89cf3c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the rule set display name for the provided rule set and locale.  <a href="#ae4ab9929c10007152a32af73f89cf3c2">More...</a><br/></td></tr>
<tr class="separator:ae4ab9929c10007152a32af73f89cf3c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad18c54375913d2426aae02a4328c3187"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedNumberFormat.html#ad18c54375913d2426aae02a4328c3187">format</a> (int32_t number, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;toAppendTo, <a class="el" href="classFieldPosition.html">FieldPosition</a> &amp;pos) const </td></tr>
<tr class="memdesc:ad18c54375913d2426aae02a4328c3187"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formats the specified 32-bit number using the default ruleset.  <a href="#ad18c54375913d2426aae02a4328c3187">More...</a><br/></td></tr>
<tr class="separator:ad18c54375913d2426aae02a4328c3187"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf7cb11d07aac568236df549488e0b03"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedNumberFormat.html#adf7cb11d07aac568236df549488e0b03">format</a> (int64_t number, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;toAppendTo, <a class="el" href="classFieldPosition.html">FieldPosition</a> &amp;pos) const </td></tr>
<tr class="memdesc:adf7cb11d07aac568236df549488e0b03"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formats the specified 64-bit number using the default ruleset.  <a href="#adf7cb11d07aac568236df549488e0b03">More...</a><br/></td></tr>
<tr class="separator:adf7cb11d07aac568236df549488e0b03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a246ec02e8f3d84efc98f449f84ace6ab"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedNumberFormat.html#a246ec02e8f3d84efc98f449f84ace6ab">format</a> (double number, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;toAppendTo, <a class="el" href="classFieldPosition.html">FieldPosition</a> &amp;pos) const </td></tr>
<tr class="memdesc:a246ec02e8f3d84efc98f449f84ace6ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formats the specified number using the default ruleset.  <a href="#a246ec02e8f3d84efc98f449f84ace6ab">More...</a><br/></td></tr>
<tr class="separator:a246ec02e8f3d84efc98f449f84ace6ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe88e5ebd3a774349d6f5e08b033f829"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedNumberFormat.html#abe88e5ebd3a774349d6f5e08b033f829">format</a> (int32_t number, const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;ruleSetName, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;toAppendTo, <a class="el" href="classFieldPosition.html">FieldPosition</a> &amp;pos, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:abe88e5ebd3a774349d6f5e08b033f829"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formats the specified number using the named ruleset.  <a href="#abe88e5ebd3a774349d6f5e08b033f829">More...</a><br/></td></tr>
<tr class="separator:abe88e5ebd3a774349d6f5e08b033f829"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9fe3e6f8f9a2c402e5d201d27db69de7"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedNumberFormat.html#a9fe3e6f8f9a2c402e5d201d27db69de7">format</a> (int64_t number, const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;ruleSetName, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;toAppendTo, <a class="el" href="classFieldPosition.html">FieldPosition</a> &amp;pos, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a9fe3e6f8f9a2c402e5d201d27db69de7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formats the specified 64-bit number using the named ruleset.  <a href="#a9fe3e6f8f9a2c402e5d201d27db69de7">More...</a><br/></td></tr>
<tr class="separator:a9fe3e6f8f9a2c402e5d201d27db69de7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7eeb9cc017a8fe4516d15af3403bbdd"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedNumberFormat.html#ac7eeb9cc017a8fe4516d15af3403bbdd">format</a> (double number, const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;ruleSetName, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;toAppendTo, <a class="el" href="classFieldPosition.html">FieldPosition</a> &amp;pos, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:ac7eeb9cc017a8fe4516d15af3403bbdd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formats the specified number using the named ruleset.  <a href="#ac7eeb9cc017a8fe4516d15af3403bbdd">More...</a><br/></td></tr>
<tr class="separator:ac7eeb9cc017a8fe4516d15af3403bbdd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a640cf2259d20cc8f03736f6fe0d18d1b"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedNumberFormat.html#a640cf2259d20cc8f03736f6fe0d18d1b">format</a> (const <a class="el" href="classFormattable.html">Formattable</a> &amp;obj, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;toAppendTo, <a class="el" href="classFieldPosition.html">FieldPosition</a> &amp;pos, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a640cf2259d20cc8f03736f6fe0d18d1b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formats the specified number using the default ruleset.  <a href="#a640cf2259d20cc8f03736f6fe0d18d1b">More...</a><br/></td></tr>
<tr class="separator:a640cf2259d20cc8f03736f6fe0d18d1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae97cffb5bc4fca4e5f7d89b41a333983"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedNumberFormat.html#ae97cffb5bc4fca4e5f7d89b41a333983">format</a> (const <a class="el" href="classFormattable.html">Formattable</a> &amp;obj, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;result, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:ae97cffb5bc4fca4e5f7d89b41a333983"><td class="mdescLeft">&#160;</td><td class="mdescRight">Redeclared <a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> method.  <a href="#ae97cffb5bc4fca4e5f7d89b41a333983">More...</a><br/></td></tr>
<tr class="separator:ae97cffb5bc4fca4e5f7d89b41a333983"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe15fa9d2566bb4339e105f59f64f974"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedNumberFormat.html#afe15fa9d2566bb4339e105f59f64f974">format</a> (double number, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;output) const </td></tr>
<tr class="memdesc:afe15fa9d2566bb4339e105f59f64f974"><td class="mdescLeft">&#160;</td><td class="mdescRight">Redeclared <a class="el" href="classNumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a> method.  <a href="#afe15fa9d2566bb4339e105f59f64f974">More...</a><br/></td></tr>
<tr class="separator:afe15fa9d2566bb4339e105f59f64f974"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a920e08de6b0aca3f83b1e6c35dff9ad9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedNumberFormat.html#a920e08de6b0aca3f83b1e6c35dff9ad9">format</a> (int32_t number, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;output) const </td></tr>
<tr class="memdesc:a920e08de6b0aca3f83b1e6c35dff9ad9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Redeclared <a class="el" href="classNumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a> method.  <a href="#a920e08de6b0aca3f83b1e6c35dff9ad9">More...</a><br/></td></tr>
<tr class="separator:a920e08de6b0aca3f83b1e6c35dff9ad9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16c9b8e02cf8bb2f5c5d122143dbeb60"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedNumberFormat.html#a16c9b8e02cf8bb2f5c5d122143dbeb60">parse</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;text, <a class="el" href="classFormattable.html">Formattable</a> &amp;result, <a class="el" href="classParsePosition.html">ParsePosition</a> &amp;parsePosition) const </td></tr>
<tr class="memdesc:a16c9b8e02cf8bb2f5c5d122143dbeb60"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parses the specfied string, beginning at the specified position, according to this formatter's rules.  <a href="#a16c9b8e02cf8bb2f5c5d122143dbeb60">More...</a><br/></td></tr>
<tr class="separator:a16c9b8e02cf8bb2f5c5d122143dbeb60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90cc5cec4399cea7c3f1e600ca800ebb"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedNumberFormat.html#a90cc5cec4399cea7c3f1e600ca800ebb">parse</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;text, <a class="el" href="classFormattable.html">Formattable</a> &amp;result, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a90cc5cec4399cea7c3f1e600ca800ebb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Redeclared <a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> method.  <a href="#a90cc5cec4399cea7c3f1e600ca800ebb">More...</a><br/></td></tr>
<tr class="separator:a90cc5cec4399cea7c3f1e600ca800ebb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3c9501c62b8f9b629225f5a0d63c214"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedNumberFormat.html#aa3c9501c62b8f9b629225f5a0d63c214">setLenient</a> (<a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> enabled)</td></tr>
<tr class="memdesc:aa3c9501c62b8f9b629225f5a0d63c214"><td class="mdescLeft">&#160;</td><td class="mdescRight">Turns lenient parse mode on and off.  <a href="#aa3c9501c62b8f9b629225f5a0d63c214">More...</a><br/></td></tr>
<tr class="separator:aa3c9501c62b8f9b629225f5a0d63c214"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15b474bf4a11e7d1df7164f9b9a7df90"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedNumberFormat.html#a15b474bf4a11e7d1df7164f9b9a7df90">isLenient</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr>
<tr class="memdesc:a15b474bf4a11e7d1df7164f9b9a7df90"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if lenient-parse mode is turned on.  <a href="#a15b474bf4a11e7d1df7164f9b9a7df90">More...</a><br/></td></tr>
<tr class="separator:a15b474bf4a11e7d1df7164f9b9a7df90"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae80d597b9cc9fefcf37d9137e3db5cff"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedNumberFormat.html#ae80d597b9cc9fefcf37d9137e3db5cff">setDefaultRuleSet</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;ruleSetName, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:ae80d597b9cc9fefcf37d9137e3db5cff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override the default rule set to use.  <a href="#ae80d597b9cc9fefcf37d9137e3db5cff">More...</a><br/></td></tr>
<tr class="separator:ae80d597b9cc9fefcf37d9137e3db5cff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90b944154fdce68e4f48a2393d5d70fb"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedNumberFormat.html#a90b944154fdce68e4f48a2393d5d70fb">getDefaultRuleSetName</a> () const </td></tr>
<tr class="memdesc:a90b944154fdce68e4f48a2393d5d70fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the name of the current default rule set.  <a href="#a90b944154fdce68e4f48a2393d5d70fb">More...</a><br/></td></tr>
<tr class="separator:a90b944154fdce68e4f48a2393d5d70fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa570fa8ffe7f29c9d6d7ab4b3303fa2a"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedNumberFormat.html#aa570fa8ffe7f29c9d6d7ab4b3303fa2a">getDynamicClassID</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr>
<tr class="memdesc:aa570fa8ffe7f29c9d6d7ab4b3303fa2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for the actual class.  <a href="#aa570fa8ffe7f29c9d6d7ab4b3303fa2a">More...</a><br/></td></tr>
<tr class="separator:aa570fa8ffe7f29c9d6d7ab4b3303fa2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classNumberFormat"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classNumberFormat')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classNumberFormat.html">NumberFormat</a></td></tr>
<tr class="memitem:ab9364f134c85197678bdb68352f2ee15 inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#ab9364f134c85197678bdb68352f2ee15">~NumberFormat</a> ()</td></tr>
<tr class="memdesc:ab9364f134c85197678bdb68352f2ee15 inherit pub_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#ab9364f134c85197678bdb68352f2ee15">More...</a><br/></td></tr>
<tr class="separator:ab9364f134c85197678bdb68352f2ee15 inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae2d85a1f97ae55faf249a4a0f429976 inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#aae2d85a1f97ae55faf249a4a0f429976">parseObject</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;source, <a class="el" href="classFormattable.html">Formattable</a> &amp;result, <a class="el" href="classParsePosition.html">ParsePosition</a> &amp;parse_pos) const </td></tr>
<tr class="memdesc:aae2d85a1f97ae55faf249a4a0f429976 inherit pub_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse a string to produce an object.  <a href="#aae2d85a1f97ae55faf249a4a0f429976">More...</a><br/></td></tr>
<tr class="separator:aae2d85a1f97ae55faf249a4a0f429976 inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0d0bf658489e6a530a6c7716ef44320 inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#ad0d0bf658489e6a530a6c7716ef44320">format</a> (double number, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;appendTo) const </td></tr>
<tr class="memdesc:ad0d0bf658489e6a530a6c7716ef44320 inherit pub_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> a double number.  <a href="#ad0d0bf658489e6a530a6c7716ef44320">More...</a><br/></td></tr>
<tr class="separator:ad0d0bf658489e6a530a6c7716ef44320 inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa05c67fc637d9127756d854581a17fc inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#aaa05c67fc637d9127756d854581a17fc">format</a> (int32_t number, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;appendTo) const </td></tr>
<tr class="memdesc:aaa05c67fc637d9127756d854581a17fc inherit pub_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> a long number.  <a href="#aaa05c67fc637d9127756d854581a17fc">More...</a><br/></td></tr>
<tr class="separator:aaa05c67fc637d9127756d854581a17fc inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acfd48a8b10451ea0dd4fcc3cfb121b4b inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#acfd48a8b10451ea0dd4fcc3cfb121b4b">format</a> (int64_t number, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;appendTo) const </td></tr>
<tr class="memdesc:acfd48a8b10451ea0dd4fcc3cfb121b4b inherit pub_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> an int64 number.  <a href="#acfd48a8b10451ea0dd4fcc3cfb121b4b">More...</a><br/></td></tr>
<tr class="separator:acfd48a8b10451ea0dd4fcc3cfb121b4b inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67d754f52d336d911454e97ba32654de inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#a67d754f52d336d911454e97ba32654de">format</a> (const <a class="el" href="classFormattable.html">Formattable</a> &amp;obj, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;appendTo, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a67d754f52d336d911454e97ba32654de inherit pub_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Redeclared <a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> method.  <a href="#a67d754f52d336d911454e97ba32654de">More...</a><br/></td></tr>
<tr class="separator:a67d754f52d336d911454e97ba32654de inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08bffcf90d1cc63882ab686b6b271f9b inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classFormattable.html">Formattable</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#a08bffcf90d1cc63882ab686b6b271f9b">parseCurrency</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;text, <a class="el" href="classFormattable.html">Formattable</a> &amp;result, <a class="el" href="classParsePosition.html">ParsePosition</a> &amp;pos) const </td></tr>
<tr class="memdesc:a08bffcf90d1cc63882ab686b6b271f9b inherit pub_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parses text from the given string as a currency amount.  <a href="#a08bffcf90d1cc63882ab686b6b271f9b">More...</a><br/></td></tr>
<tr class="separator:a08bffcf90d1cc63882ab686b6b271f9b inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a680f60d204c0d00bb06f65d7c3ea716a inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#a680f60d204c0d00bb06f65d7c3ea716a">isParseIntegerOnly</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr>
<tr class="memdesc:a680f60d204c0d00bb06f65d7c3ea716a inherit pub_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return true if this format will parse numbers as integers only.  <a href="#a680f60d204c0d00bb06f65d7c3ea716a">More...</a><br/></td></tr>
<tr class="separator:a680f60d204c0d00bb06f65d7c3ea716a inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9b8eb834f6d18a61661cff71b954e52 inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#ac9b8eb834f6d18a61661cff71b954e52">setParseIntegerOnly</a> (<a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> value)</td></tr>
<tr class="memdesc:ac9b8eb834f6d18a61661cff71b954e52 inherit pub_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets whether or not numbers should be parsed as integers only.  <a href="#ac9b8eb834f6d18a61661cff71b954e52">More...</a><br/></td></tr>
<tr class="separator:ac9b8eb834f6d18a61661cff71b954e52 inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6fe9bf9d863b9c85ba8f61699e2bbd5b inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#a6fe9bf9d863b9c85ba8f61699e2bbd5b">isGroupingUsed</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr>
<tr class="memdesc:a6fe9bf9d863b9c85ba8f61699e2bbd5b inherit pub_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if grouping is used in this format.  <a href="#a6fe9bf9d863b9c85ba8f61699e2bbd5b">More...</a><br/></td></tr>
<tr class="separator:a6fe9bf9d863b9c85ba8f61699e2bbd5b inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42f1ff1c899ec393a87ef24cfdfdd0a1 inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#a42f1ff1c899ec393a87ef24cfdfdd0a1">setGroupingUsed</a> (<a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> newValue)</td></tr>
<tr class="memdesc:a42f1ff1c899ec393a87ef24cfdfdd0a1 inherit pub_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set whether or not grouping will be used in this format.  <a href="#a42f1ff1c899ec393a87ef24cfdfdd0a1">More...</a><br/></td></tr>
<tr class="separator:a42f1ff1c899ec393a87ef24cfdfdd0a1 inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b06a7feabb695be2e5f16a60a377cf3 inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#a1b06a7feabb695be2e5f16a60a377cf3">getMaximumIntegerDigits</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr>
<tr class="memdesc:a1b06a7feabb695be2e5f16a60a377cf3 inherit pub_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the maximum number of digits allowed in the integer portion of a number.  <a href="#a1b06a7feabb695be2e5f16a60a377cf3">More...</a><br/></td></tr>
<tr class="separator:a1b06a7feabb695be2e5f16a60a377cf3 inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a561c13b71c338e6b68729c786d2a3a09 inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#a561c13b71c338e6b68729c786d2a3a09">setMaximumIntegerDigits</a> (int32_t newValue)</td></tr>
<tr class="memdesc:a561c13b71c338e6b68729c786d2a3a09 inherit pub_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the maximum number of digits allowed in the integer portion of a number.  <a href="#a561c13b71c338e6b68729c786d2a3a09">More...</a><br/></td></tr>
<tr class="separator:a561c13b71c338e6b68729c786d2a3a09 inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa821c67615bf12bf1e8f1157108f6ad0 inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#aa821c67615bf12bf1e8f1157108f6ad0">getMinimumIntegerDigits</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr>
<tr class="memdesc:aa821c67615bf12bf1e8f1157108f6ad0 inherit pub_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the minimum number of digits allowed in the integer portion of a number.  <a href="#aa821c67615bf12bf1e8f1157108f6ad0">More...</a><br/></td></tr>
<tr class="separator:aa821c67615bf12bf1e8f1157108f6ad0 inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92a1454c564b66707d0145a123f65cf3 inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#a92a1454c564b66707d0145a123f65cf3">setMinimumIntegerDigits</a> (int32_t newValue)</td></tr>
<tr class="memdesc:a92a1454c564b66707d0145a123f65cf3 inherit pub_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the minimum number of digits allowed in the integer portion of a number.  <a href="#a92a1454c564b66707d0145a123f65cf3">More...</a><br/></td></tr>
<tr class="separator:a92a1454c564b66707d0145a123f65cf3 inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2d2e103f14b46234f6dc90125c98eb1 inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#ae2d2e103f14b46234f6dc90125c98eb1">getMaximumFractionDigits</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr>
<tr class="memdesc:ae2d2e103f14b46234f6dc90125c98eb1 inherit pub_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the maximum number of digits allowed in the fraction portion of a number.  <a href="#ae2d2e103f14b46234f6dc90125c98eb1">More...</a><br/></td></tr>
<tr class="separator:ae2d2e103f14b46234f6dc90125c98eb1 inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb97d22c2d628aab87d695c6f66e8dbb inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#abb97d22c2d628aab87d695c6f66e8dbb">setMaximumFractionDigits</a> (int32_t newValue)</td></tr>
<tr class="memdesc:abb97d22c2d628aab87d695c6f66e8dbb inherit pub_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the maximum number of digits allowed in the fraction portion of a number.  <a href="#abb97d22c2d628aab87d695c6f66e8dbb">More...</a><br/></td></tr>
<tr class="separator:abb97d22c2d628aab87d695c6f66e8dbb inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11eb09d7b8f01e40766898f4614598a2 inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#a11eb09d7b8f01e40766898f4614598a2">getMinimumFractionDigits</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr>
<tr class="memdesc:a11eb09d7b8f01e40766898f4614598a2 inherit pub_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the minimum number of digits allowed in the fraction portion of a number.  <a href="#a11eb09d7b8f01e40766898f4614598a2">More...</a><br/></td></tr>
<tr class="separator:a11eb09d7b8f01e40766898f4614598a2 inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a454c39db13cb0dde930e9249ee726db5 inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#a454c39db13cb0dde930e9249ee726db5">setMinimumFractionDigits</a> (int32_t newValue)</td></tr>
<tr class="memdesc:a454c39db13cb0dde930e9249ee726db5 inherit pub_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the minimum number of digits allowed in the fraction portion of a number.  <a href="#a454c39db13cb0dde930e9249ee726db5">More...</a><br/></td></tr>
<tr class="separator:a454c39db13cb0dde930e9249ee726db5 inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1dbc762d377858e70de924aacc59d113 inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#a1dbc762d377858e70de924aacc59d113">setCurrency</a> (const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *theCurrency, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;ec)</td></tr>
<tr class="memdesc:a1dbc762d377858e70de924aacc59d113 inherit pub_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the currency used to display currency amounts.  <a href="#a1dbc762d377858e70de924aacc59d113">More...</a><br/></td></tr>
<tr class="separator:a1dbc762d377858e70de924aacc59d113 inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc485325edc696f35f73cbdad75eed59 inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#acc485325edc696f35f73cbdad75eed59">getCurrency</a> () const </td></tr>
<tr class="memdesc:acc485325edc696f35f73cbdad75eed59 inherit pub_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the currency used to display currency amounts.  <a href="#acc485325edc696f35f73cbdad75eed59">More...</a><br/></td></tr>
<tr class="separator:acc485325edc696f35f73cbdad75eed59 inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classFormat"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classFormat')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classFormat.html">Format</a></td></tr>
<tr class="memitem:aafee703f14d0f5ddb264b708a75174a8 inherit pub_methods_classFormat"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormat.html#aafee703f14d0f5ddb264b708a75174a8">~Format</a> ()</td></tr>
<tr class="memdesc:aafee703f14d0f5ddb264b708a75174a8 inherit pub_methods_classFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#aafee703f14d0f5ddb264b708a75174a8">More...</a><br/></td></tr>
<tr class="separator:aafee703f14d0f5ddb264b708a75174a8 inherit pub_methods_classFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f65d87226814931dde8b035f47b69f3 inherit pub_methods_classFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormat.html#a4f65d87226814931dde8b035f47b69f3">operator!=</a> (const <a class="el" href="classFormat.html">Format</a> &amp;other) const </td></tr>
<tr class="memdesc:a4f65d87226814931dde8b035f47b69f3 inherit pub_methods_classFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return true if the given <a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> objects are not semantically equal.  <a href="#a4f65d87226814931dde8b035f47b69f3">More...</a><br/></td></tr>
<tr class="separator:a4f65d87226814931dde8b035f47b69f3 inherit pub_methods_classFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3f0b157f07d6e9f908da69c99239600 inherit pub_methods_classFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormat.html#af3f0b157f07d6e9f908da69c99239600">format</a> (const <a class="el" href="classFormattable.html">Formattable</a> &amp;obj, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;appendTo, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:af3f0b157f07d6e9f908da69c99239600 inherit pub_methods_classFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formats an object to produce a string.  <a href="#af3f0b157f07d6e9f908da69c99239600">More...</a><br/></td></tr>
<tr class="separator:af3f0b157f07d6e9f908da69c99239600 inherit pub_methods_classFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90da11177ef906f464d63ca14300e1c9 inherit pub_methods_classFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormat.html#a90da11177ef906f464d63ca14300e1c9">parseObject</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;source, <a class="el" href="classFormattable.html">Formattable</a> &amp;result, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a90da11177ef906f464d63ca14300e1c9 inherit pub_methods_classFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parses a string to produce an object.  <a href="#a90da11177ef906f464d63ca14300e1c9">More...</a><br/></td></tr>
<tr class="separator:a90da11177ef906f464d63ca14300e1c9 inherit pub_methods_classFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4502b04fe77be54f9f0343a87156fbd5 inherit pub_methods_classFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classLocale.html">Locale</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormat.html#a4502b04fe77be54f9f0343a87156fbd5">getLocale</a> (<a class="el" href="uloc_8h.html#adf053345d343f8d82ae080f7a5871f34">ULocDataLocaleType</a> type, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a4502b04fe77be54f9f0343a87156fbd5 inherit pub_methods_classFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the locale for this format object.  <a href="#a4502b04fe77be54f9f0343a87156fbd5">More...</a><br/></td></tr>
<tr class="separator:a4502b04fe77be54f9f0343a87156fbd5 inherit pub_methods_classFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8ca4e4cbd2a11b4de3c748c48c7c536 inherit pub_methods_classFormat"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormat.html#ad8ca4e4cbd2a11b4de3c748c48c7c536">getLocaleID</a> (<a class="el" href="uloc_8h.html#adf053345d343f8d82ae080f7a5871f34">ULocDataLocaleType</a> type, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:ad8ca4e4cbd2a11b4de3c748c48c7c536 inherit pub_methods_classFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the locale for this format object.  <a href="#ad8ca4e4cbd2a11b4de3c748c48c7c536">More...</a><br/></td></tr>
<tr class="separator:ad8ca4e4cbd2a11b4de3c748c48c7c536 inherit pub_methods_classFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classUObject"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classUObject')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classUObject.html">UObject</a></td></tr>
<tr class="memitem:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUObject.html#ace22cf29a90641ef43350deae5bedb85">~UObject</a> ()</td></tr>
<tr class="memdesc:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#ace22cf29a90641ef43350deae5bedb85">More...</a><br/></td></tr>
<tr class="separator:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a3f59d38e1adfa24dd9b33b1996c018b8"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedNumberFormat.html#a3f59d38e1adfa24dd9b33b1996c018b8">getStaticClassID</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>)</td></tr>
<tr class="memdesc:a3f59d38e1adfa24dd9b33b1996c018b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for this class.  <a href="#a3f59d38e1adfa24dd9b33b1996c018b8">More...</a><br/></td></tr>
<tr class="separator:a3f59d38e1adfa24dd9b33b1996c018b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_classNumberFormat"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classNumberFormat')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classNumberFormat.html">NumberFormat</a></td></tr>
<tr class="memitem:a2483fa1e87f3600395ff0c8f364f7b6f inherit pub_static_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classNumberFormat.html">NumberFormat</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#a2483fa1e87f3600395ff0c8f364f7b6f">createInstance</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;)</td></tr>
<tr class="memdesc:a2483fa1e87f3600395ff0c8f364f7b6f inherit pub_static_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the default number format for the current default locale.  <a href="#a2483fa1e87f3600395ff0c8f364f7b6f">More...</a><br/></td></tr>
<tr class="separator:a2483fa1e87f3600395ff0c8f364f7b6f inherit pub_static_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3aa6fc5e68d9d646998dbf8c91b939e2 inherit pub_static_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classNumberFormat.html">NumberFormat</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#a3aa6fc5e68d9d646998dbf8c91b939e2">createInstance</a> (const <a class="el" href="classLocale.html">Locale</a> &amp;inLocale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;)</td></tr>
<tr class="memdesc:a3aa6fc5e68d9d646998dbf8c91b939e2 inherit pub_static_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the default number format for the specified locale.  <a href="#a3aa6fc5e68d9d646998dbf8c91b939e2">More...</a><br/></td></tr>
<tr class="separator:a3aa6fc5e68d9d646998dbf8c91b939e2 inherit pub_static_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c5d7b55f149281ed063e6bf631e1433 inherit pub_static_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classNumberFormat.html">NumberFormat</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#a0c5d7b55f149281ed063e6bf631e1433">createCurrencyInstance</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;)</td></tr>
<tr class="memdesc:a0c5d7b55f149281ed063e6bf631e1433 inherit pub_static_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a currency format for the current default locale.  <a href="#a0c5d7b55f149281ed063e6bf631e1433">More...</a><br/></td></tr>
<tr class="separator:a0c5d7b55f149281ed063e6bf631e1433 inherit pub_static_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafc5e5013c7ff22c53195bc30e63b845 inherit pub_static_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classNumberFormat.html">NumberFormat</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#aafc5e5013c7ff22c53195bc30e63b845">createCurrencyInstance</a> (const <a class="el" href="classLocale.html">Locale</a> &amp;inLocale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;)</td></tr>
<tr class="memdesc:aafc5e5013c7ff22c53195bc30e63b845 inherit pub_static_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a currency format for the specified locale.  <a href="#aafc5e5013c7ff22c53195bc30e63b845">More...</a><br/></td></tr>
<tr class="separator:aafc5e5013c7ff22c53195bc30e63b845 inherit pub_static_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a033f486287d03fc07ccf422992a3e894 inherit pub_static_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classNumberFormat.html">NumberFormat</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#a033f486287d03fc07ccf422992a3e894">createPercentInstance</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;)</td></tr>
<tr class="memdesc:a033f486287d03fc07ccf422992a3e894 inherit pub_static_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a percentage format for the current default locale.  <a href="#a033f486287d03fc07ccf422992a3e894">More...</a><br/></td></tr>
<tr class="separator:a033f486287d03fc07ccf422992a3e894 inherit pub_static_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0b6f6d8fc351a0aad06910dfe043f91 inherit pub_static_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classNumberFormat.html">NumberFormat</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#ac0b6f6d8fc351a0aad06910dfe043f91">createPercentInstance</a> (const <a class="el" href="classLocale.html">Locale</a> &amp;inLocale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;)</td></tr>
<tr class="memdesc:ac0b6f6d8fc351a0aad06910dfe043f91 inherit pub_static_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a percentage format for the specified locale.  <a href="#ac0b6f6d8fc351a0aad06910dfe043f91">More...</a><br/></td></tr>
<tr class="separator:ac0b6f6d8fc351a0aad06910dfe043f91 inherit pub_static_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed63bba10230ae92fc98f50031eadf75 inherit pub_static_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classNumberFormat.html">NumberFormat</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#aed63bba10230ae92fc98f50031eadf75">createScientificInstance</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;)</td></tr>
<tr class="memdesc:aed63bba10230ae92fc98f50031eadf75 inherit pub_static_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a scientific format for the current default locale.  <a href="#aed63bba10230ae92fc98f50031eadf75">More...</a><br/></td></tr>
<tr class="separator:aed63bba10230ae92fc98f50031eadf75 inherit pub_static_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa26a23ba85c6dac9b8f429d1fe7d695f inherit pub_static_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classNumberFormat.html">NumberFormat</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#aa26a23ba85c6dac9b8f429d1fe7d695f">createScientificInstance</a> (const <a class="el" href="classLocale.html">Locale</a> &amp;inLocale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;)</td></tr>
<tr class="memdesc:aa26a23ba85c6dac9b8f429d1fe7d695f inherit pub_static_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a scientific format for the specified locale.  <a href="#aa26a23ba85c6dac9b8f429d1fe7d695f">More...</a><br/></td></tr>
<tr class="separator:aa26a23ba85c6dac9b8f429d1fe7d695f inherit pub_static_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f18e4922ee902adabdd355311fd11ae inherit pub_static_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classLocale.html">Locale</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#a8f18e4922ee902adabdd355311fd11ae">getAvailableLocales</a> (int32_t &amp;count)</td></tr>
<tr class="memdesc:a8f18e4922ee902adabdd355311fd11ae inherit pub_static_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the set of Locales for which NumberFormats are installed.  <a href="#a8f18e4922ee902adabdd355311fd11ae">More...</a><br/></td></tr>
<tr class="separator:a8f18e4922ee902adabdd355311fd11ae inherit pub_static_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83e8d5a07d0b2c1444c051ab442e6c3e inherit pub_static_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="umisc_8h.html#ab5905d79ed3b979840cee1d5fd48b4fb">URegistryKey</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#a83e8d5a07d0b2c1444c051ab442e6c3e">registerFactory</a> (<a class="el" href="classNumberFormatFactory.html">NumberFormatFactory</a> *toAdopt, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a83e8d5a07d0b2c1444c051ab442e6c3e inherit pub_static_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Register a new <a class="el" href="classNumberFormatFactory.html" title="A NumberFormatFactory is used to register new number formats. ">NumberFormatFactory</a>.  <a href="#a83e8d5a07d0b2c1444c051ab442e6c3e">More...</a><br/></td></tr>
<tr class="separator:a83e8d5a07d0b2c1444c051ab442e6c3e inherit pub_static_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6ecd9973fd855a9028af8cadbf0a4c3 inherit pub_static_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#ab6ecd9973fd855a9028af8cadbf0a4c3">unregister</a> (<a class="el" href="umisc_8h.html#ab5905d79ed3b979840cee1d5fd48b4fb">URegistryKey</a> key, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:ab6ecd9973fd855a9028af8cadbf0a4c3 inherit pub_static_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unregister a previously-registered <a class="el" href="classNumberFormatFactory.html" title="A NumberFormatFactory is used to register new number formats. ">NumberFormatFactory</a> using the key returned from the register call.  <a href="#ab6ecd9973fd855a9028af8cadbf0a4c3">More...</a><br/></td></tr>
<tr class="separator:ab6ecd9973fd855a9028af8cadbf0a4c3 inherit pub_static_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29addeb994249b22539ef1659d4017c7 inherit pub_static_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classStringEnumeration.html">StringEnumeration</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#a29addeb994249b22539ef1659d4017c7">getAvailableLocales</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>)</td></tr>
<tr class="memdesc:a29addeb994249b22539ef1659d4017c7 inherit pub_static_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a <a class="el" href="classStringEnumeration.html" title="Base class for &#39;pure&#39; C++ implementations of uenum api. ">StringEnumeration</a> over the locales available at the time of the call, including registered locales.  <a href="#a29addeb994249b22539ef1659d4017c7">More...</a><br/></td></tr>
<tr class="separator:a29addeb994249b22539ef1659d4017c7 inherit pub_static_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acfeb8972959e9383b026761d0e9e1e5e inherit pub_static_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#acfeb8972959e9383b026761d0e9e1e5e">getStaticClassID</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>)</td></tr>
<tr class="memdesc:acfeb8972959e9383b026761d0e9e1e5e inherit pub_static_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the class ID for this class.  <a href="#acfeb8972959e9383b026761d0e9e1e5e">More...</a><br/></td></tr>
<tr class="separator:acfeb8972959e9383b026761d0e9e1e5e inherit pub_static_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_classUMemory"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classUMemory')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classUMemory.html">UMemory</a></td></tr>
<tr class="memitem:a309b19b5777e2840b85b202aef5a54fb inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a309b19b5777e2840b85b202aef5a54fb">operator new</a> (size_t size)</td></tr>
<tr class="memdesc:a309b19b5777e2840b85b202aef5a54fb inherit pub_static_methods_classUMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for ICU4C C++ memory management.  <a href="#a309b19b5777e2840b85b202aef5a54fb">More...</a><br/></td></tr>
<tr class="separator:a309b19b5777e2840b85b202aef5a54fb inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d0df3571728e7b8a823dbbea6e9b5c5 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a4d0df3571728e7b8a823dbbea6e9b5c5">operator new[]</a> (size_t size)</td></tr>
<tr class="memdesc:a4d0df3571728e7b8a823dbbea6e9b5c5 inherit pub_static_methods_classUMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for ICU4C C++ memory management.  <a href="#a4d0df3571728e7b8a823dbbea6e9b5c5">More...</a><br/></td></tr>
<tr class="separator:a4d0df3571728e7b8a823dbbea6e9b5c5 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adcda65a58813749f8f45c5e6c1ed37e1 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#adcda65a58813749f8f45c5e6c1ed37e1">operator delete</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *p)</td></tr>
<tr class="memdesc:adcda65a58813749f8f45c5e6c1ed37e1 inherit pub_static_methods_classUMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for ICU4C C++ memory management.  <a href="#adcda65a58813749f8f45c5e6c1ed37e1">More...</a><br/></td></tr>
<tr class="separator:adcda65a58813749f8f45c5e6c1ed37e1 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7602a7a8c6fdff21d9fbecea4d899333 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a7602a7a8c6fdff21d9fbecea4d899333">operator delete[]</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *p)</td></tr>
<tr class="memdesc:a7602a7a8c6fdff21d9fbecea4d899333 inherit pub_static_methods_classUMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for ICU4C C++ memory management.  <a href="#a7602a7a8c6fdff21d9fbecea4d899333">More...</a><br/></td></tr>
<tr class="separator:a7602a7a8c6fdff21d9fbecea4d899333 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43b5221fe429f77230b2040f8724c154 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a43b5221fe429f77230b2040f8724c154">operator new</a> (size_t, <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *ptr)</td></tr>
<tr class="memdesc:a43b5221fe429f77230b2040f8724c154 inherit pub_static_methods_classUMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for ICU4C C++ memory management for STL.  <a href="#a43b5221fe429f77230b2040f8724c154">More...</a><br/></td></tr>
<tr class="separator:a43b5221fe429f77230b2040f8724c154 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b746b0cdb49c8f8907773002ea5c4ea inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a9b746b0cdb49c8f8907773002ea5c4ea">operator delete</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *, <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *)</td></tr>
<tr class="memdesc:a9b746b0cdb49c8f8907773002ea5c4ea inherit pub_static_methods_classUMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for ICU4C C++ memory management for STL.  <a href="#a9b746b0cdb49c8f8907773002ea5c4ea">More...</a><br/></td></tr>
<tr class="separator:a9b746b0cdb49c8f8907773002ea5c4ea inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a39532680c0f7f54a04caf8df763cf092"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a39532680c0f7f54a04caf8df763cf092"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>NFSubstitution</b></td></tr>
<tr class="separator:a39532680c0f7f54a04caf8df763cf092"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa51afff2371ac40962212a34eb0e3ff8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa51afff2371ac40962212a34eb0e3ff8"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>NFRule</b></td></tr>
<tr class="separator:aa51afff2371ac40962212a34eb0e3ff8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abde6176913d71dc5c18c7b31c0de34a4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abde6176913d71dc5c18c7b31c0de34a4"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>FractionalPartSubstitution</b></td></tr>
<tr class="separator:abde6176913d71dc5c18c7b31c0de34a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_types_classNumberFormat"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classNumberFormat')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classNumberFormat.html">NumberFormat</a></td></tr>
<tr class="memitem:aac1d8bfe4ccd2cdf6fa1a933b2df75a1 inherit pub_types_classNumberFormat"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#aac1d8bfe4ccd2cdf6fa1a933b2df75a1">EAlignmentFields</a> { <b>kIntegerField</b>, 
<b>kFractionField</b>, 
<a class="el" href="classNumberFormat.html#aac1d8bfe4ccd2cdf6fa1a933b2df75a1a193401497626cb3ca7f4f9baabe1c123">INTEGER_FIELD</a> = kIntegerField, 
<b>FRACTION_FIELD</b> = kFractionField
 }</td></tr>
<tr class="memdesc:aac1d8bfe4ccd2cdf6fa1a933b2df75a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Alignment Field constants used to construct a <a class="el" href="classFieldPosition.html" title="FieldPosition is a simple class used by Format and its subclasses to identify fields in formatted out...">FieldPosition</a> object.  <a href="classNumberFormat.html#aac1d8bfe4ccd2cdf6fa1a933b2df75a1">More...</a><br/></td></tr>
<tr class="separator:aac1d8bfe4ccd2cdf6fa1a933b2df75a1 inherit pub_types_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classNumberFormat"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classNumberFormat')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classNumberFormat.html">NumberFormat</a></td></tr>
<tr class="memitem:a456d960b53c9f61acbf443f5fd56e7dc inherit pro_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#a456d960b53c9f61acbf443f5fd56e7dc">NumberFormat</a> ()</td></tr>
<tr class="memdesc:a456d960b53c9f61acbf443f5fd56e7dc inherit pro_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor for subclass use only.  <a href="#a456d960b53c9f61acbf443f5fd56e7dc">More...</a><br/></td></tr>
<tr class="separator:a456d960b53c9f61acbf443f5fd56e7dc inherit pro_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabbf4f0a039756b6ba100aadc7cede99 inherit pro_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#aabbf4f0a039756b6ba100aadc7cede99">NumberFormat</a> (const <a class="el" href="classNumberFormat.html">NumberFormat</a> &amp;)</td></tr>
<tr class="memdesc:aabbf4f0a039756b6ba100aadc7cede99 inherit pro_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor.  <a href="#aabbf4f0a039756b6ba100aadc7cede99">More...</a><br/></td></tr>
<tr class="separator:aabbf4f0a039756b6ba100aadc7cede99 inherit pro_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b9d5c0937f4da69d9a229fd10f8ec38 inherit pro_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classNumberFormat.html">NumberFormat</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#a8b9d5c0937f4da69d9a229fd10f8ec38">operator=</a> (const <a class="el" href="classNumberFormat.html">NumberFormat</a> &amp;)</td></tr>
<tr class="memdesc:a8b9d5c0937f4da69d9a229fd10f8ec38 inherit pro_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator.  <a href="#a8b9d5c0937f4da69d9a229fd10f8ec38">More...</a><br/></td></tr>
<tr class="separator:a8b9d5c0937f4da69d9a229fd10f8ec38 inherit pro_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae79eb815aa14fa432eec4307a3e2bc28 inherit pro_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#ae79eb815aa14fa432eec4307a3e2bc28">getEffectiveCurrency</a> (<a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *result, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;ec) const </td></tr>
<tr class="memdesc:ae79eb815aa14fa432eec4307a3e2bc28 inherit pro_methods_classNumberFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the currency in effect for this formatter.  <a href="#ae79eb815aa14fa432eec4307a3e2bc28">More...</a><br/></td></tr>
<tr class="separator:ae79eb815aa14fa432eec4307a3e2bc28 inherit pro_methods_classNumberFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classFormat"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classFormat')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classFormat.html">Format</a></td></tr>
<tr class="memitem:ae15f405ad3805e8d6691354047b500ca inherit pro_methods_classFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormat.html#ae15f405ad3805e8d6691354047b500ca">setLocaleIDs</a> (const char *valid, const char *actual)</td></tr>
<tr class="separator:ae15f405ad3805e8d6691354047b500ca inherit pro_methods_classFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9326a787208f39b9544fc6fcbcbfcad3 inherit pro_methods_classFormat"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormat.html#a9326a787208f39b9544fc6fcbcbfcad3">Format</a> ()</td></tr>
<tr class="memdesc:a9326a787208f39b9544fc6fcbcbfcad3 inherit pro_methods_classFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor for subclass use only.  <a href="#a9326a787208f39b9544fc6fcbcbfcad3">More...</a><br/></td></tr>
<tr class="separator:a9326a787208f39b9544fc6fcbcbfcad3 inherit pro_methods_classFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab69111c370cfe44f9508e78e5431cc65 inherit pro_methods_classFormat"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormat.html#ab69111c370cfe44f9508e78e5431cc65">Format</a> (const <a class="el" href="classFormat.html">Format</a> &amp;)</td></tr>
<tr class="separator:ab69111c370cfe44f9508e78e5431cc65 inherit pro_methods_classFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a5276a88c488462eea3a508b71f4d9c inherit pro_methods_classFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classFormat.html">Format</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormat.html#a7a5276a88c488462eea3a508b71f4d9c">operator=</a> (const <a class="el" href="classFormat.html">Format</a> &amp;)</td></tr>
<tr class="separator:a7a5276a88c488462eea3a508b71f4d9c inherit pro_methods_classFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_static_methods_classFormat"><td colspan="2" onclick="javascript:toggleInherit('pro_static_methods_classFormat')"><img src="closed.png" alt="-"/>&#160;Static Protected Member Functions inherited from <a class="el" href="classFormat.html">Format</a></td></tr>
<tr class="memitem:a98213ada53770537d242f4bf0ba43b73 inherit pro_static_methods_classFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFormat.html#a98213ada53770537d242f4bf0ba43b73">syntaxError</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;pattern, int32_t pos, <a class="el" href="structUParseError.html">UParseError</a> &amp;parseError)</td></tr>
<tr class="memdesc:a98213ada53770537d242f4bf0ba43b73 inherit pro_static_methods_classFormat"><td class="mdescLeft">&#160;</td><td class="mdescRight">Simple function for initializing a <a class="el" href="structUParseError.html" title="A UParseError struct is used to returned detailed information about parsing errors. ">UParseError</a> from a <a class="el" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>.  <a href="#a98213ada53770537d242f4bf0ba43b73">More...</a><br/></td></tr>
<tr class="separator:a98213ada53770537d242f4bf0ba43b73 inherit pro_static_methods_classFormat"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="classRuleBasedNumberFormat.html" title="The RuleBasedNumberFormat class formats numbers according to a set of rules. ">RuleBasedNumberFormat</a> class formats numbers according to a set of rules. </p>
<p>This number formatter is typically used for spelling out numeric values in words (e.g., 25,3476 as "twenty-five thousand three hundred seventy-six" or "vingt-cinq mille trois cents soixante-seize" or "f&uuml;nfundzwanzigtausenddreihundertsechsundsiebzig"), but can also be used for other complicated formatting tasks, such as formatting a number of seconds as hours, minutes and seconds (e.g., 3,730 as "1:02:10").</p>
<p>The resources contain three predefined formatters for each locale: spellout, which spells out a value in words (123 is "one hundred twenty-three"); ordinal, which appends an ordinal suffix to the end of a numeral (123 is "123rd"); and duration, which shows a duration in seconds as hours, minutes, and seconds (123 is "2:03").&#160; The client can also define more specialized <code><a class="el" href="classRuleBasedNumberFormat.html" title="The RuleBasedNumberFormat class formats numbers according to a set of rules. ">RuleBasedNumberFormat</a></code>s by supplying programmer-defined rule sets.</p>
<p>The behavior of a <code><a class="el" href="classRuleBasedNumberFormat.html" title="The RuleBasedNumberFormat class formats numbers according to a set of rules. ">RuleBasedNumberFormat</a></code> is specified by a textual description that is either passed to the constructor as a <code>String</code> or loaded from a resource bundle. In its simplest form, the description consists of a semicolon-delimited list of <em>rules.</em> Each rule has a string of output text and a value or range of values it is applicable to. In a typical spellout rule set, the first twenty rules are the words for the numbers from 0 to 19:</p>
<pre>zero; one; two; three; four; five; six; seven; eight; nine;
ten; eleven; twelve; thirteen; fourteen; fifteen; sixteen; seventeen; eighteen; nineteen;</pre><p>For larger numbers, we can use the preceding set of rules to format the ones place, and we only have to supply the words for the multiples of 10:</p>
<pre> 20: twenty[-&gt;&gt;];
30: thirty[-&gt;&gt;];
40: forty[-&gt;&gt;];
50: fifty[-&gt;&gt;];
60: sixty[-&gt;&gt;];
70: seventy[-&gt;&gt;];
80: eighty[-&gt;&gt;];
90: ninety[-&gt;&gt;];</pre><p>In these rules, the <em>base value</em> is spelled out explicitly and set off from the rule's output text with a colon. The rules are in a sorted list, and a rule is applicable to all numbers from its own base value to one less than the next rule's base value. The "&gt;&gt;" token is called a <em>substitution</em> and tells the fomatter to isolate the number's ones digit, format it using this same set of rules, and place the result at the position of the "&gt;&gt;" token. Text in brackets is omitted if the number being formatted is an even multiple of 10 (the hyphen is a literal hyphen; 24 is "twenty-four," not "twenty four").</p>
<p>For even larger numbers, we can actually look up several parts of the number in the list:</p>
<pre>100: &lt;&lt; hundred[ &gt;&gt;];</pre><p>The "&lt;&lt;" represents a new kind of substitution. The &lt;&lt; isolates the hundreds digit (and any digits to its left), formats it using this same rule set, and places the result where the "&lt;&lt;" was. Notice also that the meaning of &gt;&gt; has changed: it now refers to both the tens and the ones digits. The meaning of both substitutions depends on the rule's base value. The base value determines the rule's <em>divisor,</em> which is the highest power of 10 that is less than or equal to the base value (the user can change this). To fill in the substitutions, the formatter divides the number being formatted by the divisor. The integral quotient is used to fill in the &lt;&lt; substitution, and the remainder is used to fill in the &gt;&gt; substitution. The meaning of the brackets changes similarly: text in brackets is omitted if the value being formatted is an even multiple of the rule's divisor. The rules are applied recursively, so if a substitution is filled in with text that includes another substitution, that substitution is also filled in.</p>
<p>This rule covers values up to 999, at which point we add another rule:</p>
<pre>1000: &lt;&lt; thousand[ &gt;&gt;];</pre><p>Again, the meanings of the brackets and substitution tokens shift because the rule's base value is a higher power of 10, changing the rule's divisor. This rule can actually be used all the way up to 999,999. This allows us to finish out the rules as follows:</p>
<pre> 1,000,000: &lt;&lt; million[ &gt;&gt;];
1,000,000,000: &lt;&lt; billion[ &gt;&gt;];
1,000,000,000,000: &lt;&lt; trillion[ &gt;&gt;];
1,000,000,000,000,000: OUT OF RANGE!;</pre><p>Commas, periods, and spaces can be used in the base values to improve legibility and are ignored by the rule parser. The last rule in the list is customarily treated as an "overflow rule," applying to everything from its base value on up, and often (as in this example) being used to print out an error message or default representation. Notice also that the size of the major groupings in large numbers is controlled by the spacing of the rules: because in English we group numbers by thousand, the higher rules are separated from each other by a factor of 1,000.</p>
<p>To see how these rules actually work in practice, consider the following example: Formatting 25,430 with this rule set would work like this:</p>
<table  border="0" width="100%">
<tr>
<td><b>&lt;&lt; thousand &gt;&gt;</b> </td><td>[the rule whose base value is 1,000 is applicable to 25,340]  </td></tr>
<tr>
<td><b>twenty-&gt;&gt;</b> thousand &gt;&gt; </td><td>[25,340 over 1,000 is 25. The rule for 20 applies.]  </td></tr>
<tr>
<td>twenty-<b>five</b> thousand &gt;&gt; </td><td>[25 mod 10 is 5. The rule for 5 is "five."  </td></tr>
<tr>
<td>twenty-five thousand <b>&lt;&lt; hundred &gt;&gt;</b> </td><td>[25,340 mod 1,000 is 340. The rule for 100 applies.]  </td></tr>
<tr>
<td>twenty-five thousand <b>three</b> hundred &gt;&gt; </td><td>[340 over 100 is 3. The rule for 3 is "three."]  </td></tr>
<tr>
<td>twenty-five thousand three hundred <b>forty</b> </td><td>[340 mod 100 is 40. The rule for 40 applies. Since 40 divides evenly by 10, the hyphen and substitution in the brackets are omitted.]  </td></tr>
</table>
<p>The above syntax suffices only to format positive integers. To format negative numbers, we add a special rule:</p>
<pre>-x: minus &gt;&gt;;</pre><p>This is called a <em>negative-number rule,</em> and is identified by "-x" where the base value would be. This rule is used to format all negative numbers. the &gt;&gt; token here means "find the number's absolute value, format it with these rules, and put the result here."</p>
<p>We also add a special rule called a <em>fraction rule </em>for numbers with fractional parts:</p>
<pre>x.x: &lt;&lt; point &gt;&gt;;</pre><p>This rule is used for all positive non-integers (negative non-integers pass through the negative-number rule first and then through this rule). Here, the &lt;&lt; token refers to the number's integral part, and the &gt;&gt; to the number's fractional part. The fractional part is formatted as a series of single-digit numbers (e.g., 123.456 would be formatted as "one hundred twenty-three point four five six").</p>
<p>To see how this rule syntax is applied to various languages, examine the resource data.</p>
<p>There is actually much more flexibility built into the rule language than the description above shows. A formatter may own multiple rule sets, which can be selected by the caller, and which can use each other to fill in their substitutions. Substitutions can also be filled in with digits, using a <a class="el" href="classDecimalFormat.html" title="DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers. ">DecimalFormat</a> object. There is syntax that can be used to alter a rule's divisor in various ways. And there is provision for much more flexible fraction handling. A complete description of the rule syntax follows:</p>
<hr/>
<p>The description of a <code><a class="el" href="classRuleBasedNumberFormat.html" title="The RuleBasedNumberFormat class formats numbers according to a set of rules. ">RuleBasedNumberFormat</a></code>'s behavior consists of one or more <em>rule sets.</em> Each rule set consists of a name, a colon, and a list of <em>rules.</em> A rule set name must begin with a % sign. Rule sets with names that begin with a single % sign are <em>public:</em> the caller can specify that they be used to format and parse numbers. Rule sets with names that begin with %% are <em>private:</em> they exist only for the use of other rule sets. If a formatter only has one rule set, the name may be omitted.</p>
<p>The user can also specify a special "rule set" named <code>%lenient-parse</code>. The body of <code>%lenient-parse</code> isn't a set of number-formatting rules, but a <code><a class="el" href="classRuleBasedCollator.html" title="The RuleBasedCollator class provides the simple implementation of Collator, using data-driven tables...">RuleBasedCollator</a></code> description which is used to define equivalences for lenient parsing. For more information on the syntax, see <code><a class="el" href="classRuleBasedCollator.html" title="The RuleBasedCollator class provides the simple implementation of Collator, using data-driven tables...">RuleBasedCollator</a></code>. For more information on lenient parsing, see <code>setLenientParse()</code>. <em>Note:</em> symbols that have syntactic meaning in collation rules, such as '&amp;', have no particular meaning when appearing outside of the <code>lenient-parse</code> rule set.</p>
<p>The body of a rule set consists of an ordered, semicolon-delimited list of <em>rules.</em> Internally, every rule has a base value, a divisor, rule text, and zero, one, or two <em>substitutions.</em> These parameters are controlled by the description syntax, which consists of a <em>rule descriptor,</em> a colon, and a <em>rule body.</em></p>
<p>A rule descriptor can take one of the following forms (text in <em>italics</em> is the name of a token):</p>
<table  border="0" width="100%">
<tr>
<td><em>bv</em>: </td><td><em>bv</em> specifies the rule's base value. <em>bv</em> is a decimal number expressed using ASCII digits. <em>bv</em> may contain spaces, period, and commas, which are ignored. The rule's divisor is the highest power of 10 less than or equal to the base value.  </td></tr>
<tr>
<td><em>bv</em>/<em>rad</em>: </td><td><em>bv</em> specifies the rule's base value. The rule's divisor is the highest power of <em>rad</em> less than or equal to the base value.  </td></tr>
<tr>
<td><em>bv</em>&gt;: </td><td><em>bv</em> specifies the rule's base value. To calculate the divisor, let the radix be 10, and the exponent be the highest exponent of the radix that yields a result less than or equal to the base value. Every &gt; character after the base value decreases the exponent by 1. If the exponent is positive or 0, the divisor is the radix raised to the power of the exponent; otherwise, the divisor is 1.  </td></tr>
<tr>
<td><em>bv</em>/<em>rad</em>&gt;: </td><td><em>bv</em> specifies the rule's base value. To calculate the divisor, let the radix be <em>rad</em>, and the exponent be the highest exponent of the radix that yields a result less than or equal to the base value. Every &gt; character after the radix decreases the exponent by 1. If the exponent is positive or 0, the divisor is the radix raised to the power of the exponent; otherwise, the divisor is 1.  </td></tr>
<tr>
<td>-x: </td><td>The rule is a negative-number rule.  </td></tr>
<tr>
<td>x.x: </td><td>The rule is an <em>improper fraction rule.</em>  </td></tr>
<tr>
<td>0.x: </td><td>The rule is a <em>proper fraction rule.</em>  </td></tr>
<tr>
<td>x.0: </td><td>The rule is a <em>master rule.</em>  </td></tr>
<tr>
<td><em>nothing</em> </td><td>If the rule's rule descriptor is left out, the base value is one plus the preceding rule's base value (or zero if this is the first rule in the list) in a normal rule set.&#160; In a fraction rule set, the base value is the same as the preceding rule's base value.  </td></tr>
</table>
<p>A rule set may be either a regular rule set or a <em>fraction rule set,</em> depending on whether it is used to format a number's integral part (or the whole number) or a number's fractional part. Using a rule set to format a rule's fractional part makes it a fraction rule set.</p>
<p>Which rule is used to format a number is defined according to one of the following algorithms: If the rule set is a regular rule set, do the following:</p>
<ul>
<li>
If the rule set includes a master rule (and the number was passed in as a <code>double</code>), use the master rule.&#160; (If the number being formatted was passed in as a <code>long</code>, the master rule is ignored.) </li>
<li>
If the number is negative, use the negative-number rule. </li>
<li>
If the number has a fractional part and is greater than 1, use the improper fraction rule. </li>
<li>
If the number has a fractional part and is between 0 and 1, use the proper fraction rule. </li>
<li>
Binary-search the rule list for the rule with the highest base value less than or equal to the number. If that rule has two substitutions, its base value is not an even multiple of its divisor, and the number <em>is</em> an even multiple of the rule's divisor, use the rule that precedes it in the rule list. Otherwise, use the rule itself. </li>
</ul>
<p>If the rule set is a fraction rule set, do the following:</p>
<ul>
<li>
Ignore negative-number and fraction rules. </li>
<li>
For each rule in the list, multiply the number being formatted (which will always be between 0 and 1) by the rule's base value. Keep track of the distance between the result the nearest integer. </li>
<li>
Use the rule that produced the result closest to zero in the above calculation. In the event of a tie or a direct hit, use the first matching rule encountered. (The idea here is to try each rule's base value as a possible denominator of a fraction. Whichever denominator produces the fraction closest in value to the number being formatted wins.) If the rule following the matching rule has the same base value, use it if the numerator of the fraction is anything other than 1; if the numerator is 1, use the original matching rule. (This is to allow singular and plural forms of the rule text without a lot of extra hassle.) </li>
</ul>
<p>A rule's body consists of a string of characters terminated by a semicolon. The rule may include zero, one, or two <em>substitution tokens,</em> and a range of text in brackets. The brackets denote optional text (and may also include one or both substitutions). The exact meanings of the substitution tokens, and under what conditions optional text is omitted, depend on the syntax of the substitution token and the context. The rest of the text in a rule body is literal text that is output when the rule matches the number being formatted.</p>
<p>A substitution token begins and ends with a <em>token character.</em> The token character and the context together specify a mathematical operation to be performed on the number being formatted. An optional <em>substitution descriptor </em>specifies how the value resulting from that operation is used to fill in the substitution. The position of the substitution token in the rule body specifies the location of the resultant text in the original rule text.</p>
<p>The meanings of the substitution token characters are as follows:</p>
<table  border="0" width="100%">
<tr>
<td>&gt;&gt; </td><td>in normal rule </td><td>Divide the number by the rule's divisor and format the remainder  </td></tr>
<tr>
<td></td><td>in negative-number rule </td><td>Find the absolute value of the number and format the result  </td></tr>
<tr>
<td></td><td>in fraction or master rule </td><td>Isolate the number's fractional part and format it.  </td></tr>
<tr>
<td></td><td>in rule in fraction rule set </td><td>Not allowed.  </td></tr>
<tr>
<td>&gt;&gt;&gt; </td><td>in normal rule </td><td>Divide the number by the rule's divisor and format the remainder, but bypass the normal rule-selection process and just use the rule that precedes this one in this rule list.  </td></tr>
<tr>
<td></td><td>in all other rules </td><td>Not allowed.  </td></tr>
<tr>
<td>&lt;&lt; </td><td>in normal rule </td><td>Divide the number by the rule's divisor and format the quotient  </td></tr>
<tr>
<td></td><td>in negative-number rule </td><td>Not allowed.  </td></tr>
<tr>
<td></td><td>in fraction or master rule </td><td>Isolate the number's integral part and format it.  </td></tr>
<tr>
<td></td><td>in rule in fraction rule set </td><td>Multiply the number by the rule's base value and format the result.  </td></tr>
<tr>
<td>== </td><td>in all rule sets </td><td><a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> the number unchanged  </td></tr>
<tr>
<td>[] </td><td>in normal rule </td><td>Omit the optional text if the number is an even multiple of the rule's divisor  </td></tr>
<tr>
<td></td><td>in negative-number rule </td><td>Not allowed.  </td></tr>
<tr>
<td></td><td>in improper-fraction rule </td><td>Omit the optional text if the number is between 0 and 1 (same as specifying both an x.x rule and a 0.x rule)  </td></tr>
<tr>
<td></td><td>in master rule </td><td>Omit the optional text if the number is an integer (same as specifying both an x.x rule and an x.0 rule)  </td></tr>
<tr>
<td></td><td>in proper-fraction rule </td><td>Not allowed.  </td></tr>
<tr>
<td></td><td>in rule in fraction rule set </td><td>Omit the optional text if multiplying the number by the rule's base value yields 1.  </td></tr>
</table>
<p>The substitution descriptor (i.e., the text between the token characters) may take one of three forms:</p>
<table  border="0" width="100%">
<tr>
<td>a rule set name </td><td>Perform the mathematical operation on the number, and format the result using the named rule set.  </td></tr>
<tr>
<td>a <a class="el" href="classDecimalFormat.html" title="DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers. ">DecimalFormat</a> pattern </td><td>Perform the mathematical operation on the number, and format the result using a <a class="el" href="classDecimalFormat.html" title="DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers. ">DecimalFormat</a> with the specified pattern.&#160; The pattern must begin with 0 or #.  </td></tr>
<tr>
<td>nothing </td><td>Perform the mathematical operation on the number, and format the result using the rule set containing the current rule, except: <ul>
<li>
You can't have an empty substitution descriptor with a == substitution. </li>
<li>
If you omit the substitution descriptor in a &gt;&gt; substitution in a fraction rule, format the result one digit at a time using the rule set containing the current rule. </li>
<li>
If you omit the substitution descriptor in a &lt;&lt; substitution in a rule in a fraction rule set, format the result using the default rule set for this formatter. </li>
</ul>
</td></tr>
</table>
<p>Whitespace is ignored between a rule set name and a rule set body, between a rule descriptor and a rule body, or between rules. If a rule body begins with an apostrophe, the apostrophe is ignored, but all text after it becomes significant (this is how you can have a rule's rule text begin with whitespace). There is no escape function: the semicolon is not allowed in rule set names or in rule text, and the colon is not allowed in rule set names. The characters beginning a substitution token are always treated as the beginning of a substitution token.</p>
<p>See the resource data and the demo program for annotated examples of real rule sets using these features.</p>
<p><em>User subclasses are not supported.</em> While clients may write subclasses, such code will not necessarily work and will not be guaranteed to work stably from release to release.</p>
<p><b>Localizations</b></p>
<p>Constructors are available that allow the specification of localizations for the public rule sets (and also allow more control over what public rule sets are available). Localization data is represented as a textual description. The description represents an array of arrays of string. The first element is an array of the public rule set names, each of these must be one of the public rule set names that appear in the rules. Only names in this array will be treated as public rule set names by the API. Each subsequent element is an array of localizations of these names. The first element of one of these subarrays is the locale name, and the remaining elements are localizations of the public rule set names, in the same order as they were listed in the first arrray.</p>
<p>In the syntax, angle brackets '&lt;', '&gt;' are used to delimit the arrays, and comma ',' is used to separate elements of an array. Whitespace is ignored, unless quoted.</p>
<p>For example:</p>
<pre>
&lt; &lt; foo, bar, baz &gt;, 
  &lt; en, Foo, Bar, Baz &gt;, 
  &lt; fr, 'le Foo', 'le Bar', 'le Baz' &gt; 
  &lt; zh, \u7532, \u4e59, \u4e19 &gt; &gt;
</pre><dl class="section author"><dt>Author</dt><dd>Richard Gillam </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classNumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a> </dd>
<dd>
<a class="el" href="classDecimalFormat.html" title="DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers. ">DecimalFormat</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002672">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="rbnf_8h_source.html#l00502">502</a> of file <a class="el" href="rbnf_8h_source.html">rbnf.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a8f0d0ad50098c80905c0a73956fcbf0a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">RuleBasedNumberFormat::RuleBasedNumberFormat </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>rules</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structUParseError.html">UParseError</a> &amp;&#160;</td>
          <td class="paramname"><em>perror</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a <a class="el" href="classRuleBasedNumberFormat.html" title="The RuleBasedNumberFormat class formats numbers according to a set of rules. ">RuleBasedNumberFormat</a> that behaves according to the description passed in. </p>
<p>The formatter uses the default locale. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rules</td><td>A description of the formatter's desired behavior. See the class documentation for a complete explanation of the description syntax. </td></tr>
    <tr><td class="paramname">perror</td><td>The parse error if an error was encountered. </td></tr>
    <tr><td class="paramname">status</td><td>The status indicating whether the constructor succeeded. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002673">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a0d744ac818c48f05cf3c997307ca49ec"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">RuleBasedNumberFormat::RuleBasedNumberFormat </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>rules</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>localizations</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structUParseError.html">UParseError</a> &amp;&#160;</td>
          <td class="paramname"><em>perror</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a <a class="el" href="classRuleBasedNumberFormat.html" title="The RuleBasedNumberFormat class formats numbers according to a set of rules. ">RuleBasedNumberFormat</a> that behaves according to the description passed in. </p>
<p>The formatter uses the default locale. </p>
<p>The localizations data provides information about the public rule sets and their localized display names for different locales. The first element in the list is an array of the names of the public rule sets. The first element in this array is the initial default ruleset. The remaining elements in the list are arrays of localizations of the names of the public rule sets. Each of these is one longer than the initial array, with the first String being the ULocale ID, and the remaining Strings being the localizations of the rule set names, in the same order as the initial array. Arrays are NULL-terminated. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rules</td><td>A description of the formatter's desired behavior. See the class documentation for a complete explanation of the description syntax. </td></tr>
    <tr><td class="paramname">localizations</td><td>the localization information. names in the description. These will be copied by the constructor. </td></tr>
    <tr><td class="paramname">perror</td><td>The parse error if an error was encountered. </td></tr>
    <tr><td class="paramname">status</td><td>The status indicating whether the constructor succeeded. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002674">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a3e623e929757c2b08d45753e91e30ebc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">RuleBasedNumberFormat::RuleBasedNumberFormat </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>rules</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classLocale.html">Locale</a> &amp;&#160;</td>
          <td class="paramname"><em>locale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structUParseError.html">UParseError</a> &amp;&#160;</td>
          <td class="paramname"><em>perror</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a <a class="el" href="classRuleBasedNumberFormat.html" title="The RuleBasedNumberFormat class formats numbers according to a set of rules. ">RuleBasedNumberFormat</a> that behaves according to the rules passed in. </p>
<p>The formatter uses the specified locale to determine the characters to use when formatting numerals, and to define equivalences for lenient parsing. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rules</td><td>The formatter rules. See the class documentation for a complete explanation of the rule syntax. </td></tr>
    <tr><td class="paramname">locale</td><td>A locale that governs which characters are used for formatting values in numerals and which characters are equivalent in lenient parsing. </td></tr>
    <tr><td class="paramname">perror</td><td>The parse error if an error was encountered. </td></tr>
    <tr><td class="paramname">status</td><td>The status indicating whether the constructor succeeded. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002675">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a7dadd148dad700a933592dbfd86d780e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">RuleBasedNumberFormat::RuleBasedNumberFormat </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>rules</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>localizations</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classLocale.html">Locale</a> &amp;&#160;</td>
          <td class="paramname"><em>locale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structUParseError.html">UParseError</a> &amp;&#160;</td>
          <td class="paramname"><em>perror</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a <a class="el" href="classRuleBasedNumberFormat.html" title="The RuleBasedNumberFormat class formats numbers according to a set of rules. ">RuleBasedNumberFormat</a> that behaves according to the description passed in. </p>
<p>The formatter uses the default locale. </p>
<p>The localizations data provides information about the public rule sets and their localized display names for different locales. The first element in the list is an array of the names of the public rule sets. The first element in this array is the initial default ruleset. The remaining elements in the list are arrays of localizations of the names of the public rule sets. Each of these is one longer than the initial array, with the first String being the ULocale ID, and the remaining Strings being the localizations of the rule set names, in the same order as the initial array. Arrays are NULL-terminated. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rules</td><td>A description of the formatter's desired behavior. See the class documentation for a complete explanation of the description syntax. </td></tr>
    <tr><td class="paramname">localizations</td><td>a list of localizations for the rule set names in the description. These will be copied by the constructor. </td></tr>
    <tr><td class="paramname">locale</td><td>A locale that governs which characters are used for formatting values in numerals and which characters are equivalent in lenient parsing. </td></tr>
    <tr><td class="paramname">perror</td><td>The parse error if an error was encountered. </td></tr>
    <tr><td class="paramname">status</td><td>The status indicating whether the constructor succeeded. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002676">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a17a665980e75dfadf93301de2e495982"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">RuleBasedNumberFormat::RuleBasedNumberFormat </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="rbnf_8h.html#a2ef7bd419418b4628b33a7270c11f68d">URBNFRuleSetTag</a>&#160;</td>
          <td class="paramname"><em>tag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classLocale.html">Locale</a> &amp;&#160;</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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a <a class="el" href="classRuleBasedNumberFormat.html" title="The RuleBasedNumberFormat class formats numbers according to a set of rules. ">RuleBasedNumberFormat</a> from a predefined ruleset. </p>
<p>The selector code choosed among three possible predefined formats: spellout, ordinal, and duration. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">tag</td><td>A selector code specifying which kind of formatter to create for that locale. There are three legal values: URBNF_SPELLOUT, which creates a formatter that spells out a value in words in the desired language, URBNF_ORDINAL, which attaches an ordinal suffix from the desired language to the end of a number (e.g. "123rd"), and URBNF_DURATION, which formats a duration in seconds as hours, minutes, and seconds. </td></tr>
    <tr><td class="paramname">locale</td><td>The locale for the formatter. </td></tr>
    <tr><td class="paramname">status</td><td>The status indicating whether the constructor succeeded. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002677">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a11252a1c12f92e65eb2c979c1bf8583b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">RuleBasedNumberFormat::RuleBasedNumberFormat </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classRuleBasedNumberFormat.html">RuleBasedNumberFormat</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copy constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rhs</td><td>the object to be copied from. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002678">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

</div>
</div>
<a class="anchor" id="ac326bb31489a5d402f1265830defff8a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual RuleBasedNumberFormat::~RuleBasedNumberFormat </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Release memory allocated for a <a class="el" href="classRuleBasedNumberFormat.html" title="The RuleBasedNumberFormat class formats numbers according to a set of rules. ">RuleBasedNumberFormat</a> when you are finished with it. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002680">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a52a2721aa01037d7e03f8c0cca6b4a77"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classFormat.html">Format</a>* RuleBasedNumberFormat::clone </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Clone this object polymorphically. </p>
<p>The caller is responsible for deleting the result when done. </p>
<dl class="section return"><dt>Returns</dt><dd>A copy of the object. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002681">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

<p>Implements <a class="el" href="classFormat.html#a4e7ebd5cfd390c35e2bda88257f8b51a">Format</a>.</p>

</div>
</div>
<a class="anchor" id="ad18c54375913d2426aae02a4328c3187"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a>&amp; RuleBasedNumberFormat::format </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>number</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>toAppendTo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classFieldPosition.html">FieldPosition</a> &amp;&#160;</td>
          <td class="paramname"><em>pos</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Formats the specified 32-bit number using the default ruleset. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">number</td><td>The number to format. </td></tr>
    <tr><td class="paramname">toAppendTo</td><td>the string that will hold the (appended) result </td></tr>
    <tr><td class="paramname">pos</td><td>the fieldposition </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A textual representation of the number. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002690">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implements <a class="el" href="classNumberFormat.html#acaaca11795df052b165e82261b7825f1">NumberFormat</a>.</p>

<p>Referenced by <a class="el" href="rbnf_8h_source.html#l01012">format()</a>.</p>

</div>
</div>
<a class="anchor" id="adf7cb11d07aac568236df549488e0b03"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a>&amp; RuleBasedNumberFormat::format </td>
          <td>(</td>
          <td class="paramtype">int64_t&#160;</td>
          <td class="paramname"><em>number</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>toAppendTo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classFieldPosition.html">FieldPosition</a> &amp;&#160;</td>
          <td class="paramname"><em>pos</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Formats the specified 64-bit number using the default ruleset. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">number</td><td>The number to format. </td></tr>
    <tr><td class="paramname">toAppendTo</td><td>the string that will hold the (appended) result </td></tr>
    <tr><td class="paramname">pos</td><td>the fieldposition </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A textual representation of the number. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002691">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl>

<p>Reimplemented from <a class="el" href="classNumberFormat.html#ac64ccd4841f822f601f2533e63e0592b">NumberFormat</a>.</p>

</div>
</div>
<a class="anchor" id="a246ec02e8f3d84efc98f449f84ace6ab"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a>&amp; RuleBasedNumberFormat::format </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>number</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>toAppendTo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classFieldPosition.html">FieldPosition</a> &amp;&#160;</td>
          <td class="paramname"><em>pos</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Formats the specified number using the default ruleset. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">number</td><td>The number to format. </td></tr>
    <tr><td class="paramname">toAppendTo</td><td>the string that will hold the (appended) result </td></tr>
    <tr><td class="paramname">pos</td><td>the fieldposition </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A textual representation of the number. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002692">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implements <a class="el" href="classNumberFormat.html#a7078d52baaa94ddf6e0680a4bc2f542a">NumberFormat</a>.</p>

</div>
</div>
<a class="anchor" id="abe88e5ebd3a774349d6f5e08b033f829"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a>&amp; RuleBasedNumberFormat::format </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>number</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>ruleSetName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>toAppendTo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classFieldPosition.html">FieldPosition</a> &amp;&#160;</td>
          <td class="paramname"><em>pos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Formats the specified number using the named ruleset. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">number</td><td>The number to format. </td></tr>
    <tr><td class="paramname">ruleSetName</td><td>The name of the rule set to format the number with. This must be the name of a valid public rule set for this formatter. </td></tr>
    <tr><td class="paramname">toAppendTo</td><td>the string that will hold the (appended) result </td></tr>
    <tr><td class="paramname">pos</td><td>the fieldposition </td></tr>
    <tr><td class="paramname">status</td><td>the status </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A textual representation of the number. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002693">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a9fe3e6f8f9a2c402e5d201d27db69de7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a>&amp; RuleBasedNumberFormat::format </td>
          <td>(</td>
          <td class="paramtype">int64_t&#160;</td>
          <td class="paramname"><em>number</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>ruleSetName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>toAppendTo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classFieldPosition.html">FieldPosition</a> &amp;&#160;</td>
          <td class="paramname"><em>pos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Formats the specified 64-bit number using the named ruleset. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">number</td><td>The number to format. </td></tr>
    <tr><td class="paramname">ruleSetName</td><td>The name of the rule set to format the number with. This must be the name of a valid public rule set for this formatter. </td></tr>
    <tr><td class="paramname">toAppendTo</td><td>the string that will hold the (appended) result </td></tr>
    <tr><td class="paramname">pos</td><td>the fieldposition </td></tr>
    <tr><td class="paramname">status</td><td>the status </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A textual representation of the number. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002694">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl>

</div>
</div>
<a class="anchor" id="ac7eeb9cc017a8fe4516d15af3403bbdd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a>&amp; RuleBasedNumberFormat::format </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>number</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>ruleSetName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>toAppendTo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classFieldPosition.html">FieldPosition</a> &amp;&#160;</td>
          <td class="paramname"><em>pos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Formats the specified number using the named ruleset. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">number</td><td>The number to format. </td></tr>
    <tr><td class="paramname">ruleSetName</td><td>The name of the rule set to format the number with. This must be the name of a valid public rule set for this formatter. </td></tr>
    <tr><td class="paramname">toAppendTo</td><td>the string that will hold the (appended) result </td></tr>
    <tr><td class="paramname">pos</td><td>the fieldposition </td></tr>
    <tr><td class="paramname">status</td><td>the status </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A textual representation of the number. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002695">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a640cf2259d20cc8f03736f6fe0d18d1b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a>&amp; RuleBasedNumberFormat::format </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classFormattable.html">Formattable</a> &amp;&#160;</td>
          <td class="paramname"><em>obj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>toAppendTo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classFieldPosition.html">FieldPosition</a> &amp;&#160;</td>
          <td class="paramname"><em>pos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Formats the specified number using the default ruleset. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">obj</td><td>The number to format. </td></tr>
    <tr><td class="paramname">toAppendTo</td><td>the string that will hold the (appended) result </td></tr>
    <tr><td class="paramname">pos</td><td>the fieldposition </td></tr>
    <tr><td class="paramname">status</td><td>the status </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A textual representation of the number. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002696">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Reimplemented from <a class="el" href="classNumberFormat.html#a53e27d424735198566d90eb30401ec36">NumberFormat</a>.</p>

</div>
</div>
<a class="anchor" id="ae97cffb5bc4fca4e5f7d89b41a333983"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp; RuleBasedNumberFormat::format </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classFormattable.html">Formattable</a> &amp;&#160;</td>
          <td class="paramname"><em>obj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Redeclared <a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> method. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">obj</td><td>the object to be formatted. </td></tr>
    <tr><td class="paramname">result</td><td>Output param which will receive the formatted string. </td></tr>
    <tr><td class="paramname">status</td><td>Output param set to success/failure code </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to 'result'. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002697">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="rbnf_8h_source.html#l00999">999</a> of file <a class="el" href="rbnf_8h_source.html">rbnf.h</a>.</p>

<p>References <a class="el" href="classNumberFormat.html#a53e27d424735198566d90eb30401ec36">NumberFormat::format()</a>.</p>

</div>
</div>
<a class="anchor" id="afe15fa9d2566bb4339e105f59f64f974"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp; RuleBasedNumberFormat::format </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>number</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>output</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Redeclared <a class="el" href="classNumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a> method. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">number</td><td>the double value to be formatted. </td></tr>
    <tr><td class="paramname">output</td><td>Output param which will receive the formatted string. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to 'output'. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002698">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="rbnf_8h_source.html#l01012">1012</a> of file <a class="el" href="rbnf_8h_source.html">rbnf.h</a>.</p>

<p>References <a class="el" href="classRuleBasedNumberFormat.html#ad18c54375913d2426aae02a4328c3187">format()</a>.</p>

</div>
</div>
<a class="anchor" id="a920e08de6b0aca3f83b1e6c35dff9ad9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp; RuleBasedNumberFormat::format </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>number</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>output</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Redeclared <a class="el" href="classNumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a> method. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">number</td><td>the long value to be formatted. </td></tr>
    <tr><td class="paramname">output</td><td>Output param which will receive the formatted string. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to 'output'. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002699">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="rbnf_8h_source.html#l01018">1018</a> of file <a class="el" href="rbnf_8h_source.html">rbnf.h</a>.</p>

<p>References <a class="el" href="classRuleBasedNumberFormat.html#ad18c54375913d2426aae02a4328c3187">format()</a>.</p>

</div>
</div>
<a class="anchor" id="a90b944154fdce68e4f48a2393d5d70fb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a> RuleBasedNumberFormat::getDefaultRuleSetName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the name of the current default rule set. </p>
<p>If the current rule set is not public, returns a bogus (and empty) <a class="el" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>. </p>
<dl class="section return"><dt>Returns</dt><dd>the name of the current default rule set </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002705">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div>
<a class="anchor" id="aa570fa8ffe7f29c9d6d7ab4b3303fa2a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> RuleBasedNumberFormat::getDynamicClassID </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>ICU "poor man's RTTI", returns a UClassID for the actual class. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002707">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

<p>Implements <a class="el" href="classNumberFormat.html#a63c193a4db6a1552073bf069d5d31749">NumberFormat</a>.</p>

</div>
</div>
<a class="anchor" id="a435092a093791b2ca2095888343b82cf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t RuleBasedNumberFormat::getNumberOfRuleSetDisplayNameLocales </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the number of locales for which we have localized rule set display names. </p>
<dl class="section return"><dt>Returns</dt><dd>the number of locales for which we have localized rule set display names. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002686">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a73d67c85b5bed8429b455aae19a38bbe"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t RuleBasedNumberFormat::getNumberOfRuleSetNames </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the number of public rule set names. </p>
<dl class="section return"><dt>Returns</dt><dd>the number of public rule set names. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002684">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="afe23d122acc869aa9d952ad12b9073cf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a> RuleBasedNumberFormat::getRules </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>return the rules that were provided to the <a class="el" href="classRuleBasedNumberFormat.html" title="The RuleBasedNumberFormat class formats numbers according to a set of rules. ">RuleBasedNumberFormat</a>. </p>
<dl class="section return"><dt>Returns</dt><dd>the result String that was passed in </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002683">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a38b1b89d3515d55b1cc912ea2b4400ec"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a> RuleBasedNumberFormat::getRuleSetDisplayName </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classLocale.html">Locale</a> &amp;&#160;</td>
          <td class="paramname"><em>locale</em> = <code><a class="el" href="classLocale.html#ac12d6326f2d283f5643f6b6caacfe88c">Locale::getDefault</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the rule set display names for the provided locale. </p>
<p>These are in the same order as those returned by getRuleSetName. The locale is matched against the locales for which there is display name data, using normal fallback rules. If no locale matches, the default display names are returned. (These are the internal rule set names minus the leading ''.) </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>the index of the rule set </td></tr>
    <tr><td class="paramname">locale</td><td>the locale (returned by getRuleSetDisplayNameLocales) for which the localized display name is desired </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the display name for the given index, which might be bogus if there is an error </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classRuleBasedNumberFormat.html#a09ddadc168c5c8d37fb2b0685acedba3" title="Return the name of the index&#39;th public ruleSet. ">getRuleSetName</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002688">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

</div>
</div>
<a class="anchor" id="ae4ab9929c10007152a32af73f89cf3c2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a> RuleBasedNumberFormat::getRuleSetDisplayName </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>ruleSetName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classLocale.html">Locale</a> &amp;&#160;</td>
          <td class="paramname"><em>locale</em> = <code><a class="el" href="classLocale.html#ac12d6326f2d283f5643f6b6caacfe88c">Locale::getDefault</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the rule set display name for the provided rule set and locale. </p>
<p>The locale is matched against the locales for which there is display name data, using normal fallback rules. If no locale matches, the default display name is returned. </p>
<dl class="section return"><dt>Returns</dt><dd>the display name for the rule set </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002689">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classRuleBasedNumberFormat.html#a38b1b89d3515d55b1cc912ea2b4400ec" title="Return the rule set display names for the provided locale. ">getRuleSetDisplayName</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a1eba080384a030c748d1af5babb65e09"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classLocale.html">Locale</a> RuleBasedNumberFormat::getRuleSetDisplayNameLocale </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the index'th display name locale. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>the index of the locale </td></tr>
    <tr><td class="paramname">status</td><td>set to a failure code when this function fails </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the locale </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classRuleBasedNumberFormat.html#a435092a093791b2ca2095888343b82cf" title="Return the number of locales for which we have localized rule set display names. ">getNumberOfRuleSetDisplayNameLocales</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002687">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a09ddadc168c5c8d37fb2b0685acedba3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a> RuleBasedNumberFormat::getRuleSetName </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the name of the index'th public ruleSet. </p>
<p>If index is not valid, the function returns null. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>the index of the ruleset </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the name of the index'th public ruleSet. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002685">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a3f59d38e1adfa24dd9b33b1996c018b8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> RuleBasedNumberFormat::getStaticClassID </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

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

</div>
</div>
<a class="anchor" id="a15b474bf4a11e7d1df7164f9b9a7df90"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> RuleBasedNumberFormat::isLenient </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns true if lenient-parse mode is turned on. </p>
<p>Lenient parsing is off by default. </p>
<dl class="section return"><dt>Returns</dt><dd>true if lenient-parse mode is turned on. </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classRuleBasedNumberFormat.html#aa3c9501c62b8f9b629225f5a0d63c214" title="Turns lenient parse mode on and off. ">setLenient</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002703">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="rbnf_8h_source.html#l01032">1032</a> of file <a class="el" href="rbnf_8h_source.html">rbnf.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae492ee51caf11c6244a9ca9b6ddaecda"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classRuleBasedNumberFormat.html">RuleBasedNumberFormat</a>&amp; RuleBasedNumberFormat::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classRuleBasedNumberFormat.html">RuleBasedNumberFormat</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Assignment operator. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rhs</td><td>the object to be copied from. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002679">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a2068e1cbee7eb25feaecb6c160a958a1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> RuleBasedNumberFormat::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classFormat.html">Format</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return true if the given <a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> objects are semantically equal. </p>
<p>Objects of different subclasses are considered unequal. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">other</td><td>the object to be compared with. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the given <a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> objects are semantically equal. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002682">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

<p>Reimplemented from <a class="el" href="classNumberFormat.html#a97f4f81efd4747024deaf88ceb4d80a3">NumberFormat</a>.</p>

</div>
</div>
<a class="anchor" id="a16c9b8e02cf8bb2f5c5d122143dbeb60"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> RuleBasedNumberFormat::parse </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classFormattable.html">Formattable</a> &amp;&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classParsePosition.html">ParsePosition</a> &amp;&#160;</td>
          <td class="paramname"><em>parsePosition</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Parses the specfied string, beginning at the specified position, according to this formatter's rules. </p>
<p>This will match the string against all of the formatter's public rule sets and return the value corresponding to the longest parseable substring. This function's behavior is affected by the lenient parse mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">text</td><td>The string to parse </td></tr>
    <tr><td class="paramname">result</td><td>the result of the parse, either a double or a long. </td></tr>
    <tr><td class="paramname">parsePosition</td><td>On entry, contains the position of the first character in "text" to examine. On exit, has been updated to contain the position of the first character in "text" that wasn't consumed by the parse. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classRuleBasedNumberFormat.html#aa3c9501c62b8f9b629225f5a0d63c214" title="Turns lenient parse mode on and off. ">setLenient</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002700">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implements <a class="el" href="classNumberFormat.html#ab2c59c0b036a413b6735c6d50b88ae25">NumberFormat</a>.</p>

</div>
</div>
<a class="anchor" id="a90cc5cec4399cea7c3f1e600ca800ebb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> RuleBasedNumberFormat::parse </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classFormattable.html">Formattable</a> &amp;&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Redeclared <a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> method. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">text</td><td>The string to parse </td></tr>
    <tr><td class="paramname">result</td><td>the result of the parse, either a double or a long. </td></tr>
    <tr><td class="paramname">status</td><td>Output param set to failure code when a problem occurs. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002701">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Reimplemented from <a class="el" href="classNumberFormat.html#a01ac6e0a7a47b2d8e387752d1a024b29">NumberFormat</a>.</p>

<p>Definition at line <a class="el" href="rbnf_8h_source.html#l01024">1024</a> of file <a class="el" href="rbnf_8h_source.html">rbnf.h</a>.</p>

<p>References <a class="el" href="classNumberFormat.html#ab2c59c0b036a413b6735c6d50b88ae25">NumberFormat::parse()</a>.</p>

</div>
</div>
<a class="anchor" id="ae80d597b9cc9fefcf37d9137e3db5cff"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> RuleBasedNumberFormat::setDefaultRuleSet </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>ruleSetName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Override the default rule set to use. </p>
<p>If ruleSetName is null, reset to the initial default rule set. If the rule set is not a public rule set name, U_ILLEGAL_ARGUMENT_ERROR is returned in status. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ruleSetName</td><td>the name of the rule set, or null to reset the initial default. </td></tr>
    <tr><td class="paramname">status</td><td>set to failure code when a problem occurs. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002704">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

</div>
</div>
<a class="anchor" id="aa3c9501c62b8f9b629225f5a0d63c214"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> RuleBasedNumberFormat::setLenient </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td>
          <td class="paramname"><em>enabled</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Turns lenient parse mode on and off. </p>
<p>When in lenient parse mode, the formatter uses a <a class="el" href="classCollator.html" title="The Collator class performs locale-sensitive string comparison. ">Collator</a> for parsing the text. Only primary differences are treated as significant. This means that case differences, accent differences, alternate spellings of the same letter (e.g., ae and a-umlaut in German), ignorable characters, etc. are ignored in matching the text. In many cases, numerals will be accepted in place of words or phrases as well.</p>
<p>For example, all of the following will correctly parse as 255 in English in lenient-parse mode: <br/>
"two hundred fifty-five" <br/>
"two hundred fifty five" <br/>
"TWO HUNDRED FIFTY-FIVE" <br/>
"twohundredfiftyfive" <br/>
"2 hundred fifty-5"</p>
<p>The <a class="el" href="classCollator.html" title="The Collator class performs locale-sensitive string comparison. ">Collator</a> used is determined by the locale that was passed to this object on construction. The description passed to this object on construction may supply additional collation rules that are appended to the end of the default collator for the locale, enabling additional equivalences (such as adding more ignorable characters or permitting spelled-out version of symbols; see the demo program for examples).</p>
<p>It's important to emphasize that even strict parsing is relatively lenient: it will accept some text that it won't produce as output. In English, for example, it will correctly parse "two hundred zero" and "fifteen hundred".</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">enabled</td><td>If true, turns lenient-parse mode on; if false, turns it off. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classRuleBasedCollator.html" title="The RuleBasedCollator class provides the simple implementation of Collator, using data-driven tables...">RuleBasedCollator</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002702">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="rbnf_8h_source.html">rbnf.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit