403Webshell
Server IP : 103.119.228.120  /  Your IP : 3.133.123.162
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/classRuleBasedCollator.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: RuleBasedCollator 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="#pro-methods">Protected Member Functions</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">RuleBasedCollator Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>The <a class="el" href="classRuleBasedCollator.html" title="The RuleBasedCollator class provides the simple implementation of Collator, using data-driven tables...">RuleBasedCollator</a> class provides the simple implementation of <a class="el" href="classCollator.html" title="The Collator class performs locale-sensitive string comparison. ">Collator</a>, using data-driven tables.  
 <a href="classRuleBasedCollator.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="tblcoll_8h_source.html">tblcoll.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for RuleBasedCollator:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classRuleBasedCollator.png" usemap="#RuleBasedCollator_map" alt=""/>
  <map id="RuleBasedCollator_map" name="RuleBasedCollator_map">
<area href="classCollator.html" title="The Collator class performs locale-sensitive string comparison. " alt="Collator" shape="rect" coords="0,112,116,136"/>
<area href="classUObject.html" title="UObject is the common ICU &quot;boilerplate&quot; class. " alt="UObject" shape="rect" coords="0,56,116,80"/>
<area href="classUMemory.html" title="UMemory is the common ICU base class. " alt="UMemory" shape="rect" coords="0,0,116,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:a685723bd1b8a2df19350e5d8dce24c82"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#a685723bd1b8a2df19350e5d8dce24c82">RuleBasedCollator</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;rules, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a685723bd1b8a2df19350e5d8dce24c82"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classRuleBasedCollator.html" title="The RuleBasedCollator class provides the simple implementation of Collator, using data-driven tables...">RuleBasedCollator</a> constructor.  <a href="#a685723bd1b8a2df19350e5d8dce24c82">More...</a><br/></td></tr>
<tr class="separator:a685723bd1b8a2df19350e5d8dce24c82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acef0c60403fc780975d265cc6d52e3db"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#acef0c60403fc780975d265cc6d52e3db">RuleBasedCollator</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;rules, <a class="el" href="classCollator.html#a2872c36ad74fc1100331783afe6b38d5">ECollationStrength</a> collationStrength, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:acef0c60403fc780975d265cc6d52e3db"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classRuleBasedCollator.html" title="The RuleBasedCollator class provides the simple implementation of Collator, using data-driven tables...">RuleBasedCollator</a> constructor.  <a href="#acef0c60403fc780975d265cc6d52e3db">More...</a><br/></td></tr>
<tr class="separator:acef0c60403fc780975d265cc6d52e3db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaae0055ec92464409909fbdd0c7ac589"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#aaae0055ec92464409909fbdd0c7ac589">RuleBasedCollator</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;rules, <a class="el" href="ucol_8h.html#acc801048729e684bcabed328be85f77a">UColAttributeValue</a> decompositionMode, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:aaae0055ec92464409909fbdd0c7ac589"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classRuleBasedCollator.html" title="The RuleBasedCollator class provides the simple implementation of Collator, using data-driven tables...">RuleBasedCollator</a> constructor.  <a href="#aaae0055ec92464409909fbdd0c7ac589">More...</a><br/></td></tr>
<tr class="separator:aaae0055ec92464409909fbdd0c7ac589"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab22f30328e5abbb779b0a7c03b01e09a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#ab22f30328e5abbb779b0a7c03b01e09a">RuleBasedCollator</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;rules, <a class="el" href="classCollator.html#a2872c36ad74fc1100331783afe6b38d5">ECollationStrength</a> collationStrength, <a class="el" href="ucol_8h.html#acc801048729e684bcabed328be85f77a">UColAttributeValue</a> decompositionMode, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:ab22f30328e5abbb779b0a7c03b01e09a"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classRuleBasedCollator.html" title="The RuleBasedCollator class provides the simple implementation of Collator, using data-driven tables...">RuleBasedCollator</a> constructor.  <a href="#ab22f30328e5abbb779b0a7c03b01e09a">More...</a><br/></td></tr>
<tr class="separator:ab22f30328e5abbb779b0a7c03b01e09a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b002ad7d57e54e1a75d9c6fc7d9c5d5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#a3b002ad7d57e54e1a75d9c6fc7d9c5d5">RuleBasedCollator</a> (const <a class="el" href="classRuleBasedCollator.html">RuleBasedCollator</a> &amp;other)</td></tr>
<tr class="memdesc:a3b002ad7d57e54e1a75d9c6fc7d9c5d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor.  <a href="#a3b002ad7d57e54e1a75d9c6fc7d9c5d5">More...</a><br/></td></tr>
<tr class="separator:a3b002ad7d57e54e1a75d9c6fc7d9c5d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8422ec09bd4b623a3bff4e09c80a28cc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#a8422ec09bd4b623a3bff4e09c80a28cc">RuleBasedCollator</a> (const uint8_t *bin, int32_t length, const <a class="el" href="classRuleBasedCollator.html">RuleBasedCollator</a> *base, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a8422ec09bd4b623a3bff4e09c80a28cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Opens a collator from a collator binary image created using cloneBinary.  <a href="#a8422ec09bd4b623a3bff4e09c80a28cc">More...</a><br/></td></tr>
<tr class="separator:a8422ec09bd4b623a3bff4e09c80a28cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a080eeab83d1864d481fb45c6b82a59"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#a2a080eeab83d1864d481fb45c6b82a59">~RuleBasedCollator</a> ()</td></tr>
<tr class="memdesc:a2a080eeab83d1864d481fb45c6b82a59"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#a2a080eeab83d1864d481fb45c6b82a59">More...</a><br/></td></tr>
<tr class="separator:a2a080eeab83d1864d481fb45c6b82a59"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45ad21c50ac6d159d119d2c3a6dcd425"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRuleBasedCollator.html">RuleBasedCollator</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#a45ad21c50ac6d159d119d2c3a6dcd425">operator=</a> (const <a class="el" href="classRuleBasedCollator.html">RuleBasedCollator</a> &amp;other)</td></tr>
<tr class="memdesc:a45ad21c50ac6d159d119d2c3a6dcd425"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator.  <a href="#a45ad21c50ac6d159d119d2c3a6dcd425">More...</a><br/></td></tr>
<tr class="separator:a45ad21c50ac6d159d119d2c3a6dcd425"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7cfc8bb7eff90714b83db01091e9d9a1"><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="classRuleBasedCollator.html#a7cfc8bb7eff90714b83db01091e9d9a1">operator==</a> (const <a class="el" href="classCollator.html">Collator</a> &amp;other) const </td></tr>
<tr class="memdesc:a7cfc8bb7eff90714b83db01091e9d9a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if argument is the same as this object.  <a href="#a7cfc8bb7eff90714b83db01091e9d9a1">More...</a><br/></td></tr>
<tr class="separator:a7cfc8bb7eff90714b83db01091e9d9a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87cb492d16807f67f7ff1cf384a2587b"><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="classRuleBasedCollator.html#a87cb492d16807f67f7ff1cf384a2587b">operator!=</a> (const <a class="el" href="classCollator.html">Collator</a> &amp;other) const </td></tr>
<tr class="memdesc:a87cb492d16807f67f7ff1cf384a2587b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if argument is not the same as this object.  <a href="#a87cb492d16807f67f7ff1cf384a2587b">More...</a><br/></td></tr>
<tr class="separator:a87cb492d16807f67f7ff1cf384a2587b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc3925de9f5b4b8c58192721cbb5bc57"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classCollator.html">Collator</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#afc3925de9f5b4b8c58192721cbb5bc57">clone</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr>
<tr class="memdesc:afc3925de9f5b4b8c58192721cbb5bc57"><td class="mdescLeft">&#160;</td><td class="mdescRight">Makes a deep copy of the object.  <a href="#afc3925de9f5b4b8c58192721cbb5bc57">More...</a><br/></td></tr>
<tr class="separator:afc3925de9f5b4b8c58192721cbb5bc57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa00694d6f6463f3f21566ce173462fb6"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classCollationElementIterator.html">CollationElementIterator</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#aa00694d6f6463f3f21566ce173462fb6">createCollationElementIterator</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;source) const </td></tr>
<tr class="memdesc:aa00694d6f6463f3f21566ce173462fb6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a collation element iterator for the source string.  <a href="#aa00694d6f6463f3f21566ce173462fb6">More...</a><br/></td></tr>
<tr class="separator:aa00694d6f6463f3f21566ce173462fb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07d693b537314e91abadff6fd712945e"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classCollationElementIterator.html">CollationElementIterator</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#a07d693b537314e91abadff6fd712945e">createCollationElementIterator</a> (const <a class="el" href="classCharacterIterator.html">CharacterIterator</a> &amp;source) const </td></tr>
<tr class="memdesc:a07d693b537314e91abadff6fd712945e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a collation element iterator for the source.  <a href="#a07d693b537314e91abadff6fd712945e">More...</a><br/></td></tr>
<tr class="separator:a07d693b537314e91abadff6fd712945e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49b2017fd4861a6361e6b568d887adc2"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classCollator.html#a05f22f81363f2613bea18a632b67686f">EComparisonResult</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#a49b2017fd4861a6361e6b568d887adc2">compare</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;source, const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;target) const </td></tr>
<tr class="memdesc:a49b2017fd4861a6361e6b568d887adc2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compares a range of character data stored in two different strings based on the collation rules.  <a href="#a49b2017fd4861a6361e6b568d887adc2">More...</a><br/></td></tr>
<tr class="separator:a49b2017fd4861a6361e6b568d887adc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab011371ceb1f45df5de1a458d7612aa8"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucol_8h.html#a8b4e71db8109af87f84ac1576e2b245d">UCollationResult</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#ab011371ceb1f45df5de1a458d7612aa8">compare</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;source, const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;target, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:ab011371ceb1f45df5de1a458d7612aa8"><td class="mdescLeft">&#160;</td><td class="mdescRight">The comparison function compares the character data stored in two different strings.  <a href="#ab011371ceb1f45df5de1a458d7612aa8">More...</a><br/></td></tr>
<tr class="separator:ab011371ceb1f45df5de1a458d7612aa8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b7b66b3376e53e186cbf5f60fa4505d"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classCollator.html#a05f22f81363f2613bea18a632b67686f">EComparisonResult</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#a1b7b66b3376e53e186cbf5f60fa4505d">compare</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;source, const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;target, int32_t length) const </td></tr>
<tr class="memdesc:a1b7b66b3376e53e186cbf5f60fa4505d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compares a range of character data stored in two different strings based on the collation rules up to the specified length.  <a href="#a1b7b66b3376e53e186cbf5f60fa4505d">More...</a><br/></td></tr>
<tr class="separator:a1b7b66b3376e53e186cbf5f60fa4505d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acdc1ac2c3ded9364391e9b350d8b3842"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucol_8h.html#a8b4e71db8109af87f84ac1576e2b245d">UCollationResult</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#acdc1ac2c3ded9364391e9b350d8b3842">compare</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;source, const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;target, int32_t length, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:acdc1ac2c3ded9364391e9b350d8b3842"><td class="mdescLeft">&#160;</td><td class="mdescRight">Does the same thing as compare but limits the comparison to a specified length.  <a href="#acdc1ac2c3ded9364391e9b350d8b3842">More...</a><br/></td></tr>
<tr class="separator:acdc1ac2c3ded9364391e9b350d8b3842"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa93718b20d61f023bd126d5ed74ae1e0"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classCollator.html#a05f22f81363f2613bea18a632b67686f">EComparisonResult</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#aa93718b20d61f023bd126d5ed74ae1e0">compare</a> (const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *source, int32_t sourceLength, const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *target, int32_t targetLength) const </td></tr>
<tr class="memdesc:aa93718b20d61f023bd126d5ed74ae1e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">The comparison function compares the character data stored in two different string arrays.  <a href="#aa93718b20d61f023bd126d5ed74ae1e0">More...</a><br/></td></tr>
<tr class="separator:aa93718b20d61f023bd126d5ed74ae1e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d410b9e3a7a3c353ca961ffbe6f5fdb"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucol_8h.html#a8b4e71db8109af87f84ac1576e2b245d">UCollationResult</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#a6d410b9e3a7a3c353ca961ffbe6f5fdb">compare</a> (const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *source, int32_t sourceLength, const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *target, int32_t targetLength, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a6d410b9e3a7a3c353ca961ffbe6f5fdb"><td class="mdescLeft">&#160;</td><td class="mdescRight">The comparison function compares the character data stored in two different string arrays.  <a href="#a6d410b9e3a7a3c353ca961ffbe6f5fdb">More...</a><br/></td></tr>
<tr class="separator:a6d410b9e3a7a3c353ca961ffbe6f5fdb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a509690ecc2c4de4683cc226b4317174f"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classCollationKey.html">CollationKey</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#a509690ecc2c4de4683cc226b4317174f">getCollationKey</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;source, <a class="el" href="classCollationKey.html">CollationKey</a> &amp;key, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a509690ecc2c4de4683cc226b4317174f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transforms a specified region of the string into a series of characters that can be compared with CollationKey.compare.  <a href="#a509690ecc2c4de4683cc226b4317174f">More...</a><br/></td></tr>
<tr class="separator:a509690ecc2c4de4683cc226b4317174f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36b0939e2dfb7c47fef177e0eec93700"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classCollationKey.html">CollationKey</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#a36b0939e2dfb7c47fef177e0eec93700">getCollationKey</a> (const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *source, int32_t sourceLength, <a class="el" href="classCollationKey.html">CollationKey</a> &amp;key, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a36b0939e2dfb7c47fef177e0eec93700"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transforms a specified region of the string into a series of characters that can be compared with CollationKey.compare.  <a href="#a36b0939e2dfb7c47fef177e0eec93700">More...</a><br/></td></tr>
<tr class="separator:a36b0939e2dfb7c47fef177e0eec93700"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a326891c5ae3763fab6e8e00b2289a413"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#a326891c5ae3763fab6e8e00b2289a413">hashCode</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr>
<tr class="memdesc:a326891c5ae3763fab6e8e00b2289a413"><td class="mdescLeft">&#160;</td><td class="mdescRight">Generates the hash code for the rule-based collation object.  <a href="#a326891c5ae3763fab6e8e00b2289a413">More...</a><br/></td></tr>
<tr class="separator:a326891c5ae3763fab6e8e00b2289a413"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97cbec9ebe971ca9de1795e1dc3d63b0"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="classLocale.html">Locale</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#a97cbec9ebe971ca9de1795e1dc3d63b0">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:a97cbec9ebe971ca9de1795e1dc3d63b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the locale of the <a class="el" href="classCollator.html" title="The Collator class performs locale-sensitive string comparison. ">Collator</a>.  <a href="#a97cbec9ebe971ca9de1795e1dc3d63b0">More...</a><br/></td></tr>
<tr class="separator:a97cbec9ebe971ca9de1795e1dc3d63b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88b7cf04ca345ea2b17199905b869ccd"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#a88b7cf04ca345ea2b17199905b869ccd">getRules</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr>
<tr class="memdesc:a88b7cf04ca345ea2b17199905b869ccd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the table-based rules for the collation object.  <a href="#a88b7cf04ca345ea2b17199905b869ccd">More...</a><br/></td></tr>
<tr class="separator:a88b7cf04ca345ea2b17199905b869ccd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a849f680b92692a38715b6b9fb67be7cf"><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="classRuleBasedCollator.html#a849f680b92692a38715b6b9fb67be7cf">getVersion</a> (<a class="el" href="uversion_8h.html#a61caef96ba86d8e86a4031925ea44e94">UVersionInfo</a> info) const </td></tr>
<tr class="memdesc:a849f680b92692a38715b6b9fb67be7cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the version information for a <a class="el" href="classCollator.html" title="The Collator class performs locale-sensitive string comparison. ">Collator</a>.  <a href="#a849f680b92692a38715b6b9fb67be7cf">More...</a><br/></td></tr>
<tr class="separator:a849f680b92692a38715b6b9fb67be7cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86128484ed00d48e3b646c2f63cdafe6"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#a86128484ed00d48e3b646c2f63cdafe6">getMaxExpansion</a> (int32_t order) const </td></tr>
<tr class="memdesc:a86128484ed00d48e3b646c2f63cdafe6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the maximum length of any expansion sequences that end with the specified comparison order.  <a href="#a86128484ed00d48e3b646c2f63cdafe6">More...</a><br/></td></tr>
<tr class="separator:a86128484ed00d48e3b646c2f63cdafe6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a475f2ae0796fc004c76c10d30b991ca5"><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="classRuleBasedCollator.html#a475f2ae0796fc004c76c10d30b991ca5">getDynamicClassID</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr>
<tr class="memdesc:a475f2ae0796fc004c76c10d30b991ca5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a unique class ID POLYMORPHICALLY.  <a href="#a475f2ae0796fc004c76c10d30b991ca5">More...</a><br/></td></tr>
<tr class="separator:a475f2ae0796fc004c76c10d30b991ca5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76f0c6651087f795e934ecba2357be36"><td class="memItemLeft" align="right" valign="top">uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#a76f0c6651087f795e934ecba2357be36">cloneRuleData</a> (int32_t &amp;length, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a76f0c6651087f795e934ecba2357be36"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the binary format of the class's rules.  <a href="#a76f0c6651087f795e934ecba2357be36">More...</a><br/></td></tr>
<tr class="separator:a76f0c6651087f795e934ecba2357be36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4471befc42bf436cb771cef6b184ab7"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#ab4471befc42bf436cb771cef6b184ab7">cloneBinary</a> (uint8_t *buffer, int32_t capacity, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:ab4471befc42bf436cb771cef6b184ab7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a binary image of a collator.  <a href="#ab4471befc42bf436cb771cef6b184ab7">More...</a><br/></td></tr>
<tr class="separator:ab4471befc42bf436cb771cef6b184ab7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49272a769d004665e981226e34859154"><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="classRuleBasedCollator.html#a49272a769d004665e981226e34859154">getRules</a> (<a class="el" href="ucol_8h.html#a46363290036b8dffd6862c35e7b5872f">UColRuleOption</a> delta, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;buffer)</td></tr>
<tr class="memdesc:a49272a769d004665e981226e34859154"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns current rules.  <a href="#a49272a769d004665e981226e34859154">More...</a><br/></td></tr>
<tr class="separator:a49272a769d004665e981226e34859154"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1817cbafe92cd3184d8712a8b72d746"><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="classRuleBasedCollator.html#ac1817cbafe92cd3184d8712a8b72d746">setAttribute</a> (<a class="el" href="ucol_8h.html#a583fbe7fc4a850e2fcc692e766d2826c">UColAttribute</a> attr, <a class="el" href="ucol_8h.html#acc801048729e684bcabed328be85f77a">UColAttributeValue</a> value, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:ac1817cbafe92cd3184d8712a8b72d746"><td class="mdescLeft">&#160;</td><td class="mdescRight">Universal attribute setter.  <a href="#ac1817cbafe92cd3184d8712a8b72d746">More...</a><br/></td></tr>
<tr class="separator:ac1817cbafe92cd3184d8712a8b72d746"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b104673bfec94c58f91478f14bcd286"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucol_8h.html#acc801048729e684bcabed328be85f77a">UColAttributeValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#a4b104673bfec94c58f91478f14bcd286">getAttribute</a> (<a class="el" href="ucol_8h.html#a583fbe7fc4a850e2fcc692e766d2826c">UColAttribute</a> attr, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a4b104673bfec94c58f91478f14bcd286"><td class="mdescLeft">&#160;</td><td class="mdescRight">Universal attribute getter.  <a href="#a4b104673bfec94c58f91478f14bcd286">More...</a><br/></td></tr>
<tr class="separator:a4b104673bfec94c58f91478f14bcd286"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1049c65c7c51c9540ca91bae25bf9f54"><td class="memItemLeft" align="right" valign="top">virtual uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#a1049c65c7c51c9540ca91bae25bf9f54">setVariableTop</a> (const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *varTop, int32_t len, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a1049c65c7c51c9540ca91bae25bf9f54"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the variable top to a collation element value of a string supplied.  <a href="#a1049c65c7c51c9540ca91bae25bf9f54">More...</a><br/></td></tr>
<tr class="separator:a1049c65c7c51c9540ca91bae25bf9f54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a828496b246626823fd96abe7dcf86782"><td class="memItemLeft" align="right" valign="top">virtual uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#a828496b246626823fd96abe7dcf86782">setVariableTop</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> varTop, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a828496b246626823fd96abe7dcf86782"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the variable top to a collation element value of a string supplied.  <a href="#a828496b246626823fd96abe7dcf86782">More...</a><br/></td></tr>
<tr class="separator:a828496b246626823fd96abe7dcf86782"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada7dd7ac546e91febadd47c68df9c102"><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="classRuleBasedCollator.html#ada7dd7ac546e91febadd47c68df9c102">setVariableTop</a> (const uint32_t varTop, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:ada7dd7ac546e91febadd47c68df9c102"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the variable top to a collation element value supplied.  <a href="#ada7dd7ac546e91febadd47c68df9c102">More...</a><br/></td></tr>
<tr class="separator:ada7dd7ac546e91febadd47c68df9c102"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac064aa96a85249dbf7e51713952d63df"><td class="memItemLeft" align="right" valign="top">virtual uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#ac064aa96a85249dbf7e51713952d63df">getVariableTop</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:ac064aa96a85249dbf7e51713952d63df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the variable top value of a <a class="el" href="classCollator.html" title="The Collator class performs locale-sensitive string comparison. ">Collator</a>.  <a href="#ac064aa96a85249dbf7e51713952d63df">More...</a><br/></td></tr>
<tr class="separator:ac064aa96a85249dbf7e51713952d63df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c6f52fdf71f631fef79dd7b0a71b2f8"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeSet.html">UnicodeSet</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#a3c6f52fdf71f631fef79dd7b0a71b2f8">getTailoredSet</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a3c6f52fdf71f631fef79dd7b0a71b2f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get an <a class="el" href="classUnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings. ">UnicodeSet</a> that contains all the characters and sequences tailored in this collator.  <a href="#a3c6f52fdf71f631fef79dd7b0a71b2f8">More...</a><br/></td></tr>
<tr class="separator:a3c6f52fdf71f631fef79dd7b0a71b2f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab58b1bbb98649f03131fe8b4dcd7b109"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classCollator.html">Collator</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#ab58b1bbb98649f03131fe8b4dcd7b109">safeClone</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>)</td></tr>
<tr class="memdesc:ab58b1bbb98649f03131fe8b4dcd7b109"><td class="mdescLeft">&#160;</td><td class="mdescRight">Thread safe cloning operation.  <a href="#ab58b1bbb98649f03131fe8b4dcd7b109">More...</a><br/></td></tr>
<tr class="separator:ab58b1bbb98649f03131fe8b4dcd7b109"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a572804441daa3ff64895a75b87991369"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#a572804441daa3ff64895a75b87991369">getSortKey</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;source, uint8_t *result, int32_t resultLength) const </td></tr>
<tr class="memdesc:a572804441daa3ff64895a75b87991369"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the sort key as an array of bytes from an <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="#a572804441daa3ff64895a75b87991369">More...</a><br/></td></tr>
<tr class="separator:a572804441daa3ff64895a75b87991369"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c185650b038aa1d64f01dbc6fdfbfbb"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#a9c185650b038aa1d64f01dbc6fdfbfbb">getSortKey</a> (const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *source, int32_t sourceLength, uint8_t *result, int32_t resultLength) const </td></tr>
<tr class="memdesc:a9c185650b038aa1d64f01dbc6fdfbfbb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the sort key as an array of bytes from an UChar buffer.  <a href="#a9c185650b038aa1d64f01dbc6fdfbfbb">More...</a><br/></td></tr>
<tr class="separator:a9c185650b038aa1d64f01dbc6fdfbfbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4687629722826dd02625049df0dcff2f"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classCollator.html#a2872c36ad74fc1100331783afe6b38d5">ECollationStrength</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#a4687629722826dd02625049df0dcff2f">getStrength</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr>
<tr class="memdesc:a4687629722826dd02625049df0dcff2f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the minimum strength that will be use in comparison or transformation.  <a href="#a4687629722826dd02625049df0dcff2f">More...</a><br/></td></tr>
<tr class="separator:a4687629722826dd02625049df0dcff2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a124ab414f1dc23cb3a5acc3f61e6a2d2"><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="classRuleBasedCollator.html#a124ab414f1dc23cb3a5acc3f61e6a2d2">setStrength</a> (<a class="el" href="classCollator.html#a2872c36ad74fc1100331783afe6b38d5">ECollationStrength</a> newStrength)</td></tr>
<tr class="memdesc:a124ab414f1dc23cb3a5acc3f61e6a2d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the minimum strength to be used in comparison or transformation.  <a href="#a124ab414f1dc23cb3a5acc3f61e6a2d2">More...</a><br/></td></tr>
<tr class="separator:a124ab414f1dc23cb3a5acc3f61e6a2d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6333a2d290fb5e3d005c60ebcd4a89e0"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="ucol_8h.html#a3c4eeb412a5fd72762e6245aa75ca081">UCollator</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#a6333a2d290fb5e3d005c60ebcd4a89e0">getUCollator</a> ()</td></tr>
<tr class="memdesc:a6333a2d290fb5e3d005c60ebcd4a89e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get UCollator data struct.  <a href="#a6333a2d290fb5e3d005c60ebcd4a89e0">More...</a><br/></td></tr>
<tr class="separator:a6333a2d290fb5e3d005c60ebcd4a89e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classCollator"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classCollator')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classCollator.html">Collator</a></td></tr>
<tr class="memitem:aeed400dfca4ef25d95509265a1566ce9 inherit pub_methods_classCollator"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCollator.html#aeed400dfca4ef25d95509265a1566ce9">~Collator</a> ()</td></tr>
<tr class="memdesc:aeed400dfca4ef25d95509265a1566ce9 inherit pub_methods_classCollator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#aeed400dfca4ef25d95509265a1566ce9">More...</a><br/></td></tr>
<tr class="separator:aeed400dfca4ef25d95509265a1566ce9 inherit pub_methods_classCollator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea0a4ed08d95791194c307f95e4cd8f2 inherit pub_methods_classCollator"><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="classCollator.html#aea0a4ed08d95791194c307f95e4cd8f2">greater</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;source, const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;target) const </td></tr>
<tr class="memdesc:aea0a4ed08d95791194c307f95e4cd8f2 inherit pub_methods_classCollator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convenience method for comparing two strings based on the collation rules.  <a href="#aea0a4ed08d95791194c307f95e4cd8f2">More...</a><br/></td></tr>
<tr class="separator:aea0a4ed08d95791194c307f95e4cd8f2 inherit pub_methods_classCollator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa87d324253cf094dc48a7a1e9b7b6afa inherit pub_methods_classCollator"><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="classCollator.html#aa87d324253cf094dc48a7a1e9b7b6afa">greaterOrEqual</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;source, const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;target) const </td></tr>
<tr class="memdesc:aa87d324253cf094dc48a7a1e9b7b6afa inherit pub_methods_classCollator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convenience method for comparing two strings based on the collation rules.  <a href="#aa87d324253cf094dc48a7a1e9b7b6afa">More...</a><br/></td></tr>
<tr class="separator:aa87d324253cf094dc48a7a1e9b7b6afa inherit pub_methods_classCollator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae00999fae1a46616421f3469c53b82f3 inherit pub_methods_classCollator"><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="classCollator.html#ae00999fae1a46616421f3469c53b82f3">equals</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;source, const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;target) const </td></tr>
<tr class="memdesc:ae00999fae1a46616421f3469c53b82f3 inherit pub_methods_classCollator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convenience method for comparing two strings based on the collation rules.  <a href="#ae00999fae1a46616421f3469c53b82f3">More...</a><br/></td></tr>
<tr class="separator:ae00999fae1a46616421f3469c53b82f3 inherit pub_methods_classCollator"><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:a0662ee51db5ee4ddb20ccd0aade72423"><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="classRuleBasedCollator.html#a0662ee51db5ee4ddb20ccd0aade72423">getStaticClassID</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>)</td></tr>
<tr class="memdesc:a0662ee51db5ee4ddb20ccd0aade72423"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the class ID for this class.  <a href="#a0662ee51db5ee4ddb20ccd0aade72423">More...</a><br/></td></tr>
<tr class="separator:a0662ee51db5ee4ddb20ccd0aade72423"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_classCollator"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classCollator')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classCollator.html">Collator</a></td></tr>
<tr class="memitem:a685bc906ba633d0d7653089d1f1a4dc5 inherit pub_static_methods_classCollator"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classCollator.html">Collator</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCollator.html#a685bc906ba633d0d7653089d1f1a4dc5">createInstance</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;err)</td></tr>
<tr class="memdesc:a685bc906ba633d0d7653089d1f1a4dc5 inherit pub_static_methods_classCollator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates the <a class="el" href="classCollator.html" title="The Collator class performs locale-sensitive string comparison. ">Collator</a> object for the current default locale.  <a href="#a685bc906ba633d0d7653089d1f1a4dc5">More...</a><br/></td></tr>
<tr class="separator:a685bc906ba633d0d7653089d1f1a4dc5 inherit pub_static_methods_classCollator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8487edc8b01ce2e8267053b19ba114ee inherit pub_static_methods_classCollator"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classCollator.html">Collator</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCollator.html#a8487edc8b01ce2e8267053b19ba114ee">createInstance</a> (const <a class="el" href="classLocale.html">Locale</a> &amp;loc, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;err)</td></tr>
<tr class="memdesc:a8487edc8b01ce2e8267053b19ba114ee inherit pub_static_methods_classCollator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the table-based collation object for the desired locale.  <a href="#a8487edc8b01ce2e8267053b19ba114ee">More...</a><br/></td></tr>
<tr class="separator:a8487edc8b01ce2e8267053b19ba114ee inherit pub_static_methods_classCollator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6aed25d37a7937d21599685754198689 inherit pub_static_methods_classCollator"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCollator.html#a6aed25d37a7937d21599685754198689">getDisplayName</a> (const <a class="el" href="classLocale.html">Locale</a> &amp;objectLocale, const <a class="el" href="classLocale.html">Locale</a> &amp;displayLocale, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;name)</td></tr>
<tr class="memdesc:a6aed25d37a7937d21599685754198689 inherit pub_static_methods_classCollator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get name of the object for the desired <a class="el" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a>, in the desired langauge.  <a href="#a6aed25d37a7937d21599685754198689">More...</a><br/></td></tr>
<tr class="separator:a6aed25d37a7937d21599685754198689 inherit pub_static_methods_classCollator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace5e715921cbc6129449d08711c152df inherit pub_static_methods_classCollator"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCollator.html#ace5e715921cbc6129449d08711c152df">getDisplayName</a> (const <a class="el" href="classLocale.html">Locale</a> &amp;objectLocale, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;name)</td></tr>
<tr class="memdesc:ace5e715921cbc6129449d08711c152df inherit pub_static_methods_classCollator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get name of the object for the desired <a class="el" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a>, in the langauge of the default locale.  <a href="#ace5e715921cbc6129449d08711c152df">More...</a><br/></td></tr>
<tr class="separator:ace5e715921cbc6129449d08711c152df inherit pub_static_methods_classCollator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af12be166591b536009fbcb636e56515f inherit pub_static_methods_classCollator"><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="classCollator.html#af12be166591b536009fbcb636e56515f">getAvailableLocales</a> (int32_t &amp;count)</td></tr>
<tr class="memdesc:af12be166591b536009fbcb636e56515f inherit pub_static_methods_classCollator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the set of Locales for which Collations are installed.  <a href="#af12be166591b536009fbcb636e56515f">More...</a><br/></td></tr>
<tr class="separator:af12be166591b536009fbcb636e56515f inherit pub_static_methods_classCollator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd369233c66c780d7ef230fa4fc5d972 inherit pub_static_methods_classCollator"><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="classCollator.html#acd369233c66c780d7ef230fa4fc5d972">getAvailableLocales</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>)</td></tr>
<tr class="memdesc:acd369233c66c780d7ef230fa4fc5d972 inherit pub_static_methods_classCollator"><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="#acd369233c66c780d7ef230fa4fc5d972">More...</a><br/></td></tr>
<tr class="separator:acd369233c66c780d7ef230fa4fc5d972 inherit pub_static_methods_classCollator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7f1d5f15b6fc722e8aace3160c52504 inherit pub_static_methods_classCollator"><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="classCollator.html#aa7f1d5f15b6fc722e8aace3160c52504">getKeywords</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:aa7f1d5f15b6fc722e8aace3160c52504 inherit pub_static_methods_classCollator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a string enumerator of all possible keywords that are relevant to collation.  <a href="#aa7f1d5f15b6fc722e8aace3160c52504">More...</a><br/></td></tr>
<tr class="separator:aa7f1d5f15b6fc722e8aace3160c52504 inherit pub_static_methods_classCollator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a1cc517b9c3b82cf8eea3956abdafc5 inherit pub_static_methods_classCollator"><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="classCollator.html#a1a1cc517b9c3b82cf8eea3956abdafc5">getKeywordValues</a> (const char *keyword, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a1a1cc517b9c3b82cf8eea3956abdafc5 inherit pub_static_methods_classCollator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a keyword, create a string enumeration of all values for that keyword that are currently in use.  <a href="#a1a1cc517b9c3b82cf8eea3956abdafc5">More...</a><br/></td></tr>
<tr class="separator:a1a1cc517b9c3b82cf8eea3956abdafc5 inherit pub_static_methods_classCollator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23ffda18b6d183b6c62b36718416b528 inherit pub_static_methods_classCollator"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classLocale.html">Locale</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCollator.html#a23ffda18b6d183b6c62b36718416b528">getFunctionalEquivalent</a> (const char *keyword, const <a class="el" href="classLocale.html">Locale</a> &amp;locale, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> &amp;isAvailable, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a23ffda18b6d183b6c62b36718416b528 inherit pub_static_methods_classCollator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the functionally equivalent locale for the given requested locale, with respect to given keyword, for the collation service.  <a href="#a23ffda18b6d183b6c62b36718416b528">More...</a><br/></td></tr>
<tr class="separator:a23ffda18b6d183b6c62b36718416b528 inherit pub_static_methods_classCollator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a101e1f1b5eac8264ad5274b8e8bb9eed inherit pub_static_methods_classCollator"><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="classCollator.html#a101e1f1b5eac8264ad5274b8e8bb9eed">registerInstance</a> (<a class="el" href="classCollator.html">Collator</a> *toAdopt, 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:a101e1f1b5eac8264ad5274b8e8bb9eed inherit pub_static_methods_classCollator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Register a new <a class="el" href="classCollator.html" title="The Collator class performs locale-sensitive string comparison. ">Collator</a>.  <a href="#a101e1f1b5eac8264ad5274b8e8bb9eed">More...</a><br/></td></tr>
<tr class="separator:a101e1f1b5eac8264ad5274b8e8bb9eed inherit pub_static_methods_classCollator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabab7bd7531b5697256e7e7f5437faa1 inherit pub_static_methods_classCollator"><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="classCollator.html#aabab7bd7531b5697256e7e7f5437faa1">registerFactory</a> (<a class="el" href="classCollatorFactory.html">CollatorFactory</a> *toAdopt, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:aabab7bd7531b5697256e7e7f5437faa1 inherit pub_static_methods_classCollator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Register a new <a class="el" href="classCollatorFactory.html" title="A factory, used with registerFactory, the creates multiple collators and provides display names for t...">CollatorFactory</a>.  <a href="#aabab7bd7531b5697256e7e7f5437faa1">More...</a><br/></td></tr>
<tr class="separator:aabab7bd7531b5697256e7e7f5437faa1 inherit pub_static_methods_classCollator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb6f76b673673ddd0bbb2690d135fd56 inherit pub_static_methods_classCollator"><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="classCollator.html#afb6f76b673673ddd0bbb2690d135fd56">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:afb6f76b673673ddd0bbb2690d135fd56 inherit pub_static_methods_classCollator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unregister a previously-registered <a class="el" href="classCollator.html" title="The Collator class performs locale-sensitive string comparison. ">Collator</a> or <a class="el" href="classCollatorFactory.html" title="A factory, used with registerFactory, the creates multiple collators and provides display names for t...">CollatorFactory</a> using the key returned from the register call.  <a href="#afb6f76b673673ddd0bbb2690d135fd56">More...</a><br/></td></tr>
<tr class="separator:afb6f76b673673ddd0bbb2690d135fd56 inherit pub_static_methods_classCollator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a771c2a750d025b9c5497210318473465 inherit pub_static_methods_classCollator"><td class="memItemLeft" align="right" valign="top">static int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCollator.html#a771c2a750d025b9c5497210318473465">getBound</a> (const uint8_t *source, int32_t sourceLength, <a class="el" href="ucol_8h.html#aa3b11e0e399df62d3048174b8309657c">UColBoundMode</a> boundType, uint32_t noOfLevels, uint8_t *result, int32_t resultLength, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a771c2a750d025b9c5497210318473465 inherit pub_static_methods_classCollator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Produce a bound for a given sortkey and a number of levels.  <a href="#a771c2a750d025b9c5497210318473465">More...</a><br/></td></tr>
<tr class="separator:a771c2a750d025b9c5497210318473465 inherit pub_static_methods_classCollator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79465f4dba5cd6a6ee0ff1dc12f82ad9 inherit pub_static_methods_classCollator"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucol_8h.html#a3c4eeb412a5fd72762e6245aa75ca081">UCollator</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCollator.html#a79465f4dba5cd6a6ee0ff1dc12f82ad9">createUCollator</a> (const char *loc, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:a79465f4dba5cd6a6ee0ff1dc12f82ad9 inherit pub_static_methods_classCollator"><td class="mdescLeft">&#160;</td><td class="mdescRight">used only by ucol_open, not for public use  <a href="#a79465f4dba5cd6a6ee0ff1dc12f82ad9">More...</a><br/></td></tr>
<tr class="separator:a79465f4dba5cd6a6ee0ff1dc12f82ad9 inherit pub_static_methods_classCollator"><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="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:ac1aa2afb4a6b684d25fb89f7632ba7f9"><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="classRuleBasedCollator.html#ac1aa2afb4a6b684d25fb89f7632ba7f9">setLocales</a> (const <a class="el" href="classLocale.html">Locale</a> &amp;requestedLocale, const <a class="el" href="classLocale.html">Locale</a> &amp;validLocale, const <a class="el" href="classLocale.html">Locale</a> &amp;actualLocale)</td></tr>
<tr class="memdesc:ac1aa2afb4a6b684d25fb89f7632ba7f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used internally by registraton to define the requested and valid locales.  <a href="#ac1aa2afb4a6b684d25fb89f7632ba7f9">More...</a><br/></td></tr>
<tr class="separator:ac1aa2afb4a6b684d25fb89f7632ba7f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classCollator"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classCollator')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classCollator.html">Collator</a></td></tr>
<tr class="memitem:a81d189c935adebdb742589212f9ba0e0 inherit pro_methods_classCollator"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCollator.html#a81d189c935adebdb742589212f9ba0e0">Collator</a> ()</td></tr>
<tr class="memdesc:a81d189c935adebdb742589212f9ba0e0 inherit pro_methods_classCollator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor.  <a href="#a81d189c935adebdb742589212f9ba0e0">More...</a><br/></td></tr>
<tr class="separator:a81d189c935adebdb742589212f9ba0e0 inherit pro_methods_classCollator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d56899e3a0bca4fa08a3b8a5f1752bc inherit pro_methods_classCollator"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCollator.html#a2d56899e3a0bca4fa08a3b8a5f1752bc">Collator</a> (<a class="el" href="ucol_8h.html#acc801048729e684bcabed328be85f77a">UCollationStrength</a> collationStrength, <a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7">UNormalizationMode</a> decompositionMode)</td></tr>
<tr class="memdesc:a2d56899e3a0bca4fa08a3b8a5f1752bc inherit pro_methods_classCollator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a2d56899e3a0bca4fa08a3b8a5f1752bc">More...</a><br/></td></tr>
<tr class="separator:a2d56899e3a0bca4fa08a3b8a5f1752bc inherit pro_methods_classCollator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57d135eb7bb3a137536554f2bd979b05 inherit pro_methods_classCollator"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCollator.html#a57d135eb7bb3a137536554f2bd979b05">Collator</a> (const <a class="el" href="classCollator.html">Collator</a> &amp;other)</td></tr>
<tr class="memdesc:a57d135eb7bb3a137536554f2bd979b05 inherit pro_methods_classCollator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor.  <a href="#a57d135eb7bb3a137536554f2bd979b05">More...</a><br/></td></tr>
<tr class="separator:a57d135eb7bb3a137536554f2bd979b05 inherit pro_methods_classCollator"><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:a2493a8a45ec3ae69e1bec8355c948519"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2493a8a45ec3ae69e1bec8355c948519"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#a2493a8a45ec3ae69e1bec8355c948519">CollationElementIterator</a></td></tr>
<tr class="memdesc:a2493a8a45ec3ae69e1bec8355c948519"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used to iterate over collation elements in a character source. <br/></td></tr>
<tr class="separator:a2493a8a45ec3ae69e1bec8355c948519"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af22e5ffabbf5a2d4d729daa0b5d3cafd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af22e5ffabbf5a2d4d729daa0b5d3cafd"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#af22e5ffabbf5a2d4d729daa0b5d3cafd">Collator</a></td></tr>
<tr class="memdesc:af22e5ffabbf5a2d4d729daa0b5d3cafd"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classCollator.html" title="The Collator class performs locale-sensitive string comparison. ">Collator</a> ONLY needs access to <a class="el" href="classRuleBasedCollator.html" title="The RuleBasedCollator class provides the simple implementation of Collator, using data-driven tables...">RuleBasedCollator</a>(const <a class="el" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a>&amp;, UErrorCode&amp;) <br/></td></tr>
<tr class="separator:af22e5ffabbf5a2d4d729daa0b5d3cafd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a421a131b6330b132d67ac9582acb9886"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a421a131b6330b132d67ac9582acb9886"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRuleBasedCollator.html#a421a131b6330b132d67ac9582acb9886">StringSearch</a></td></tr>
<tr class="memdesc:a421a131b6330b132d67ac9582acb9886"><td class="mdescLeft">&#160;</td><td class="mdescRight">Searching over collation elements in a character source. <br/></td></tr>
<tr class="separator:a421a131b6330b132d67ac9582acb9886"><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_classCollator"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classCollator')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classCollator.html">Collator</a></td></tr>
<tr class="memitem:a2872c36ad74fc1100331783afe6b38d5 inherit pub_types_classCollator"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCollator.html#a2872c36ad74fc1100331783afe6b38d5">ECollationStrength</a> { <br/>
&#160;&#160;<b>PRIMARY</b> = 0, 
<b>SECONDARY</b> = 1, 
<b>TERTIARY</b> = 2, 
<b>QUATERNARY</b> = 3, 
<br/>
&#160;&#160;<b>IDENTICAL</b> = 15
<br/>
 }</td></tr>
<tr class="memdesc:a2872c36ad74fc1100331783afe6b38d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Base letter represents a primary difference.  <a href="classCollator.html#a2872c36ad74fc1100331783afe6b38d5">More...</a><br/></td></tr>
<tr class="separator:a2872c36ad74fc1100331783afe6b38d5 inherit pub_types_classCollator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05f22f81363f2613bea18a632b67686f inherit pub_types_classCollator"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCollator.html#a05f22f81363f2613bea18a632b67686f">EComparisonResult</a> { <b>LESS</b> = -1, 
<b>EQUAL</b> = 0, 
<b>GREATER</b> = 1
 }</td></tr>
<tr class="memdesc:a05f22f81363f2613bea18a632b67686f"><td class="mdescLeft">&#160;</td><td class="mdescRight">LESS is returned if source string is compared to be less than target string in the <a class="el" href="classCollator.html#aca611b586fa47a756d2b29996f713182" title="The comparison function compares the character data stored in two different strings. ">compare()</a> method.  <a href="classCollator.html#a05f22f81363f2613bea18a632b67686f">More...</a><br/></td></tr>
<tr class="separator:a05f22f81363f2613bea18a632b67686f inherit pub_types_classCollator"><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="classRuleBasedCollator.html" title="The RuleBasedCollator class provides the simple implementation of Collator, using data-driven tables...">RuleBasedCollator</a> class provides the simple implementation of <a class="el" href="classCollator.html" title="The Collator class performs locale-sensitive string comparison. ">Collator</a>, using data-driven tables. </p>
<p>The user can create a customized table-based collation. </p>
<p><em>Important: </em>The ICU collation service has been reimplemented in order to achieve better performance and UCA compliance. For details, see the <a href="http://source.icu-project.org/repos/icu/icuhtml/trunk/design/collation/ICU_collation_design.htm">collation design document</a>. </p>
<p><a class="el" href="classRuleBasedCollator.html" title="The RuleBasedCollator class provides the simple implementation of Collator, using data-driven tables...">RuleBasedCollator</a> is a thin C++ wrapper over the C implementation. </p>
<p>For more information about the collation service see <a href="http://icu-project.org/userguide/Collate_Intro.html">the users guide</a>. </p>
<p>Collation service provides correct sorting orders for most locales supported in ICU. If specific data for a locale is not available, the orders eventually falls back to the <a href="http://www.unicode.org/unicode/reports/tr10/">UCA sort order</a>. </p>
<p>Sort ordering may be customized by providing your own set of rules. For more on this subject see the <a href="http://icu-project.org/userguide/Collate_Customization.html">Collation customization</a> section of the users guide. </p>
<p>Note, <a class="el" href="classRuleBasedCollator.html" title="The RuleBasedCollator class provides the simple implementation of Collator, using data-driven tables...">RuleBasedCollator</a> is not to be subclassed. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classCollator.html" title="The Collator class performs locale-sensitive string comparison. ">Collator</a> </dd></dl>
<dl class="section version"><dt>Version</dt><dd>2.0 11/15/2001 </dd></dl>

<p>Definition at line <a class="el" href="tblcoll_8h_source.html#l00111">111</a> of file <a class="el" href="tblcoll_8h_source.html">tblcoll.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a685723bd1b8a2df19350e5d8dce24c82"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">RuleBasedCollator::RuleBasedCollator </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="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><a class="el" href="classRuleBasedCollator.html" title="The RuleBasedCollator class provides the simple implementation of Collator, using data-driven tables...">RuleBasedCollator</a> constructor. </p>
<p>This takes the table rules and builds a collation table out of them. Please see <a class="el" href="classRuleBasedCollator.html" title="The RuleBasedCollator class provides the simple implementation of Collator, using data-driven tables...">RuleBasedCollator</a> class description for more details on the collation rule syntax. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rules</td><td>the collation rules to build the collation table from. </td></tr>
    <tr><td class="paramname">status</td><td>reporting a success or an error. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002913">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="acef0c60403fc780975d265cc6d52e3db"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">RuleBasedCollator::RuleBasedCollator </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="classCollator.html#a2872c36ad74fc1100331783afe6b38d5">ECollationStrength</a>&#160;</td>
          <td class="paramname"><em>collationStrength</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><a class="el" href="classRuleBasedCollator.html" title="The RuleBasedCollator class provides the simple implementation of Collator, using data-driven tables...">RuleBasedCollator</a> constructor. </p>
<p>This takes the table rules and builds a collation table out of them. Please see <a class="el" href="classRuleBasedCollator.html" title="The RuleBasedCollator class provides the simple implementation of Collator, using data-driven tables...">RuleBasedCollator</a> class description for more details on the collation rule syntax. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rules</td><td>the collation rules to build the collation table from. </td></tr>
    <tr><td class="paramname">collationStrength</td><td>default strength for comparison </td></tr>
    <tr><td class="paramname">status</td><td>reporting a success or an error. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002914">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="aaae0055ec92464409909fbdd0c7ac589"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">RuleBasedCollator::RuleBasedCollator </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="ucol_8h.html#acc801048729e684bcabed328be85f77a">UColAttributeValue</a>&#160;</td>
          <td class="paramname"><em>decompositionMode</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><a class="el" href="classRuleBasedCollator.html" title="The RuleBasedCollator class provides the simple implementation of Collator, using data-driven tables...">RuleBasedCollator</a> constructor. </p>
<p>This takes the table rules and builds a collation table out of them. Please see <a class="el" href="classRuleBasedCollator.html" title="The RuleBasedCollator class provides the simple implementation of Collator, using data-driven tables...">RuleBasedCollator</a> class description for more details on the collation rule syntax. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rules</td><td>the collation rules to build the collation table from. </td></tr>
    <tr><td class="paramname">decompositionMode</td><td>the normalisation mode </td></tr>
    <tr><td class="paramname">status</td><td>reporting a success or an error. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002915">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ab22f30328e5abbb779b0a7c03b01e09a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">RuleBasedCollator::RuleBasedCollator </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="classCollator.html#a2872c36ad74fc1100331783afe6b38d5">ECollationStrength</a>&#160;</td>
          <td class="paramname"><em>collationStrength</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ucol_8h.html#acc801048729e684bcabed328be85f77a">UColAttributeValue</a>&#160;</td>
          <td class="paramname"><em>decompositionMode</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><a class="el" href="classRuleBasedCollator.html" title="The RuleBasedCollator class provides the simple implementation of Collator, using data-driven tables...">RuleBasedCollator</a> constructor. </p>
<p>This takes the table rules and builds a collation table out of them. Please see <a class="el" href="classRuleBasedCollator.html" title="The RuleBasedCollator class provides the simple implementation of Collator, using data-driven tables...">RuleBasedCollator</a> class description for more details on the collation rule syntax. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rules</td><td>the collation rules to build the collation table from. </td></tr>
    <tr><td class="paramname">collationStrength</td><td>default strength for comparison </td></tr>
    <tr><td class="paramname">decompositionMode</td><td>the normalisation mode </td></tr>
    <tr><td class="paramname">status</td><td>reporting a success or an error. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002916">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a3b002ad7d57e54e1a75d9c6fc7d9c5d5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">RuleBasedCollator::RuleBasedCollator </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classRuleBasedCollator.html">RuleBasedCollator</a> &amp;&#160;</td>
          <td class="paramname"><em>other</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">other</td><td>the <a class="el" href="classRuleBasedCollator.html" title="The RuleBasedCollator class provides the simple implementation of Collator, using data-driven tables...">RuleBasedCollator</a> object to be copied </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002917">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a8422ec09bd4b623a3bff4e09c80a28cc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">RuleBasedCollator::RuleBasedCollator </td>
          <td>(</td>
          <td class="paramtype">const uint8_t *&#160;</td>
          <td class="paramname"><em>bin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>length</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classRuleBasedCollator.html">RuleBasedCollator</a> *&#160;</td>
          <td class="paramname"><em>base</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>Opens a collator from a collator binary image created using cloneBinary. </p>
<p>Binary image used in instantiation of the collator remains owned by the user and should stay around for the lifetime of the collator. The API also takes a base collator which usualy should be UCA. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">bin</td><td>binary image owned by the user and required through the lifetime of the collator </td></tr>
    <tr><td class="paramname">length</td><td>size of the image. If negative, the API will try to figure out the length of the image </td></tr>
    <tr><td class="paramname">base</td><td>fallback collator, usually UCA. Base is required to be present through the lifetime of the collator. Currently it cannot be NULL. </td></tr>
    <tr><td class="paramname">status</td><td>for catching errors </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>newly created collator </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classRuleBasedCollator.html#ab4471befc42bf436cb771cef6b184ab7" title="Creates a binary image of a collator. ">cloneBinary</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002918">Stable:</a></b></dt><dd>ICU 3.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a2a080eeab83d1864d481fb45c6b82a59"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual RuleBasedCollator::~RuleBasedCollator </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>Destructor. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002919">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="afc3925de9f5b4b8c58192721cbb5bc57"></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="classCollator.html">Collator</a>* RuleBasedCollator::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>Makes a deep copy of the object. </p>
<p>The caller owns the returned object. </p>
<dl class="section return"><dt>Returns</dt><dd>the cloned object. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002923">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implements <a class="el" href="classCollator.html#a5b7873505ee31c3745c207cf45d114b4">Collator</a>.</p>

</div>
</div>
<a class="anchor" id="ab4471befc42bf436cb771cef6b184ab7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t RuleBasedCollator::cloneBinary </td>
          <td>(</td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>capacity</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 binary image of a collator. </p>
<p>This binary image can be stored and later used to instantiate a collator using ucol_openBinary. This API supports preflighting. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">buffer</td><td>a fill-in buffer to receive the binary image </td></tr>
    <tr><td class="paramname">capacity</td><td>capacity of the destination buffer </td></tr>
    <tr><td class="paramname">status</td><td>for catching errors </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>size of the image </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="ucol_8h.html#a467ea0dde69a6990f6ecbb7e30da6003" title="Opens a collator from a collator binary image created using ucol_cloneBinary. ">ucol_openBinary</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002936">Stable:</a></b></dt><dd>ICU 3.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a76f0c6651087f795e934ecba2357be36"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t* RuleBasedCollator::cloneRuleData </td>
          <td>(</td>
          <td class="paramtype">int32_t &amp;&#160;</td>
          <td class="paramname"><em>length</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>Returns the binary format of the class's rules. </p>
<p>The format is that of .col files. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">length</td><td>Returns the length of the data, in bytes </td></tr>
    <tr><td class="paramname">status</td><td>the error code status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>memory, owned by the caller, of size 'length' bytes. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002935">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a49b2017fd4861a6361e6b568d887adc2"></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="classCollator.html#a05f22f81363f2613bea18a632b67686f">EComparisonResult</a> RuleBasedCollator::compare </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>source</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>target</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>Compares a range of character data stored in two different strings based on the collation rules. </p>
<p>Returns information about whether a string is less than, greater than or equal to another string in a language. This can be overriden in a subclass. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td>the source string. </td></tr>
    <tr><td class="paramname">target</td><td>the target string to be compared with the source string. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the comparison result. GREATER if the source string is greater than the target string, LESS if the source is less than the target. Otherwise, returns EQUAL. </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000218">Deprecated:</a></b></dt><dd>ICU 2.6 Use overload with UErrorCode&amp; </dd></dl>

<p>Reimplemented from <a class="el" href="classCollator.html#aca611b586fa47a756d2b29996f713182">Collator</a>.</p>

</div>
</div>
<a class="anchor" id="ab011371ceb1f45df5de1a458d7612aa8"></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="ucol_8h.html#a8b4e71db8109af87f84ac1576e2b245d">UCollationResult</a> RuleBasedCollator::compare </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>source</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>target</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>The comparison function compares the character data stored in two different strings. </p>
<p>Returns information about whether a string is less than, greater than or equal to another string. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td>the source string to be compared with. </td></tr>
    <tr><td class="paramname">target</td><td>the string that is to be compared with the source string. </td></tr>
    <tr><td class="paramname">status</td><td>possible error code </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns an enum value. UCOL_GREATER if source is greater than target; UCOL_EQUAL if source is equal to target; UCOL_LESS if source is less than target </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002926">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

<p>Implements <a class="el" href="classCollator.html#a87d53bab5e900d89ad27fd61ea6b985d">Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a1b7b66b3376e53e186cbf5f60fa4505d"></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="classCollator.html#a05f22f81363f2613bea18a632b67686f">EComparisonResult</a> RuleBasedCollator::compare </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>source</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>target</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>length</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>Compares a range of character data stored in two different strings based on the collation rules up to the specified length. </p>
<p>Returns information about whether a string is less than, greater than or equal to another string in a language. This can be overriden in a subclass. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td>the source string. </td></tr>
    <tr><td class="paramname">target</td><td>the target string to be compared with the source string. </td></tr>
    <tr><td class="paramname">length</td><td>compares up to the specified length </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the comparison result. GREATER if the source string is greater than the target string, LESS if the source is less than the target. Otherwise, returns EQUAL. </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000219">Deprecated:</a></b></dt><dd>ICU 2.6 Use overload with UErrorCode&amp; </dd></dl>

<p>Reimplemented from <a class="el" href="classCollator.html#ab33b6fb1fb75bc8bf4d9d8374c9165bf">Collator</a>.</p>

</div>
</div>
<a class="anchor" id="acdc1ac2c3ded9364391e9b350d8b3842"></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="ucol_8h.html#a8b4e71db8109af87f84ac1576e2b245d">UCollationResult</a> RuleBasedCollator::compare </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>source</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>target</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>length</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>Does the same thing as compare but limits the comparison to a specified length. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td>the source string to be compared with. </td></tr>
    <tr><td class="paramname">target</td><td>the string that is to be compared with the source string. </td></tr>
    <tr><td class="paramname">length</td><td>the length the comparison is limited to </td></tr>
    <tr><td class="paramname">status</td><td>possible error code </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns an enum value. UCOL_GREATER if source (up to the specified length) is greater than target; UCOL_EQUAL if source (up to specified length) is equal to target; UCOL_LESS if source (up to the specified length) is less than target. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002927">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

<p>Implements <a class="el" href="classCollator.html#ad0ae017f1de0edd0aa10c504ea8bfd58">Collator</a>.</p>

</div>
</div>
<a class="anchor" id="aa93718b20d61f023bd126d5ed74ae1e0"></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="classCollator.html#a05f22f81363f2613bea18a632b67686f">EComparisonResult</a> RuleBasedCollator::compare </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>sourceLength</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>target</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>targetLength</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>The comparison function compares the character data stored in two different string arrays. </p>
<p>Returns information about whether a string array is less than, greater than or equal to another string array. </p>
<p>Example of use: </p>
<pre>
.       UChar ABC[] = {0x41, 0x42, 0x43, 0};  // = "ABC"
.       UChar abc[] = {0x61, 0x62, 0x63, 0};  // = "abc"
.       UErrorCode status = U_ZERO_ERROR;
.       <a class="el" href="classCollator.html" title="The Collator class performs locale-sensitive string comparison. ">Collator</a> *myCollation =
.                         Collator::createInstance(Locale::US, status);
.       if (<a class="el" href="utypes_8h.html#a4d202200b6aa6f3c965ea370e0c8155f" title="Does the error code indicate a failure? ">U_FAILURE(status)</a>) return;
.       myCollation-&gt;setStrength(Collator::PRIMARY);
.       // result would be Collator::EQUAL ("abc" == "ABC")
.       // (no primary difference between "abc" and "ABC")
.       <a class="el" href="classCollator.html#a05f22f81363f2613bea18a632b67686f" title="LESS is returned if source string is compared to be less than target string in the compare() method...">Collator::EComparisonResult</a> result =
.                             myCollation-&gt;compare(abc, 3, ABC, 3);
.       myCollation-&gt;setStrength(Collator::TERTIARY);
.       // result would be Collator::LESS ("abc" &lt;&lt;&lt; "ABC")
.       // (with tertiary difference between "abc" and "ABC")
.       result =  myCollation-&gt;compare(abc, 3, ABC, 3);
</pre> <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td>the source string array to be compared with. </td></tr>
    <tr><td class="paramname">sourceLength</td><td>the length of the source string array. If this value is equal to -1, the string array is null-terminated. </td></tr>
    <tr><td class="paramname">target</td><td>the string that is to be compared with the source string. </td></tr>
    <tr><td class="paramname">targetLength</td><td>the length of the target string array. If this value is equal to -1, the string array is null-terminated. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns a byte value. GREATER if source is greater than target; EQUAL if source is equal to target; LESS if source is less than target </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000220">Deprecated:</a></b></dt><dd>ICU 2.6 Use overload with UErrorCode&amp; </dd></dl>

<p>Reimplemented from <a class="el" href="classCollator.html#a562ace5a124eafbf623c39e19b564b25">Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a6d410b9e3a7a3c353ca961ffbe6f5fdb"></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="ucol_8h.html#a8b4e71db8109af87f84ac1576e2b245d">UCollationResult</a> RuleBasedCollator::compare </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>sourceLength</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>target</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>targetLength</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>The comparison function compares the character data stored in two different string arrays. </p>
<p>Returns information about whether a string array is less than, greater than or equal to another string array. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td>the source string array to be compared with. </td></tr>
    <tr><td class="paramname">sourceLength</td><td>the length of the source string array. If this value is equal to -1, the string array is null-terminated. </td></tr>
    <tr><td class="paramname">target</td><td>the string that is to be compared with the source string. </td></tr>
    <tr><td class="paramname">targetLength</td><td>the length of the target string array. If this value is equal to -1, the string array is null-terminated. </td></tr>
    <tr><td class="paramname">status</td><td>possible error code </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns an enum value. UCOL_GREATER if source is greater than target; UCOL_EQUAL if source is equal to target; UCOL_LESS if source is less than target </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002928">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

<p>Implements <a class="el" href="classCollator.html#a5f32ec22ac5ed66bff8d7707db9260d7">Collator</a>.</p>

</div>
</div>
<a class="anchor" id="aa00694d6f6463f3f21566ce173462fb6"></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="classCollationElementIterator.html">CollationElementIterator</a>* RuleBasedCollator::createCollationElementIterator </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>source</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>Creates a collation element iterator for the source string. </p>
<p>The caller of this method is responsible for the memory management of the return pointer. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td>the string over which the <a class="el" href="classCollationElementIterator.html" title="The CollationElementIterator class is used as an iterator to walk through each character of an intern...">CollationElementIterator</a> will iterate. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the collation element iterator of the source string using this as the based <a class="el" href="classCollator.html" title="The Collator class performs locale-sensitive string comparison. ">Collator</a>. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002924">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a07d693b537314e91abadff6fd712945e"></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="classCollationElementIterator.html">CollationElementIterator</a>* RuleBasedCollator::createCollationElementIterator </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCharacterIterator.html">CharacterIterator</a> &amp;&#160;</td>
          <td class="paramname"><em>source</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>Creates a collation element iterator for the source. </p>
<p>The caller of this method is responsible for the memory management of the returned pointer. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td>the <a class="el" href="classCharacterIterator.html" title="Abstract class that defines an API for iteration on text objects. ">CharacterIterator</a> which produces the characters over which the CollationElementItgerator will iterate. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the collation element iterator of the source using this as the based <a class="el" href="classCollator.html" title="The Collator class performs locale-sensitive string comparison. ">Collator</a>. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002925">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a4b104673bfec94c58f91478f14bcd286"></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="ucol_8h.html#acc801048729e684bcabed328be85f77a">UColAttributeValue</a> RuleBasedCollator::getAttribute </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucol_8h.html#a583fbe7fc4a850e2fcc692e766d2826c">UColAttribute</a>&#160;</td>
          <td class="paramname"><em>attr</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>Universal attribute getter. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">attr</td><td>attribute type </td></tr>
    <tr><td class="paramname">status</td><td>to indicate whether the operation went on smoothly or there were errors </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>attribute value </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002939">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>

<p>Implements <a class="el" href="classCollator.html#a84c6c013a46196d829f71fa843ae7933">Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a509690ecc2c4de4683cc226b4317174f"></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="classCollationKey.html">CollationKey</a>&amp; RuleBasedCollator::getCollationKey </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classCollationKey.html">CollationKey</a> &amp;&#160;</td>
          <td class="paramname"><em>key</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>Transforms a specified region of the string into a series of characters that can be compared with CollationKey.compare. </p>
<p>Use a <a class="el" href="classCollationKey.html" title="Collation keys are generated by the Collator class. ">CollationKey</a> when you need to do repeated comparisions on the same string. For a single comparison the compare method will be faster. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td>the source string. </td></tr>
    <tr><td class="paramname">key</td><td>the transformed key of the source string. </td></tr>
    <tr><td class="paramname">status</td><td>the error code status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the transformed key. </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classCollationKey.html" title="Collation keys are generated by the Collator class. ">CollationKey</a> </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000221">Deprecated:</a></b></dt><dd>ICU 2.8 Use getSortKey(...) instead </dd></dl>

<p>Implements <a class="el" href="classCollator.html#ab48ddb212e12b9ef4ffa7163e2d7810a">Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a36b0939e2dfb7c47fef177e0eec93700"></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="classCollationKey.html">CollationKey</a>&amp; RuleBasedCollator::getCollationKey </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>sourceLength</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classCollationKey.html">CollationKey</a> &amp;&#160;</td>
          <td class="paramname"><em>key</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>Transforms a specified region of the string into a series of characters that can be compared with CollationKey.compare. </p>
<p>Use a <a class="el" href="classCollationKey.html" title="Collation keys are generated by the Collator class. ">CollationKey</a> when you need to do repeated comparisions on the same string. For a single comparison the compare method will be faster. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td>the source string. </td></tr>
    <tr><td class="paramname">sourceLength</td><td>the length of the source string. </td></tr>
    <tr><td class="paramname">key</td><td>the transformed key of the source string. </td></tr>
    <tr><td class="paramname">status</td><td>the error code status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the transformed key. </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classCollationKey.html" title="Collation keys are generated by the Collator class. ">CollationKey</a> </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000222">Deprecated:</a></b></dt><dd>ICU 2.8 Use getSortKey(...) instead </dd></dl>

<p>Implements <a class="el" href="classCollator.html#afd733f040738213f0e46847b1e31cf6a">Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a475f2ae0796fc004c76c10d30b991ca5"></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> RuleBasedCollator::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>Returns a unique class ID POLYMORPHICALLY. </p>
<p>Pure virtual override. This method is to implement a simple version of RTTI, since not all C++ compilers support genuine RTTI. Polymorphic <a class="el" href="classRuleBasedCollator.html#a7cfc8bb7eff90714b83db01091e9d9a1" title="Returns true if argument is the same as this object. ">operator==()</a> and <a class="el" href="classRuleBasedCollator.html#afc3925de9f5b4b8c58192721cbb5bc57" title="Makes a deep copy of the object. ">clone()</a> methods call this method. </p>
<dl class="section return"><dt>Returns</dt><dd>The class ID for this object. All objects of a given class have the same class ID. Objects of other classes have different class IDs. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002933">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implements <a class="el" href="classCollator.html#aeaf10ab8b08d195a294a9b15aa7195da">Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a97cbec9ebe971ca9de1795e1dc3d63b0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="classLocale.html">Locale</a> RuleBasedCollator::getLocale </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="uloc_8h.html#adf053345d343f8d82ae080f7a5871f34">ULocDataLocaleType</a>&#160;</td>
          <td class="paramname"><em>type</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>Gets the locale of the <a class="el" href="classCollator.html" title="The Collator class performs locale-sensitive string comparison. ">Collator</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>can be either requested, valid or actual locale. For more information see the definition of ULocDataLocaleType in <a class="el" href="uloc_8h.html" title="C API: Locale. ">uloc.h</a> </td></tr>
    <tr><td class="paramname">status</td><td>the error code status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>locale where the collation data lives. If the collator was instantiated from rules, locale is empty. </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000223">Deprecated:</a></b></dt><dd>ICU 2.8 likely to change in ICU 3.0, based on feedback </dd></dl>

<p>Implements <a class="el" href="classCollator.html#ab29b8994ac25fd1c5c9f5f58757c0d0c">Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a86128484ed00d48e3b646c2f63cdafe6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t RuleBasedCollator::getMaxExpansion </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>order</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return the maximum length of any expansion sequences that end with the specified comparison order. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">order</td><td>a collation order returned by previous or next. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>maximum size of the expansion sequences ending with the collation element or 1 if collation element does not occur at the end of any expansion sequence </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classCollationElementIterator.html#ab0cc9747f553df1649021d677061497e" title="Return the maximum length of any expansion sequences that end with the specified comparison order...">CollationElementIterator::getMaxExpansion</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002932">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a88b7cf04ca345ea2b17199905b869ccd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classUnicodeString.html">UnicodeString</a>&amp; RuleBasedCollator::getRules </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>
</div><div class="memdoc">

<p>Gets the table-based rules for the collation object. </p>
<dl class="section return"><dt>Returns</dt><dd>returns the collation rules that the table collation object was created from. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002930">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a49272a769d004665e981226e34859154"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> RuleBasedCollator::getRules </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucol_8h.html#a46363290036b8dffd6862c35e7b5872f">UColRuleOption</a>&#160;</td>
          <td class="paramname"><em>delta</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>buffer</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns current rules. </p>
<p>Delta defines whether full rules are returned or just the tailoring. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">delta</td><td>one of UCOL_TAILORING_ONLY, UCOL_FULL_RULES. </td></tr>
    <tr><td class="paramname">buffer</td><td><a class="el" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> to store the result rules </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002937">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a572804441daa3ff64895a75b87991369"></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 RuleBasedCollator::getSortKey </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>resultLength</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>Get the sort key as an array of bytes from an <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="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td>string to be processed. </td></tr>
    <tr><td class="paramname">result</td><td>buffer to store result in. If NULL, number of bytes needed will be returned. </td></tr>
    <tr><td class="paramname">resultLength</td><td>length of the result buffer. If if not enough the buffer will be filled to capacity. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Number of bytes needed for storing the sort key </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002946">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implements <a class="el" href="classCollator.html#ae524fd43a06d4429e2c76bef35874d4c">Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a9c185650b038aa1d64f01dbc6fdfbfbb"></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 RuleBasedCollator::getSortKey </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>sourceLength</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>resultLength</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>Get the sort key as an array of bytes from an UChar buffer. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td>string to be processed. </td></tr>
    <tr><td class="paramname">sourceLength</td><td>length of string to be processed. If -1, the string is 0 terminated and length will be decided by the function. </td></tr>
    <tr><td class="paramname">result</td><td>buffer to store result in. If NULL, number of bytes needed will be returned. </td></tr>
    <tr><td class="paramname">resultLength</td><td>length of the result buffer. If if not enough the buffer will be filled to capacity. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Number of bytes needed for storing the sort key </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002947">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>

<p>Implements <a class="el" href="classCollator.html#af379292af58ae29650690a02c410bfe1">Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a0662ee51db5ee4ddb20ccd0aade72423"></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> RuleBasedCollator::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>Returns the class ID for this class. </p>
<p>This is useful only for comparing to a return value from <a class="el" href="classRuleBasedCollator.html#a475f2ae0796fc004c76c10d30b991ca5" title="Returns a unique class ID POLYMORPHICALLY. ">getDynamicClassID()</a>. For example: </p>
<pre>
Base* polymorphic_pointer = createPolymorphicObject();
if (polymorphic_pointer-&gt;<a class="el" href="classRuleBasedCollator.html#a475f2ae0796fc004c76c10d30b991ca5" title="Returns a unique class ID POLYMORPHICALLY. ">getDynamicClassID()</a> ==
                                         Derived::getStaticClassID()) ...
</pre> <dl class="section return"><dt>Returns</dt><dd>The class ID for all objects of this class. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002934">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a4687629722826dd02625049df0dcff2f"></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="classCollator.html#a2872c36ad74fc1100331783afe6b38d5">ECollationStrength</a> RuleBasedCollator::getStrength </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>Determines the minimum strength that will be use in comparison or transformation. </p>
<p>E.g. with strength == SECONDARY, the tertiary difference is ignored </p>
<p>E.g. with strength == PRIMARY, the secondary and tertiary difference are ignored. </p>
<dl class="section return"><dt>Returns</dt><dd>the current comparison level. </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classRuleBasedCollator.html#a124ab414f1dc23cb3a5acc3f61e6a2d2" title="Sets the minimum strength to be used in comparison or transformation. ">RuleBasedCollator::setStrength</a> </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000224">Deprecated:</a></b></dt><dd>ICU 2.6 Use getAttribute(UCOL_STRENGTH...) instead </dd></dl>

<p>Implements <a class="el" href="classCollator.html#abbd68b496b6063c5a09a35ce96e4ce93">Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a3c6f52fdf71f631fef79dd7b0a71b2f8"></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="classUnicodeSet.html">UnicodeSet</a>* RuleBasedCollator::getTailoredSet </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></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>Get an <a class="el" href="classUnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings. ">UnicodeSet</a> that contains all the characters and sequences tailored in this collator. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>error code of the operation </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to a <a class="el" href="classUnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings. ">UnicodeSet</a> object containing all the code points and sequences that may sort differently than in the UCA. The object must be disposed of by using delete </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002944">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

<p>Reimplemented from <a class="el" href="classCollator.html#a905d1e33377b611a78ec63ae6c15d3c6">Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a6333a2d290fb5e3d005c60ebcd4a89e0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="ucol_8h.html#a3c4eeb412a5fd72762e6245aa75ca081">UCollator</a> * RuleBasedCollator::getUCollator </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></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>Get UCollator data struct. </p>
<p>Used only by <a class="el" href="classStringSearch.html" title="StringSearch is a SearchIterator that provides language-sensitive text searching based on the compari...">StringSearch</a> &amp; intltest. </p>
<dl class="section return"><dt>Returns</dt><dd>UCollator data struct </dd></dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000258">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

<p>Definition at line <a class="el" href="tblcoll_8h_source.html#l00867">867</a> of file <a class="el" href="tblcoll_8h_source.html">tblcoll.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac064aa96a85249dbf7e51713952d63df"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual uint32_t RuleBasedCollator::getVariableTop </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></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>Gets the variable top value of a <a class="el" href="classCollator.html" title="The Collator class performs locale-sensitive string comparison. ">Collator</a>. </p>
<p>Lower 16 bits are undefined and should be ignored. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>error code (not changed by function). If error code is set, the return value is undefined. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002943">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implements <a class="el" href="classCollator.html#adff24c669022242ae00dd2c0c460bbf1">Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a849f680b92692a38715b6b9fb67be7cf"></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> RuleBasedCollator::getVersion </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="uversion_8h.html#a61caef96ba86d8e86a4031925ea44e94">UVersionInfo</a>&#160;</td>
          <td class="paramname"><em>info</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>Gets the version information for a <a class="el" href="classCollator.html" title="The Collator class performs locale-sensitive string comparison. ">Collator</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">info</td><td>the version # information, the result will be filled in </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002931">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implements <a class="el" href="classCollator.html#a5884f921390751a8b6f831bd259a7b8d">Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a326891c5ae3763fab6e8e00b2289a413"></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 RuleBasedCollator::hashCode </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>Generates the hash code for the rule-based collation object. </p>
<dl class="section return"><dt>Returns</dt><dd>the hash code. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002929">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implements <a class="el" href="classCollator.html#a989efcbd6664efd0a8e738a2c1d3f357">Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a87cb492d16807f67f7ff1cf384a2587b"></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> RuleBasedCollator::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCollator.html">Collator</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>Returns true if argument is not the same as this object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">other</td><td><a class="el" href="classCollator.html" title="The Collator class performs locale-sensitive string comparison. ">Collator</a> object to be compared </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>returns true if argument is not the same as this object. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002922">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Reimplemented from <a class="el" href="classCollator.html#a0ddd04141f65b3f22e1f6d2bf4f53007">Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a45ad21c50ac6d159d119d2c3a6dcd425"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classRuleBasedCollator.html">RuleBasedCollator</a>&amp; RuleBasedCollator::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classRuleBasedCollator.html">RuleBasedCollator</a> &amp;&#160;</td>
          <td class="paramname"><em>other</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">other</td><td>other <a class="el" href="classRuleBasedCollator.html" title="The RuleBasedCollator class provides the simple implementation of Collator, using data-driven tables...">RuleBasedCollator</a> object to compare with. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002920">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a7cfc8bb7eff90714b83db01091e9d9a1"></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> RuleBasedCollator::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCollator.html">Collator</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>Returns true if argument is the same as this object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">other</td><td><a class="el" href="classCollator.html" title="The Collator class performs locale-sensitive string comparison. ">Collator</a> object to be compared. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if arguments is the same as this object. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002921">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Reimplemented from <a class="el" href="classCollator.html#a5e9abbd44cc648351bcb398308a062a6">Collator</a>.</p>

</div>
</div>
<a class="anchor" id="ab58b1bbb98649f03131fe8b4dcd7b109"></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="classCollator.html">Collator</a>* RuleBasedCollator::safeClone </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">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Thread safe cloning operation. </p>
<dl class="section return"><dt>Returns</dt><dd>pointer to the new clone, user should remove it. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002945">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>

<p>Implements <a class="el" href="classCollator.html#aa97156a2a27c2e7fc0fccd0aee61de5a">Collator</a>.</p>

</div>
</div>
<a class="anchor" id="ac1817cbafe92cd3184d8712a8b72d746"></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> RuleBasedCollator::setAttribute </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucol_8h.html#a583fbe7fc4a850e2fcc692e766d2826c">UColAttribute</a>&#160;</td>
          <td class="paramname"><em>attr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ucol_8h.html#acc801048729e684bcabed328be85f77a">UColAttributeValue</a>&#160;</td>
          <td class="paramname"><em>value</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>Universal attribute setter. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">attr</td><td>attribute type </td></tr>
    <tr><td class="paramname">value</td><td>attribute value </td></tr>
    <tr><td class="paramname">status</td><td>to indicate whether the operation went on smoothly or there were errors </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002938">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>

<p>Implements <a class="el" href="classCollator.html#a132f1d7ad918bc1f4dcb956fd74ea808">Collator</a>.</p>

</div>
</div>
<a class="anchor" id="ac1aa2afb4a6b684d25fb89f7632ba7f9"></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> RuleBasedCollator::setLocales </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classLocale.html">Locale</a> &amp;&#160;</td>
          <td class="paramname"><em>requestedLocale</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>validLocale</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>actualLocale</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">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Used internally by registraton to define the requested and valid locales. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">requestedLocale</td><td>the requsted locale </td></tr>
    <tr><td class="paramname">validLocale</td><td>the valid locale </td></tr>
    <tr><td class="paramname">actualLocale</td><td>the actual locale </td></tr>
  </table>
  </dd>
</dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000259">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

<p>Reimplemented from <a class="el" href="classCollator.html#ab480c30e10864f7c46cda00389bd2d34">Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a124ab414f1dc23cb3a5acc3f61e6a2d2"></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> RuleBasedCollator::setStrength </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCollator.html#a2872c36ad74fc1100331783afe6b38d5">ECollationStrength</a>&#160;</td>
          <td class="paramname"><em>newStrength</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>Sets the minimum strength to be used in comparison or transformation. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classRuleBasedCollator.html#a4687629722826dd02625049df0dcff2f" title="Determines the minimum strength that will be use in comparison or transformation. ...">RuleBasedCollator::getStrength</a> </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">newStrength</td><td>the new comparison level. </td></tr>
  </table>
  </dd>
</dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000225">Deprecated:</a></b></dt><dd>ICU 2.6 Use setAttribute(UCOL_STRENGTH...) instead </dd></dl>

<p>Implements <a class="el" href="classCollator.html#a0337d30970c7b73a6885a31d6d7d2afa">Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a1049c65c7c51c9540ca91bae25bf9f54"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual uint32_t RuleBasedCollator::setVariableTop </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>varTop</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>len</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>Sets the variable top to a collation element value of a string supplied. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">varTop</td><td>one or more (if contraction) UChars to which the variable top should be set </td></tr>
    <tr><td class="paramname">len</td><td>length of variable top string. If -1 it is considered to be zero terminated. </td></tr>
    <tr><td class="paramname">status</td><td>error code. If error code is set, the return value is undefined. Errors set by this function are: <br/>
 U_CE_NOT_FOUND_ERROR if more than one character was passed and there is no such a contraction<br/>
 U_PRIMARY_TOO_LONG_ERROR if the primary for the variable top has more than two bytes </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a 32 bit value containing the value of the variable top in upper 16 bits. Lower 16 bits are undefined </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002940">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implements <a class="el" href="classCollator.html#ab6e4fc13e278beca8a39539dc326a913">Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a828496b246626823fd96abe7dcf86782"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual uint32_t RuleBasedCollator::setVariableTop </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a>&#160;</td>
          <td class="paramname"><em>varTop</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>Sets the variable top to a collation element value of a string supplied. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">varTop</td><td>an <a class="el" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> size 1 or more (if contraction) of UChars to which the variable top should be set </td></tr>
    <tr><td class="paramname">status</td><td>error code. If error code is set, the return value is undefined. Errors set by this function are: <br/>
 U_CE_NOT_FOUND_ERROR if more than one character was passed and there is no such a contraction<br/>
 U_PRIMARY_TOO_LONG_ERROR if the primary for the variable top has more than two bytes </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a 32 bit value containing the value of the variable top in upper 16 bits. Lower 16 bits are undefined </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002941">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implements <a class="el" href="classCollator.html#adbf3ad5122866f9a16d39ca07779ddce">Collator</a>.</p>

</div>
</div>
<a class="anchor" id="ada7dd7ac546e91febadd47c68df9c102"></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> RuleBasedCollator::setVariableTop </td>
          <td>(</td>
          <td class="paramtype">const uint32_t&#160;</td>
          <td class="paramname"><em>varTop</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>Sets the variable top to a collation element value supplied. </p>
<p>Variable top is set to the upper 16 bits. Lower 16 bits are ignored. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">varTop</td><td>CE value, as returned by setVariableTop or ucol)getVariableTop </td></tr>
    <tr><td class="paramname">status</td><td>error code (not changed by function) </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002942">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implements <a class="el" href="classCollator.html#afc34e06d5d3675e6e6ad26a1ee303690">Collator</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="tblcoll_8h_source.html">tblcoll.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