Sophie

Sophie

distrib > Mageia > 6 > armv5tl > media > core-release > by-pkgid > 3a4e91bde08970529a0aa07935652fe8 > files > 232

icu-doc-58.2-3.mga6.noarch.rpm

<!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.11"/>
<title>ICU 58.2: icu::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="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 id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ICU 58.2
   &#160;<span id="projectnumber">58.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
  <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><a href="namespaces.html"><span>Namespaces</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>
    </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>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceicu.html">icu</a></li><li class="navelem"><a class="el" href="classicu_1_1RuleBasedCollator.html">RuleBasedCollator</a></li>  </ul>
</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">icu::RuleBasedCollator Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>The <a class="el" href="classicu_1_1RuleBasedCollator.html" title="The RuleBasedCollator class provides the implementation of Collator, using data-driven tables...">RuleBasedCollator</a> class provides the implementation of <a class="el" href="classicu_1_1Collator.html" title="The Collator class performs locale-sensitive string comparison. ">Collator</a>, using data-driven tables.  
 <a href="classicu_1_1RuleBasedCollator.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 icu::RuleBasedCollator:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classicu_1_1RuleBasedCollator.png" usemap="#icu::RuleBasedCollator_map" alt=""/>
  <map id="icu::RuleBasedCollator_map" name="icu::RuleBasedCollator_map">
<area href="classicu_1_1Collator.html" title="The Collator class performs locale-sensitive string comparison. " alt="icu::Collator" shape="rect" coords="0,112,139,136"/>
<area href="classicu_1_1UObject.html" title="UObject is the common ICU &quot;boilerplate&quot; class. " alt="icu::UObject" shape="rect" coords="0,56,139,80"/>
<area href="classicu_1_1UMemory.html" title="UMemory is the common ICU base class. " alt="icu::UMemory" shape="rect" coords="0,0,139,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:ab26b8846a053c2def598ec7c957cfcc4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#ab26b8846a053c2def598ec7c957cfcc4">RuleBasedCollator</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;rules, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:ab26b8846a053c2def598ec7c957cfcc4"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classicu_1_1RuleBasedCollator.html" title="The RuleBasedCollator class provides the implementation of Collator, using data-driven tables...">RuleBasedCollator</a> constructor.  <a href="#ab26b8846a053c2def598ec7c957cfcc4">More...</a><br /></td></tr>
<tr class="separator:ab26b8846a053c2def598ec7c957cfcc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf9a00014372009c71cd36430da4f610"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#aaf9a00014372009c71cd36430da4f610">RuleBasedCollator</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;rules, <a class="el" href="classicu_1_1Collator.html#a82bc20541fe4503fb78644a1968e15a2">ECollationStrength</a> collationStrength, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:aaf9a00014372009c71cd36430da4f610"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classicu_1_1RuleBasedCollator.html" title="The RuleBasedCollator class provides the implementation of Collator, using data-driven tables...">RuleBasedCollator</a> constructor.  <a href="#aaf9a00014372009c71cd36430da4f610">More...</a><br /></td></tr>
<tr class="separator:aaf9a00014372009c71cd36430da4f610"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07b23add8f39b6d2dd6d608ac9485b97"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#a07b23add8f39b6d2dd6d608ac9485b97">RuleBasedCollator</a> (const <a class="el" href="classicu_1_1UnicodeString.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:a07b23add8f39b6d2dd6d608ac9485b97"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classicu_1_1RuleBasedCollator.html" title="The RuleBasedCollator class provides the implementation of Collator, using data-driven tables...">RuleBasedCollator</a> constructor.  <a href="#a07b23add8f39b6d2dd6d608ac9485b97">More...</a><br /></td></tr>
<tr class="separator:a07b23add8f39b6d2dd6d608ac9485b97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29e95021c2a9acf1fced334f57c074ba"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#a29e95021c2a9acf1fced334f57c074ba">RuleBasedCollator</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;rules, <a class="el" href="classicu_1_1Collator.html#a82bc20541fe4503fb78644a1968e15a2">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:a29e95021c2a9acf1fced334f57c074ba"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classicu_1_1RuleBasedCollator.html" title="The RuleBasedCollator class provides the implementation of Collator, using data-driven tables...">RuleBasedCollator</a> constructor.  <a href="#a29e95021c2a9acf1fced334f57c074ba">More...</a><br /></td></tr>
<tr class="separator:a29e95021c2a9acf1fced334f57c074ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a8fcec445c513c2d32979b565b95528"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#a4a8fcec445c513c2d32979b565b95528">RuleBasedCollator</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;rules, <a class="el" href="structUParseError.html">UParseError</a> &amp;parseError, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;reason, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;errorCode)</td></tr>
<tr class="memdesc:a4a8fcec445c513c2d32979b565b95528"><td class="mdescLeft">&#160;</td><td class="mdescRight">TODO: document &amp; propose as public API.  <a href="#a4a8fcec445c513c2d32979b565b95528">More...</a><br /></td></tr>
<tr class="separator:a4a8fcec445c513c2d32979b565b95528"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad60f53ba1323a3516edf93154006d91c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#ad60f53ba1323a3516edf93154006d91c">RuleBasedCollator</a> (const <a class="el" href="classicu_1_1RuleBasedCollator.html">RuleBasedCollator</a> &amp;other)</td></tr>
<tr class="memdesc:ad60f53ba1323a3516edf93154006d91c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor.  <a href="#ad60f53ba1323a3516edf93154006d91c">More...</a><br /></td></tr>
<tr class="separator:ad60f53ba1323a3516edf93154006d91c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f4c7eeaf020ad68e3bd9722dd272357"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#a2f4c7eeaf020ad68e3bd9722dd272357">RuleBasedCollator</a> (const uint8_t *bin, int32_t length, const <a class="el" href="classicu_1_1RuleBasedCollator.html">RuleBasedCollator</a> *base, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a2f4c7eeaf020ad68e3bd9722dd272357"><td class="mdescLeft">&#160;</td><td class="mdescRight">Opens a collator from a collator binary image created using cloneBinary.  <a href="#a2f4c7eeaf020ad68e3bd9722dd272357">More...</a><br /></td></tr>
<tr class="separator:a2f4c7eeaf020ad68e3bd9722dd272357"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f0ee2464acb12f597680df69a69d97d"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#a7f0ee2464acb12f597680df69a69d97d">~RuleBasedCollator</a> ()</td></tr>
<tr class="memdesc:a7f0ee2464acb12f597680df69a69d97d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#a7f0ee2464acb12f597680df69a69d97d">More...</a><br /></td></tr>
<tr class="separator:a7f0ee2464acb12f597680df69a69d97d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a977c57fe95e8d7121fd899cefd1af8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1RuleBasedCollator.html">RuleBasedCollator</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#a1a977c57fe95e8d7121fd899cefd1af8">operator=</a> (const <a class="el" href="classicu_1_1RuleBasedCollator.html">RuleBasedCollator</a> &amp;other)</td></tr>
<tr class="memdesc:a1a977c57fe95e8d7121fd899cefd1af8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator.  <a href="#a1a977c57fe95e8d7121fd899cefd1af8">More...</a><br /></td></tr>
<tr class="separator:a1a977c57fe95e8d7121fd899cefd1af8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fd2ca09264d26f3067522ce03ec4c92"><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="classicu_1_1RuleBasedCollator.html#a0fd2ca09264d26f3067522ce03ec4c92">operator==</a> (const <a class="el" href="classicu_1_1Collator.html">Collator</a> &amp;other) const </td></tr>
<tr class="memdesc:a0fd2ca09264d26f3067522ce03ec4c92"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if argument is the same as this object.  <a href="#a0fd2ca09264d26f3067522ce03ec4c92">More...</a><br /></td></tr>
<tr class="separator:a0fd2ca09264d26f3067522ce03ec4c92"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34a873f2ec25d787bf6f123d27221e73"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1Collator.html">Collator</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#a34a873f2ec25d787bf6f123d27221e73">clone</a> (void) const </td></tr>
<tr class="memdesc:a34a873f2ec25d787bf6f123d27221e73"><td class="mdescLeft">&#160;</td><td class="mdescRight">Makes a copy of this object.  <a href="#a34a873f2ec25d787bf6f123d27221e73">More...</a><br /></td></tr>
<tr class="separator:a34a873f2ec25d787bf6f123d27221e73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad69ff21358c28b238f6a23ef8b6fd9c4"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1CollationElementIterator.html">CollationElementIterator</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#ad69ff21358c28b238f6a23ef8b6fd9c4">createCollationElementIterator</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;source) const </td></tr>
<tr class="memdesc:ad69ff21358c28b238f6a23ef8b6fd9c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a collation element iterator for the source string.  <a href="#ad69ff21358c28b238f6a23ef8b6fd9c4">More...</a><br /></td></tr>
<tr class="separator:ad69ff21358c28b238f6a23ef8b6fd9c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afdbd1b7ba2a7efe051e3f411dd422db1"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1CollationElementIterator.html">CollationElementIterator</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#afdbd1b7ba2a7efe051e3f411dd422db1">createCollationElementIterator</a> (const <a class="el" href="classicu_1_1CharacterIterator.html">CharacterIterator</a> &amp;source) const </td></tr>
<tr class="memdesc:afdbd1b7ba2a7efe051e3f411dd422db1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a collation element iterator for the source.  <a href="#afdbd1b7ba2a7efe051e3f411dd422db1">More...</a><br /></td></tr>
<tr class="separator:afdbd1b7ba2a7efe051e3f411dd422db1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6eeec5e18d8f24b737bf814dcd3b8613"><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="classicu_1_1RuleBasedCollator.html#a6eeec5e18d8f24b737bf814dcd3b8613">compare</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;source, const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;target, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a6eeec5e18d8f24b737bf814dcd3b8613"><td class="mdescLeft">&#160;</td><td class="mdescRight">The comparison function compares the character data stored in two different strings.  <a href="#a6eeec5e18d8f24b737bf814dcd3b8613">More...</a><br /></td></tr>
<tr class="separator:a6eeec5e18d8f24b737bf814dcd3b8613"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb572c11065328b5bf608bc541fcb5f8"><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="classicu_1_1RuleBasedCollator.html#adb572c11065328b5bf608bc541fcb5f8">compare</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;source, const <a class="el" href="classicu_1_1UnicodeString.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:adb572c11065328b5bf608bc541fcb5f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Does the same thing as compare but limits the comparison to a specified length.  <a href="#adb572c11065328b5bf608bc541fcb5f8">More...</a><br /></td></tr>
<tr class="separator:adb572c11065328b5bf608bc541fcb5f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56f2e30d640188a6183f371318c18771"><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="classicu_1_1RuleBasedCollator.html#a56f2e30d640188a6183f371318c18771">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:a56f2e30d640188a6183f371318c18771"><td class="mdescLeft">&#160;</td><td class="mdescRight">The comparison function compares the character data stored in two different string arrays.  <a href="#a56f2e30d640188a6183f371318c18771">More...</a><br /></td></tr>
<tr class="separator:a56f2e30d640188a6183f371318c18771"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad95b78164d063cacee6938f18cca179b"><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="classicu_1_1RuleBasedCollator.html#ad95b78164d063cacee6938f18cca179b">compare</a> (<a class="el" href="structUCharIterator.html">UCharIterator</a> &amp;sIter, <a class="el" href="structUCharIterator.html">UCharIterator</a> &amp;tIter, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:ad95b78164d063cacee6938f18cca179b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compares two strings using the <a class="el" href="classicu_1_1Collator.html" title="The Collator class performs locale-sensitive string comparison. ">Collator</a>.  <a href="#ad95b78164d063cacee6938f18cca179b">More...</a><br /></td></tr>
<tr class="separator:ad95b78164d063cacee6938f18cca179b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a05d340b15ffe6763ef0b9d9f87e777"><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="classicu_1_1RuleBasedCollator.html#a2a05d340b15ffe6763ef0b9d9f87e777">compareUTF8</a> (const <a class="el" href="classicu_1_1StringPiece.html">StringPiece</a> &amp;source, const <a class="el" href="classicu_1_1StringPiece.html">StringPiece</a> &amp;target, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a2a05d340b15ffe6763ef0b9d9f87e777"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compares two UTF-8 strings using the <a class="el" href="classicu_1_1Collator.html" title="The Collator class performs locale-sensitive string comparison. ">Collator</a>.  <a href="#a2a05d340b15ffe6763ef0b9d9f87e777">More...</a><br /></td></tr>
<tr class="separator:a2a05d340b15ffe6763ef0b9d9f87e777"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a065e4823a0517d59c8558993c57e6915"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1CollationKey.html">CollationKey</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#a065e4823a0517d59c8558993c57e6915">getCollationKey</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;source, <a class="el" href="classicu_1_1CollationKey.html">CollationKey</a> &amp;key, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a065e4823a0517d59c8558993c57e6915"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transforms the string into a series of characters that can be compared with CollationKey.compare().  <a href="#a065e4823a0517d59c8558993c57e6915">More...</a><br /></td></tr>
<tr class="separator:a065e4823a0517d59c8558993c57e6915"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a715637af0c17ba697e3263c34a0b4f08"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1CollationKey.html">CollationKey</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#a715637af0c17ba697e3263c34a0b4f08">getCollationKey</a> (const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *source, int32_t sourceLength, <a class="el" href="classicu_1_1CollationKey.html">CollationKey</a> &amp;key, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a715637af0c17ba697e3263c34a0b4f08"><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="#a715637af0c17ba697e3263c34a0b4f08">More...</a><br /></td></tr>
<tr class="separator:a715637af0c17ba697e3263c34a0b4f08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50ce8abfb26982673ec73c5135186193"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#a50ce8abfb26982673ec73c5135186193">hashCode</a> () const </td></tr>
<tr class="memdesc:a50ce8abfb26982673ec73c5135186193"><td class="mdescLeft">&#160;</td><td class="mdescRight">Generates the hash code for the rule-based collation object.  <a href="#a50ce8abfb26982673ec73c5135186193">More...</a><br /></td></tr>
<tr class="separator:a50ce8abfb26982673ec73c5135186193"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94aa71dbacf10077ed13a84bfe87ef95"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1Locale.html">Locale</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#a94aa71dbacf10077ed13a84bfe87ef95">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:a94aa71dbacf10077ed13a84bfe87ef95"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the locale of the <a class="el" href="classicu_1_1Collator.html" title="The Collator class performs locale-sensitive string comparison. ">Collator</a>.  <a href="#a94aa71dbacf10077ed13a84bfe87ef95">More...</a><br /></td></tr>
<tr class="separator:a94aa71dbacf10077ed13a84bfe87ef95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9842208cb5468159b2c4e972a1d9f3cc"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#a9842208cb5468159b2c4e972a1d9f3cc">getRules</a> () const </td></tr>
<tr class="memdesc:a9842208cb5468159b2c4e972a1d9f3cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the tailoring rules for this collator.  <a href="#a9842208cb5468159b2c4e972a1d9f3cc">More...</a><br /></td></tr>
<tr class="separator:a9842208cb5468159b2c4e972a1d9f3cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ced1d9d5a8cbb570f777082f8866da6"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#a3ced1d9d5a8cbb570f777082f8866da6">getVersion</a> (<a class="el" href="uversion_8h.html#a61caef96ba86d8e86a4031925ea44e94">UVersionInfo</a> info) const </td></tr>
<tr class="memdesc:a3ced1d9d5a8cbb570f777082f8866da6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the version information for a <a class="el" href="classicu_1_1Collator.html" title="The Collator class performs locale-sensitive string comparison. ">Collator</a>.  <a href="#a3ced1d9d5a8cbb570f777082f8866da6">More...</a><br /></td></tr>
<tr class="separator:a3ced1d9d5a8cbb570f777082f8866da6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afad4275ae7ea663001285e14eded0013"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#afad4275ae7ea663001285e14eded0013">getMaxExpansion</a> (int32_t order) const </td></tr>
<tr class="memdesc:afad4275ae7ea663001285e14eded0013"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the maximum length of any expansion sequences that end with the specified comparison order.  <a href="#afad4275ae7ea663001285e14eded0013">More...</a><br /></td></tr>
<tr class="separator:afad4275ae7ea663001285e14eded0013"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff44758642ebb0b39afa8cc2fc832a49"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#aff44758642ebb0b39afa8cc2fc832a49">getDynamicClassID</a> (void) const </td></tr>
<tr class="memdesc:aff44758642ebb0b39afa8cc2fc832a49"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a unique class ID POLYMORPHICALLY.  <a href="#aff44758642ebb0b39afa8cc2fc832a49">More...</a><br /></td></tr>
<tr class="separator:aff44758642ebb0b39afa8cc2fc832a49"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9dd99ff9a8c8ac903867019deccc222"><td class="memItemLeft" align="right" valign="top">uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#af9dd99ff9a8c8ac903867019deccc222">cloneRuleData</a> (int32_t &amp;length, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:af9dd99ff9a8c8ac903867019deccc222"><td class="mdescLeft">&#160;</td><td class="mdescRight">Do not use this method: The caller and the ICU library might use different heaps.  <a href="#af9dd99ff9a8c8ac903867019deccc222">More...</a><br /></td></tr>
<tr class="separator:af9dd99ff9a8c8ac903867019deccc222"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44463e0341712878757921f56145390a"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#a44463e0341712878757921f56145390a">cloneBinary</a> (uint8_t *buffer, int32_t capacity, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a44463e0341712878757921f56145390a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a binary image of a collator.  <a href="#a44463e0341712878757921f56145390a">More...</a><br /></td></tr>
<tr class="separator:a44463e0341712878757921f56145390a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae64dbc8cddb5b4dfb39075d86abc395f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#ae64dbc8cddb5b4dfb39075d86abc395f">getRules</a> (<a class="el" href="ucol_8h.html#a46363290036b8dffd6862c35e7b5872f">UColRuleOption</a> delta, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;buffer) const </td></tr>
<tr class="memdesc:ae64dbc8cddb5b4dfb39075d86abc395f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns current rules.  <a href="#ae64dbc8cddb5b4dfb39075d86abc395f">More...</a><br /></td></tr>
<tr class="separator:ae64dbc8cddb5b4dfb39075d86abc395f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53cc1952b0c7a8689e0f3fb86aee02d4"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#a53cc1952b0c7a8689e0f3fb86aee02d4">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:a53cc1952b0c7a8689e0f3fb86aee02d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Universal attribute setter.  <a href="#a53cc1952b0c7a8689e0f3fb86aee02d4">More...</a><br /></td></tr>
<tr class="separator:a53cc1952b0c7a8689e0f3fb86aee02d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5035222b203536bb351ac2af4bf06a3b"><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="classicu_1_1RuleBasedCollator.html#a5035222b203536bb351ac2af4bf06a3b">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) const </td></tr>
<tr class="memdesc:a5035222b203536bb351ac2af4bf06a3b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Universal attribute getter.  <a href="#a5035222b203536bb351ac2af4bf06a3b">More...</a><br /></td></tr>
<tr class="separator:a5035222b203536bb351ac2af4bf06a3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ca034ec0bfada94f52f9b17a0bebef1"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1Collator.html">Collator</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#a6ca034ec0bfada94f52f9b17a0bebef1">setMaxVariable</a> (<a class="el" href="ucol_8h.html#ae491f1262ff311f19e74830eb685f887">UColReorderCode</a> group, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;errorCode)</td></tr>
<tr class="memdesc:a6ca034ec0bfada94f52f9b17a0bebef1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the variable top to the top of the specified reordering group.  <a href="#a6ca034ec0bfada94f52f9b17a0bebef1">More...</a><br /></td></tr>
<tr class="separator:a6ca034ec0bfada94f52f9b17a0bebef1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2cf313cfa977ed08dd8566234dfbf81c"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucol_8h.html#ae491f1262ff311f19e74830eb685f887">UColReorderCode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#a2cf313cfa977ed08dd8566234dfbf81c">getMaxVariable</a> () const </td></tr>
<tr class="memdesc:a2cf313cfa977ed08dd8566234dfbf81c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the maximum reordering group whose characters are affected by UCOL_ALTERNATE_HANDLING.  <a href="#a2cf313cfa977ed08dd8566234dfbf81c">More...</a><br /></td></tr>
<tr class="separator:a2cf313cfa977ed08dd8566234dfbf81c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af703942fc0754b7cc7f9da288f34ac30"><td class="memItemLeft" align="right" valign="top">virtual uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#af703942fc0754b7cc7f9da288f34ac30">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:af703942fc0754b7cc7f9da288f34ac30"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the variable top to the primary weight of the specified string.  <a href="#af703942fc0754b7cc7f9da288f34ac30">More...</a><br /></td></tr>
<tr class="separator:af703942fc0754b7cc7f9da288f34ac30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b5d17deba77715b3c153e0bc8d2d593"><td class="memItemLeft" align="right" valign="top">virtual uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#a5b5d17deba77715b3c153e0bc8d2d593">setVariableTop</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;varTop, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a5b5d17deba77715b3c153e0bc8d2d593"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the variable top to the primary weight of the specified string.  <a href="#a5b5d17deba77715b3c153e0bc8d2d593">More...</a><br /></td></tr>
<tr class="separator:a5b5d17deba77715b3c153e0bc8d2d593"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c068986eae08c7274ff1c6fd5d0d61f"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#a1c068986eae08c7274ff1c6fd5d0d61f">setVariableTop</a> (uint32_t varTop, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a1c068986eae08c7274ff1c6fd5d0d61f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the variable top to the specified primary weight.  <a href="#a1c068986eae08c7274ff1c6fd5d0d61f">More...</a><br /></td></tr>
<tr class="separator:a1c068986eae08c7274ff1c6fd5d0d61f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3eb6f150fd7ad705f218c66b9f95969e"><td class="memItemLeft" align="right" valign="top">virtual uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#a3eb6f150fd7ad705f218c66b9f95969e">getVariableTop</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a3eb6f150fd7ad705f218c66b9f95969e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the variable top value of a <a class="el" href="classicu_1_1Collator.html" title="The Collator class performs locale-sensitive string comparison. ">Collator</a>.  <a href="#a3eb6f150fd7ad705f218c66b9f95969e">More...</a><br /></td></tr>
<tr class="separator:a3eb6f150fd7ad705f218c66b9f95969e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5eca3366d198d8de015bdf3a94b942c7"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1UnicodeSet.html">UnicodeSet</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#a5eca3366d198d8de015bdf3a94b942c7">getTailoredSet</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a5eca3366d198d8de015bdf3a94b942c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a <a class="el" href="classicu_1_1UnicodeSet.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="#a5eca3366d198d8de015bdf3a94b942c7">More...</a><br /></td></tr>
<tr class="separator:a5eca3366d198d8de015bdf3a94b942c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b1365bfa196f979480d96250ed4b5e7"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#a0b1365bfa196f979480d96250ed4b5e7">getSortKey</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;source, uint8_t *result, int32_t resultLength) const </td></tr>
<tr class="memdesc:a0b1365bfa196f979480d96250ed4b5e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the sort key as an array of bytes from a <a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>.  <a href="#a0b1365bfa196f979480d96250ed4b5e7">More...</a><br /></td></tr>
<tr class="separator:a0b1365bfa196f979480d96250ed4b5e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1acd4527bc89dbed7a7e270a68baa44c"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#a1acd4527bc89dbed7a7e270a68baa44c">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:a1acd4527bc89dbed7a7e270a68baa44c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the sort key as an array of bytes from a UChar buffer.  <a href="#a1acd4527bc89dbed7a7e270a68baa44c">More...</a><br /></td></tr>
<tr class="separator:a1acd4527bc89dbed7a7e270a68baa44c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5e6d4c602e2699dae1ed9cba31df959"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#af5e6d4c602e2699dae1ed9cba31df959">getReorderCodes</a> (int32_t *dest, int32_t destCapacity, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:af5e6d4c602e2699dae1ed9cba31df959"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the reordering codes for this collator.  <a href="#af5e6d4c602e2699dae1ed9cba31df959">More...</a><br /></td></tr>
<tr class="separator:af5e6d4c602e2699dae1ed9cba31df959"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f76d6e957f2c441129e0170c9c6f89a"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#a1f76d6e957f2c441129e0170c9c6f89a">setReorderCodes</a> (const int32_t *reorderCodes, int32_t reorderCodesLength, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a1f76d6e957f2c441129e0170c9c6f89a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the ordering of scripts for this collator.  <a href="#a1f76d6e957f2c441129e0170c9c6f89a">More...</a><br /></td></tr>
<tr class="separator:a1f76d6e957f2c441129e0170c9c6f89a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d5eef2975f299e17cec9123ca5aeb06"><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="classicu_1_1RuleBasedCollator.html#a7d5eef2975f299e17cec9123ca5aeb06">internalCompareUTF8</a> (const char *left, int32_t leftLength, const char *right, int32_t rightLength, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;errorCode) const </td></tr>
<tr class="memdesc:a7d5eef2975f299e17cec9123ca5aeb06"><td class="mdescLeft">&#160;</td><td class="mdescRight">Implements <a class="el" href="ucol_8h.html#a3abc6779e6452106415918199308fab4" title="Compare two strings in UTF-8. ">ucol_strcollUTF8()</a>.  <a href="#a7d5eef2975f299e17cec9123ca5aeb06">More...</a><br /></td></tr>
<tr class="separator:a7d5eef2975f299e17cec9123ca5aeb06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3711f954bab897ce6eaa9ff681bc41ec"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#a3711f954bab897ce6eaa9ff681bc41ec">internalGetShortDefinitionString</a> (const char *locale, char *buffer, int32_t capacity, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a3711f954bab897ce6eaa9ff681bc41ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the short definition string for a collator.  <a href="#a3711f954bab897ce6eaa9ff681bc41ec">More...</a><br /></td></tr>
<tr class="separator:a3711f954bab897ce6eaa9ff681bc41ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46612988b52b4b7a2e2e67c4ec1a2f79"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#a46612988b52b4b7a2e2e67c4ec1a2f79">internalNextSortKeyPart</a> (<a class="el" href="structUCharIterator.html">UCharIterator</a> *iter, uint32_t state[2], uint8_t *dest, int32_t count, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;errorCode) const </td></tr>
<tr class="memdesc:a46612988b52b4b7a2e2e67c4ec1a2f79"><td class="mdescLeft">&#160;</td><td class="mdescRight">Implements <a class="el" href="ucol_8h.html#a8c8ed92bb13577d6cd9a129b38a05d69" title="Gets the next count bytes of a sort key. ">ucol_nextSortKeyPart()</a>.  <a href="#a46612988b52b4b7a2e2e67c4ec1a2f79">More...</a><br /></td></tr>
<tr class="separator:a46612988b52b4b7a2e2e67c4ec1a2f79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac584aec76ee794a86c8611236456b9fb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#ac584aec76ee794a86c8611236456b9fb">RuleBasedCollator</a> ()</td></tr>
<tr class="memdesc:ac584aec76ee794a86c8611236456b9fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Only for use in <a class="el" href="ucol_8h.html#aa128ea0ed3869415c1c96a9a2c997c2d" title="Produce a UCollator instance according to the rules supplied. ">ucol_openRules()</a>.  <a href="#ac584aec76ee794a86c8611236456b9fb">More...</a><br /></td></tr>
<tr class="separator:ac584aec76ee794a86c8611236456b9fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3121b37b4dc749dcb270eae08cb9d987"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#a3121b37b4dc749dcb270eae08cb9d987">internalGetLocaleID</a> (<a class="el" href="uloc_8h.html#adf053345d343f8d82ae080f7a5871f34">ULocDataLocaleType</a> type, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;errorCode) const </td></tr>
<tr class="memdesc:a3121b37b4dc749dcb270eae08cb9d987"><td class="mdescLeft">&#160;</td><td class="mdescRight">Implements <a class="el" href="ucol_8h.html#ade40592efde5935d3c0cd6f940d4c2e4" title="gets the locale name of the collator. ">ucol_getLocaleByType()</a>.  <a href="#a3121b37b4dc749dcb270eae08cb9d987">More...</a><br /></td></tr>
<tr class="separator:a3121b37b4dc749dcb270eae08cb9d987"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0bee9550bc5b48268312d217cc37f6a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#af0bee9550bc5b48268312d217cc37f6a">internalGetContractionsAndExpansions</a> (<a class="el" href="classicu_1_1UnicodeSet.html">UnicodeSet</a> *contractions, <a class="el" href="classicu_1_1UnicodeSet.html">UnicodeSet</a> *expansions, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> addPrefixes, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;errorCode) const </td></tr>
<tr class="memdesc:af0bee9550bc5b48268312d217cc37f6a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Implements <a class="el" href="ucol_8h.html#a395afb2b873efee82430ac0ab2388250" title="Get a set containing the expansions defined by the collator. ">ucol_getContractionsAndExpansions()</a>.  <a href="#af0bee9550bc5b48268312d217cc37f6a">More...</a><br /></td></tr>
<tr class="separator:af0bee9550bc5b48268312d217cc37f6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9b371f8b52177c1b9af649154326d38"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#aa9b371f8b52177c1b9af649154326d38">internalAddContractions</a> (<a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> c, <a class="el" href="classicu_1_1UnicodeSet.html">UnicodeSet</a> &amp;set, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;errorCode) const </td></tr>
<tr class="memdesc:aa9b371f8b52177c1b9af649154326d38"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds the contractions that start with character c to the set.  <a href="#aa9b371f8b52177c1b9af649154326d38">More...</a><br /></td></tr>
<tr class="separator:aa9b371f8b52177c1b9af649154326d38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6eb360c4a1a95bbb24a19090361b8923"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#a6eb360c4a1a95bbb24a19090361b8923">internalBuildTailoring</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;rules, int32_t strength, <a class="el" href="ucol_8h.html#acc801048729e684bcabed328be85f77a">UColAttributeValue</a> decompositionMode, <a class="el" href="structUParseError.html">UParseError</a> *outParseError, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> *outReason, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;errorCode)</td></tr>
<tr class="memdesc:a6eb360c4a1a95bbb24a19090361b8923"><td class="mdescLeft">&#160;</td><td class="mdescRight">Implements from-rule constructors, and <a class="el" href="ucol_8h.html#aa128ea0ed3869415c1c96a9a2c997c2d" title="Produce a UCollator instance according to the rules supplied. ">ucol_openRules()</a>.  <a href="#a6eb360c4a1a95bbb24a19090361b8923">More...</a><br /></td></tr>
<tr class="separator:a6eb360c4a1a95bbb24a19090361b8923"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef7be1461343cc08500a1faea72a8f78"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#aef7be1461343cc08500a1faea72a8f78">internalGetCEs</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;str, UVector64 &amp;ces, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;errorCode) const </td></tr>
<tr class="memdesc:aef7be1461343cc08500a1faea72a8f78"><td class="mdescLeft">&#160;</td><td class="mdescRight">Appends the CEs for the string to the vector.  <a href="#aef7be1461343cc08500a1faea72a8f78">More...</a><br /></td></tr>
<tr class="separator:aef7be1461343cc08500a1faea72a8f78"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classicu_1_1Collator"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classicu_1_1Collator')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classicu_1_1Collator.html">icu::Collator</a></td></tr>
<tr class="memitem:a9c517ed7ea3633ec4e3e1fb879260cf6 inherit pub_methods_classicu_1_1Collator"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Collator.html#a9c517ed7ea3633ec4e3e1fb879260cf6">~Collator</a> ()</td></tr>
<tr class="memdesc:a9c517ed7ea3633ec4e3e1fb879260cf6 inherit pub_methods_classicu_1_1Collator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#a9c517ed7ea3633ec4e3e1fb879260cf6">More...</a><br /></td></tr>
<tr class="separator:a9c517ed7ea3633ec4e3e1fb879260cf6 inherit pub_methods_classicu_1_1Collator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a709fc13d06f6ee45d40d21edd420434d inherit pub_methods_classicu_1_1Collator"><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="classicu_1_1Collator.html#a709fc13d06f6ee45d40d21edd420434d">operator!=</a> (const <a class="el" href="classicu_1_1Collator.html">Collator</a> &amp;other) const </td></tr>
<tr class="memdesc:a709fc13d06f6ee45d40d21edd420434d inherit pub_methods_classicu_1_1Collator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if "other" is not the same as "this".  <a href="#a709fc13d06f6ee45d40d21edd420434d">More...</a><br /></td></tr>
<tr class="separator:a709fc13d06f6ee45d40d21edd420434d inherit pub_methods_classicu_1_1Collator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a844bcb05f66aeaf17b2c52d8d7294d1d inherit pub_methods_classicu_1_1Collator"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1Collator.html#ac9827be018f594eae0573473034233b7">EComparisonResult</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Collator.html#a844bcb05f66aeaf17b2c52d8d7294d1d">compare</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;source, const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;target) const </td></tr>
<tr class="memdesc:a844bcb05f66aeaf17b2c52d8d7294d1d inherit pub_methods_classicu_1_1Collator"><td class="mdescLeft">&#160;</td><td class="mdescRight">The comparison function compares the character data stored in two different strings.  <a href="#a844bcb05f66aeaf17b2c52d8d7294d1d">More...</a><br /></td></tr>
<tr class="separator:a844bcb05f66aeaf17b2c52d8d7294d1d inherit pub_methods_classicu_1_1Collator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a186b8b940ebf5dd72bffa41bc436305c inherit pub_methods_classicu_1_1Collator"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1Collator.html#ac9827be018f594eae0573473034233b7">EComparisonResult</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Collator.html#a186b8b940ebf5dd72bffa41bc436305c">compare</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;source, const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;target, int32_t length) const </td></tr>
<tr class="memdesc:a186b8b940ebf5dd72bffa41bc436305c inherit pub_methods_classicu_1_1Collator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Does the same thing as compare but limits the comparison to a specified length.  <a href="#a186b8b940ebf5dd72bffa41bc436305c">More...</a><br /></td></tr>
<tr class="separator:a186b8b940ebf5dd72bffa41bc436305c inherit pub_methods_classicu_1_1Collator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afdbe04d59924d1441f8476526e45d15f inherit pub_methods_classicu_1_1Collator"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1Collator.html#ac9827be018f594eae0573473034233b7">EComparisonResult</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Collator.html#afdbe04d59924d1441f8476526e45d15f">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:afdbe04d59924d1441f8476526e45d15f inherit pub_methods_classicu_1_1Collator"><td class="mdescLeft">&#160;</td><td class="mdescRight">The comparison function compares the character data stored in two different string arrays.  <a href="#afdbe04d59924d1441f8476526e45d15f">More...</a><br /></td></tr>
<tr class="separator:afdbe04d59924d1441f8476526e45d15f inherit pub_methods_classicu_1_1Collator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afce3c5befa3a044670252853a4c74fb7 inherit pub_methods_classicu_1_1Collator"><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="classicu_1_1Collator.html#afce3c5befa3a044670252853a4c74fb7">greater</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;source, const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;target) const </td></tr>
<tr class="memdesc:afce3c5befa3a044670252853a4c74fb7 inherit pub_methods_classicu_1_1Collator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convenience method for comparing two strings based on the collation rules.  <a href="#afce3c5befa3a044670252853a4c74fb7">More...</a><br /></td></tr>
<tr class="separator:afce3c5befa3a044670252853a4c74fb7 inherit pub_methods_classicu_1_1Collator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe57c202d01671dcad4c1bd18d2e26d7 inherit pub_methods_classicu_1_1Collator"><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="classicu_1_1Collator.html#abe57c202d01671dcad4c1bd18d2e26d7">greaterOrEqual</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;source, const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;target) const </td></tr>
<tr class="memdesc:abe57c202d01671dcad4c1bd18d2e26d7 inherit pub_methods_classicu_1_1Collator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convenience method for comparing two strings based on the collation rules.  <a href="#abe57c202d01671dcad4c1bd18d2e26d7">More...</a><br /></td></tr>
<tr class="separator:abe57c202d01671dcad4c1bd18d2e26d7 inherit pub_methods_classicu_1_1Collator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aceef4906764344644ea1493eb58a71b0 inherit pub_methods_classicu_1_1Collator"><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="classicu_1_1Collator.html#aceef4906764344644ea1493eb58a71b0">equals</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;source, const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;target) const </td></tr>
<tr class="memdesc:aceef4906764344644ea1493eb58a71b0 inherit pub_methods_classicu_1_1Collator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convenience method for comparing two strings based on the collation rules.  <a href="#aceef4906764344644ea1493eb58a71b0">More...</a><br /></td></tr>
<tr class="separator:aceef4906764344644ea1493eb58a71b0 inherit pub_methods_classicu_1_1Collator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade30058ee5084298c35554c3c496c67b inherit pub_methods_classicu_1_1Collator"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1Collator.html#a82bc20541fe4503fb78644a1968e15a2">ECollationStrength</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Collator.html#ade30058ee5084298c35554c3c496c67b">getStrength</a> (void) const </td></tr>
<tr class="memdesc:ade30058ee5084298c35554c3c496c67b inherit pub_methods_classicu_1_1Collator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the minimum strength that will be used in comparison or transformation.  <a href="#ade30058ee5084298c35554c3c496c67b">More...</a><br /></td></tr>
<tr class="separator:ade30058ee5084298c35554c3c496c67b inherit pub_methods_classicu_1_1Collator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bfd9426f93b39666975c6259fb71281 inherit pub_methods_classicu_1_1Collator"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Collator.html#a5bfd9426f93b39666975c6259fb71281">setStrength</a> (<a class="el" href="classicu_1_1Collator.html#a82bc20541fe4503fb78644a1968e15a2">ECollationStrength</a> newStrength)</td></tr>
<tr class="memdesc:a5bfd9426f93b39666975c6259fb71281 inherit pub_methods_classicu_1_1Collator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the minimum strength to be used in comparison or transformation.  <a href="#a5bfd9426f93b39666975c6259fb71281">More...</a><br /></td></tr>
<tr class="separator:a5bfd9426f93b39666975c6259fb71281 inherit pub_methods_classicu_1_1Collator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5672d9a7d5044b67a5bc9e71a051d749 inherit pub_methods_classicu_1_1Collator"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1Collator.html">Collator</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Collator.html#a5672d9a7d5044b67a5bc9e71a051d749">safeClone</a> (void) const </td></tr>
<tr class="memdesc:a5672d9a7d5044b67a5bc9e71a051d749 inherit pub_methods_classicu_1_1Collator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Same as <a class="el" href="classicu_1_1Collator.html#a505289afa039447c0cf500558ac249e0" title="Makes a copy of this object. ">clone()</a>.  <a href="#a5672d9a7d5044b67a5bc9e71a051d749">More...</a><br /></td></tr>
<tr class="separator:a5672d9a7d5044b67a5bc9e71a051d749 inherit pub_methods_classicu_1_1Collator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a689c266ee05d6400ad28fe53a0454c5e inherit pub_methods_classicu_1_1Collator"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucol_8h.html#a3c4eeb412a5fd72762e6245aa75ca081">UCollator</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Collator.html#a689c266ee05d6400ad28fe53a0454c5e">toUCollator</a> ()</td></tr>
<tr class="separator:a689c266ee05d6400ad28fe53a0454c5e inherit pub_methods_classicu_1_1Collator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c39895efbddc97781ed2c4c4167e4d8 inherit pub_methods_classicu_1_1Collator"><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="classicu_1_1Collator.html#a2c39895efbddc97781ed2c4c4167e4d8">toUCollator</a> () const </td></tr>
<tr class="separator:a2c39895efbddc97781ed2c4c4167e4d8 inherit pub_methods_classicu_1_1Collator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classicu_1_1UObject"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classicu_1_1UObject')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classicu_1_1UObject.html">icu::UObject</a></td></tr>
<tr class="memitem:af10026497704f510d3d1f2eff50acb18 inherit pub_methods_classicu_1_1UObject"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1UObject.html#af10026497704f510d3d1f2eff50acb18">~UObject</a> ()</td></tr>
<tr class="memdesc:af10026497704f510d3d1f2eff50acb18 inherit pub_methods_classicu_1_1UObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#af10026497704f510d3d1f2eff50acb18">More...</a><br /></td></tr>
<tr class="separator:af10026497704f510d3d1f2eff50acb18 inherit pub_methods_classicu_1_1UObject"><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:a6e27ca183d6a802a5701130f5df4500f"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#a6e27ca183d6a802a5701130f5df4500f">getStaticClassID</a> (void)</td></tr>
<tr class="memdesc:a6e27ca183d6a802a5701130f5df4500f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the class ID for this class.  <a href="#a6e27ca183d6a802a5701130f5df4500f">More...</a><br /></td></tr>
<tr class="separator:a6e27ca183d6a802a5701130f5df4500f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1fd0965e5d4d3c5bc59d714734131eba"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1RuleBasedCollator.html">RuleBasedCollator</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#a1fd0965e5d4d3c5bc59d714734131eba">rbcFromUCollator</a> (<a class="el" href="ucol_8h.html#a3c4eeb412a5fd72762e6245aa75ca081">UCollator</a> *uc)</td></tr>
<tr class="separator:a1fd0965e5d4d3c5bc59d714734131eba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2181fe478db9dbe58d1e6cbaed29fe30"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classicu_1_1RuleBasedCollator.html">RuleBasedCollator</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#a2181fe478db9dbe58d1e6cbaed29fe30">rbcFromUCollator</a> (const <a class="el" href="ucol_8h.html#a3c4eeb412a5fd72762e6245aa75ca081">UCollator</a> *uc)</td></tr>
<tr class="separator:a2181fe478db9dbe58d1e6cbaed29fe30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_classicu_1_1Collator"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classicu_1_1Collator')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classicu_1_1Collator.html">icu::Collator</a></td></tr>
<tr class="memitem:a4e6fdf681aa52573ef5ad0a0bd22eb97 inherit pub_static_methods_classicu_1_1Collator"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1Collator.html">Collator</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Collator.html#a4e6fdf681aa52573ef5ad0a0bd22eb97">createInstance</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;err)</td></tr>
<tr class="memdesc:a4e6fdf681aa52573ef5ad0a0bd22eb97 inherit pub_static_methods_classicu_1_1Collator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates the <a class="el" href="classicu_1_1Collator.html" title="The Collator class performs locale-sensitive string comparison. ">Collator</a> object for the current default locale.  <a href="#a4e6fdf681aa52573ef5ad0a0bd22eb97">More...</a><br /></td></tr>
<tr class="separator:a4e6fdf681aa52573ef5ad0a0bd22eb97 inherit pub_static_methods_classicu_1_1Collator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7aa04c72be7c47935cc5c6308c0677c inherit pub_static_methods_classicu_1_1Collator"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1Collator.html">Collator</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Collator.html#af7aa04c72be7c47935cc5c6308c0677c">createInstance</a> (const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;loc, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;err)</td></tr>
<tr class="memdesc:af7aa04c72be7c47935cc5c6308c0677c inherit pub_static_methods_classicu_1_1Collator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the collation object for the desired locale.  <a href="#af7aa04c72be7c47935cc5c6308c0677c">More...</a><br /></td></tr>
<tr class="separator:af7aa04c72be7c47935cc5c6308c0677c inherit pub_static_methods_classicu_1_1Collator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7c8befb8e7086be8fca27d23072b4d5 inherit pub_static_methods_classicu_1_1Collator"><td class="memItemLeft" align="right" valign="top">static int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Collator.html#af7c8befb8e7086be8fca27d23072b4d5">getEquivalentReorderCodes</a> (int32_t reorderCode, int32_t *dest, int32_t destCapacity, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:af7c8befb8e7086be8fca27d23072b4d5 inherit pub_static_methods_classicu_1_1Collator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the reorder codes that are grouped with the given reorder code.  <a href="#af7c8befb8e7086be8fca27d23072b4d5">More...</a><br /></td></tr>
<tr class="separator:af7c8befb8e7086be8fca27d23072b4d5 inherit pub_static_methods_classicu_1_1Collator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afbdfbd00fc3442fdd01b2c3519e54b3d inherit pub_static_methods_classicu_1_1Collator"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Collator.html#afbdfbd00fc3442fdd01b2c3519e54b3d">getDisplayName</a> (const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;objectLocale, const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;displayLocale, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;name)</td></tr>
<tr class="memdesc:afbdfbd00fc3442fdd01b2c3519e54b3d inherit pub_static_methods_classicu_1_1Collator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get name of the object for the desired <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a>, in the desired langauge.  <a href="#afbdfbd00fc3442fdd01b2c3519e54b3d">More...</a><br /></td></tr>
<tr class="separator:afbdfbd00fc3442fdd01b2c3519e54b3d inherit pub_static_methods_classicu_1_1Collator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0bbcba6a2a4437f1ef8e498ca7036681 inherit pub_static_methods_classicu_1_1Collator"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Collator.html#a0bbcba6a2a4437f1ef8e498ca7036681">getDisplayName</a> (const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;objectLocale, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;name)</td></tr>
<tr class="memdesc:a0bbcba6a2a4437f1ef8e498ca7036681 inherit pub_static_methods_classicu_1_1Collator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get name of the object for the desired <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a>, in the langauge of the default locale.  <a href="#a0bbcba6a2a4437f1ef8e498ca7036681">More...</a><br /></td></tr>
<tr class="separator:a0bbcba6a2a4437f1ef8e498ca7036681 inherit pub_static_methods_classicu_1_1Collator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8860a64cf24005a2b7daefa2b3d7e84 inherit pub_static_methods_classicu_1_1Collator"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classicu_1_1Locale.html">Locale</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Collator.html#af8860a64cf24005a2b7daefa2b3d7e84">getAvailableLocales</a> (int32_t &amp;count)</td></tr>
<tr class="memdesc:af8860a64cf24005a2b7daefa2b3d7e84 inherit pub_static_methods_classicu_1_1Collator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the set of Locales for which Collations are installed.  <a href="#af8860a64cf24005a2b7daefa2b3d7e84">More...</a><br /></td></tr>
<tr class="separator:af8860a64cf24005a2b7daefa2b3d7e84 inherit pub_static_methods_classicu_1_1Collator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83bbaa40da657a056dc410a54d3b4d2f inherit pub_static_methods_classicu_1_1Collator"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1StringEnumeration.html">StringEnumeration</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Collator.html#a83bbaa40da657a056dc410a54d3b4d2f">getAvailableLocales</a> (void)</td></tr>
<tr class="memdesc:a83bbaa40da657a056dc410a54d3b4d2f inherit pub_static_methods_classicu_1_1Collator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a <a class="el" href="classicu_1_1StringEnumeration.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="#a83bbaa40da657a056dc410a54d3b4d2f">More...</a><br /></td></tr>
<tr class="separator:a83bbaa40da657a056dc410a54d3b4d2f inherit pub_static_methods_classicu_1_1Collator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a223dc10a01a290aba9077ed10278eabd inherit pub_static_methods_classicu_1_1Collator"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1StringEnumeration.html">StringEnumeration</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Collator.html#a223dc10a01a290aba9077ed10278eabd">getKeywords</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a223dc10a01a290aba9077ed10278eabd inherit pub_static_methods_classicu_1_1Collator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a string enumerator of all possible keywords that are relevant to collation.  <a href="#a223dc10a01a290aba9077ed10278eabd">More...</a><br /></td></tr>
<tr class="separator:a223dc10a01a290aba9077ed10278eabd inherit pub_static_methods_classicu_1_1Collator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a425557850270d5fbb2dd77bf8f2a4f19 inherit pub_static_methods_classicu_1_1Collator"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1StringEnumeration.html">StringEnumeration</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Collator.html#a425557850270d5fbb2dd77bf8f2a4f19">getKeywordValues</a> (const char *keyword, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a425557850270d5fbb2dd77bf8f2a4f19 inherit pub_static_methods_classicu_1_1Collator"><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="#a425557850270d5fbb2dd77bf8f2a4f19">More...</a><br /></td></tr>
<tr class="separator:a425557850270d5fbb2dd77bf8f2a4f19 inherit pub_static_methods_classicu_1_1Collator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a869f42454f0e55cf27737b14c542498f inherit pub_static_methods_classicu_1_1Collator"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1StringEnumeration.html">StringEnumeration</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Collator.html#a869f42454f0e55cf27737b14c542498f">getKeywordValuesForLocale</a> (const char *keyword, const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;locale, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> commonlyUsed, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a869f42454f0e55cf27737b14c542498f inherit pub_static_methods_classicu_1_1Collator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a key and a locale, returns an array of string values in a preferred order that would make a difference.  <a href="#a869f42454f0e55cf27737b14c542498f">More...</a><br /></td></tr>
<tr class="separator:a869f42454f0e55cf27737b14c542498f inherit pub_static_methods_classicu_1_1Collator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a394651828ed9f32b0ca62a0cb3069c1a inherit pub_static_methods_classicu_1_1Collator"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1Locale.html">Locale</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Collator.html#a394651828ed9f32b0ca62a0cb3069c1a">getFunctionalEquivalent</a> (const char *keyword, const <a class="el" href="classicu_1_1Locale.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:a394651828ed9f32b0ca62a0cb3069c1a inherit pub_static_methods_classicu_1_1Collator"><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="#a394651828ed9f32b0ca62a0cb3069c1a">More...</a><br /></td></tr>
<tr class="separator:a394651828ed9f32b0ca62a0cb3069c1a inherit pub_static_methods_classicu_1_1Collator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07848f613016be2dcbead263a88b7bc8 inherit pub_static_methods_classicu_1_1Collator"><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="classicu_1_1Collator.html#a07848f613016be2dcbead263a88b7bc8">registerInstance</a> (<a class="el" href="classicu_1_1Collator.html">Collator</a> *toAdopt, const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;locale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a07848f613016be2dcbead263a88b7bc8 inherit pub_static_methods_classicu_1_1Collator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Register a new <a class="el" href="classicu_1_1Collator.html" title="The Collator class performs locale-sensitive string comparison. ">Collator</a>.  <a href="#a07848f613016be2dcbead263a88b7bc8">More...</a><br /></td></tr>
<tr class="separator:a07848f613016be2dcbead263a88b7bc8 inherit pub_static_methods_classicu_1_1Collator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95e7393eab7ac7d4e8896b2a3137fb93 inherit pub_static_methods_classicu_1_1Collator"><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="classicu_1_1Collator.html#a95e7393eab7ac7d4e8896b2a3137fb93">registerFactory</a> (<a class="el" href="classicu_1_1CollatorFactory.html">CollatorFactory</a> *toAdopt, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a95e7393eab7ac7d4e8896b2a3137fb93 inherit pub_static_methods_classicu_1_1Collator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Register a new <a class="el" href="classicu_1_1CollatorFactory.html" title="A factory, used with registerFactory, the creates multiple collators and provides display names for t...">CollatorFactory</a>.  <a href="#a95e7393eab7ac7d4e8896b2a3137fb93">More...</a><br /></td></tr>
<tr class="separator:a95e7393eab7ac7d4e8896b2a3137fb93 inherit pub_static_methods_classicu_1_1Collator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeac8f5fccf2d34f806f9cb4655f10d24 inherit pub_static_methods_classicu_1_1Collator"><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="classicu_1_1Collator.html#aeac8f5fccf2d34f806f9cb4655f10d24">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:aeac8f5fccf2d34f806f9cb4655f10d24 inherit pub_static_methods_classicu_1_1Collator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unregister a previously-registered <a class="el" href="classicu_1_1Collator.html" title="The Collator class performs locale-sensitive string comparison. ">Collator</a> or <a class="el" href="classicu_1_1CollatorFactory.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="#aeac8f5fccf2d34f806f9cb4655f10d24">More...</a><br /></td></tr>
<tr class="separator:aeac8f5fccf2d34f806f9cb4655f10d24 inherit pub_static_methods_classicu_1_1Collator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c6cd94597a5581a40e0eb9c8ba4b3af inherit pub_static_methods_classicu_1_1Collator"><td class="memItemLeft" align="right" valign="top">static int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Collator.html#a5c6cd94597a5581a40e0eb9c8ba4b3af">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:a5c6cd94597a5581a40e0eb9c8ba4b3af inherit pub_static_methods_classicu_1_1Collator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Produce a bound for a given sortkey and a number of levels.  <a href="#a5c6cd94597a5581a40e0eb9c8ba4b3af">More...</a><br /></td></tr>
<tr class="separator:a5c6cd94597a5581a40e0eb9c8ba4b3af inherit pub_static_methods_classicu_1_1Collator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64e8727c677889abc1a2b38b0174955e inherit pub_static_methods_classicu_1_1Collator"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1Collator.html">Collator</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Collator.html#a64e8727c677889abc1a2b38b0174955e">fromUCollator</a> (<a class="el" href="ucol_8h.html#a3c4eeb412a5fd72762e6245aa75ca081">UCollator</a> *uc)</td></tr>
<tr class="separator:a64e8727c677889abc1a2b38b0174955e inherit pub_static_methods_classicu_1_1Collator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a4a815ee9a2da4e9b9f87b905e1385e inherit pub_static_methods_classicu_1_1Collator"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classicu_1_1Collator.html">Collator</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Collator.html#a9a4a815ee9a2da4e9b9f87b905e1385e">fromUCollator</a> (const <a class="el" href="ucol_8h.html#a3c4eeb412a5fd72762e6245aa75ca081">UCollator</a> *uc)</td></tr>
<tr class="separator:a9a4a815ee9a2da4e9b9f87b905e1385e inherit pub_static_methods_classicu_1_1Collator"><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:a4b5d90263cb69f616175d275c6757748"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1RuleBasedCollator.html#a4b5d90263cb69f616175d275c6757748">setLocales</a> (const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;requestedLocale, const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;validLocale, const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;actualLocale)</td></tr>
<tr class="memdesc:a4b5d90263cb69f616175d275c6757748"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used internally by registration to define the requested and valid locales.  <a href="#a4b5d90263cb69f616175d275c6757748">More...</a><br /></td></tr>
<tr class="separator:a4b5d90263cb69f616175d275c6757748"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classicu_1_1Collator"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classicu_1_1Collator')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classicu_1_1Collator.html">icu::Collator</a></td></tr>
<tr class="memitem:a3fa9751f0fc15a504bdaa4aa22e26747 inherit pro_methods_classicu_1_1Collator"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Collator.html#a3fa9751f0fc15a504bdaa4aa22e26747">Collator</a> ()</td></tr>
<tr class="memdesc:a3fa9751f0fc15a504bdaa4aa22e26747 inherit pro_methods_classicu_1_1Collator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor.  <a href="#a3fa9751f0fc15a504bdaa4aa22e26747">More...</a><br /></td></tr>
<tr class="separator:a3fa9751f0fc15a504bdaa4aa22e26747 inherit pro_methods_classicu_1_1Collator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98c42c147eae65ccd5334f2e5ae8082e inherit pro_methods_classicu_1_1Collator"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Collator.html#a98c42c147eae65ccd5334f2e5ae8082e">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:a98c42c147eae65ccd5334f2e5ae8082e inherit pro_methods_classicu_1_1Collator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a98c42c147eae65ccd5334f2e5ae8082e">More...</a><br /></td></tr>
<tr class="separator:a98c42c147eae65ccd5334f2e5ae8082e inherit pro_methods_classicu_1_1Collator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5c82b8f9f914bdf1586e5fdf9cba3f8 inherit pro_methods_classicu_1_1Collator"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Collator.html#af5c82b8f9f914bdf1586e5fdf9cba3f8">Collator</a> (const <a class="el" href="classicu_1_1Collator.html">Collator</a> &amp;other)</td></tr>
<tr class="memdesc:af5c82b8f9f914bdf1586e5fdf9cba3f8 inherit pro_methods_classicu_1_1Collator"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor.  <a href="#af5c82b8f9f914bdf1586e5fdf9cba3f8">More...</a><br /></td></tr>
<tr class="separator:af5c82b8f9f914bdf1586e5fdf9cba3f8 inherit pro_methods_classicu_1_1Collator"><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"><b>CollationElementIterator</b></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"><b>Collator</b></td></tr>
<tr class="separator:af22e5ffabbf5a2d4d729daa0b5d3cafd"><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_classicu_1_1Collator"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classicu_1_1Collator')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classicu_1_1Collator.html">icu::Collator</a></td></tr>
<tr class="memitem:a82bc20541fe4503fb78644a1968e15a2 inherit pub_types_classicu_1_1Collator"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Collator.html#a82bc20541fe4503fb78644a1968e15a2">ECollationStrength</a> { <br />
&#160;&#160;<b>PRIMARY</b> = UCOL_PRIMARY, 
<b>SECONDARY</b> = UCOL_SECONDARY, 
<b>TERTIARY</b> = UCOL_TERTIARY, 
<b>QUATERNARY</b> = UCOL_QUATERNARY, 
<br />
&#160;&#160;<b>IDENTICAL</b> = UCOL_IDENTICAL
<br />
 }<tr class="memdesc:a82bc20541fe4503fb78644a1968e15a2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Base letter represents a primary difference.  <a href="classicu_1_1Collator.html#a82bc20541fe4503fb78644a1968e15a2">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a82bc20541fe4503fb78644a1968e15a2 inherit pub_types_classicu_1_1Collator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9827be018f594eae0573473034233b7 inherit pub_types_classicu_1_1Collator"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Collator.html#ac9827be018f594eae0573473034233b7">EComparisonResult</a> { <b>LESS</b> = UCOL_LESS, 
<b>EQUAL</b> = UCOL_EQUAL, 
<b>GREATER</b> = UCOL_GREATER
 }<tr class="memdesc:ac9827be018f594eae0573473034233b7"><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="classicu_1_1Collator.html#a844bcb05f66aeaf17b2c52d8d7294d1d" title="The comparison function compares the character data stored in two different strings. ">compare()</a> method.  <a href="classicu_1_1Collator.html#ac9827be018f594eae0573473034233b7">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:ac9827be018f594eae0573473034233b7 inherit pub_types_classicu_1_1Collator"><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="classicu_1_1RuleBasedCollator.html" title="The RuleBasedCollator class provides the implementation of Collator, using data-driven tables...">RuleBasedCollator</a> class provides the implementation of <a class="el" href="classicu_1_1Collator.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>For more information about the collation service see <a href="http://userguide.icu-project.org/collation">the User 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/reports/tr35/tr35-collation.html#Root_Collation">CLDR root 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://userguide.icu-project.org/collation/customization">Collation Customization</a> section of the User Guide. </p>
<p>Note, <a class="el" href="classicu_1_1RuleBasedCollator.html" title="The RuleBasedCollator class provides the 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="classicu_1_1Collator.html" title="The Collator class performs locale-sensitive string comparison. ">Collator</a> </dd></dl>

<p>Definition at line <a class="el" href="tblcoll_8h_source.html#l00113">113</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="ab26b8846a053c2def598ec7c957cfcc4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">icu::RuleBasedCollator::RuleBasedCollator </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.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="classicu_1_1RuleBasedCollator.html" title="The RuleBasedCollator class provides the 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="classicu_1_1RuleBasedCollator.html" title="The RuleBasedCollator class provides the 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="stable"><dt><b><a class="el" href="stable.html#_stable004451">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="aaf9a00014372009c71cd36430da4f610"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">icu::RuleBasedCollator::RuleBasedCollator </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.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="classicu_1_1Collator.html#a82bc20541fe4503fb78644a1968e15a2">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="classicu_1_1RuleBasedCollator.html" title="The RuleBasedCollator class provides the 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="classicu_1_1RuleBasedCollator.html" title="The RuleBasedCollator class provides the 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>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="stable"><dt><b><a class="el" href="stable.html#_stable004452">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a07b23add8f39b6d2dd6d608ac9485b97"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">icu::RuleBasedCollator::RuleBasedCollator </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.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="classicu_1_1RuleBasedCollator.html" title="The RuleBasedCollator class provides the 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="classicu_1_1RuleBasedCollator.html" title="The RuleBasedCollator class provides the 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="stable"><dt><b><a class="el" href="stable.html#_stable004453">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a29e95021c2a9acf1fced334f57c074ba"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">icu::RuleBasedCollator::RuleBasedCollator </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.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="classicu_1_1Collator.html#a82bc20541fe4503fb78644a1968e15a2">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="classicu_1_1RuleBasedCollator.html" title="The RuleBasedCollator class provides the 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="classicu_1_1RuleBasedCollator.html" title="The RuleBasedCollator class provides the 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>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="stable"><dt><b><a class="el" href="stable.html#_stable004454">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a4a8fcec445c513c2d32979b565b95528"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">icu::RuleBasedCollator::RuleBasedCollator </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>rules</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structUParseError.html">UParseError</a> &amp;&#160;</td>
          <td class="paramname"><em>parseError</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>reason</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>errorCode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>TODO: document &amp; propose as public API. </p>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000426">Internal:</a></b></dt><dd>Do not use.</dd></dl>
<p>This API is for internal use only. </p>

</div>
</div>
<a class="anchor" id="ad60f53ba1323a3516edf93154006d91c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">icu::RuleBasedCollator::RuleBasedCollator </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1RuleBasedCollator.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="classicu_1_1RuleBasedCollator.html" title="The RuleBasedCollator class provides the implementation of Collator, using data-driven tables...">RuleBasedCollator</a> object to be copied </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004455">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a2f4c7eeaf020ad68e3bd9722dd272357"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">icu::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="classicu_1_1RuleBasedCollator.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 must be the root collator. </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>Base collator, for lookup of untailored characters. Must be the root collator, must not be NULL. The base is required to be present through the lifetime of the collator. </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="classicu_1_1RuleBasedCollator.html#a44463e0341712878757921f56145390a" title="Creates a binary image of a collator. ">cloneBinary</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004456">Stable:</a></b></dt><dd>ICU 3.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a7f0ee2464acb12f597680df69a69d97d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual icu::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#_stable004457">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ac584aec76ee794a86c8611236456b9fb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">icu::RuleBasedCollator::RuleBasedCollator </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Only for use in <a class="el" href="ucol_8h.html#aa128ea0ed3869415c1c96a9a2c997c2d" title="Produce a UCollator instance according to the rules supplied. ">ucol_openRules()</a>. </p>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000430">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a34a873f2ec25d787bf6f123d27221e73"></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="classicu_1_1Collator.html">Collator</a>* icu::RuleBasedCollator::clone </td>
          <td>(</td>
          <td class="paramtype">void&#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 copy of this object. </p>
<dl class="section return"><dt>Returns</dt><dd>a copy of this object, owned by the caller </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004460">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implements <a class="el" href="classicu_1_1Collator.html#a505289afa039447c0cf500558ac249e0">icu::Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a44463e0341712878757921f56145390a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t icu::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> const</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#_stable004475">Stable:</a></b></dt><dd>ICU 3.4 </dd></dl>

</div>
</div>
<a class="anchor" id="af9dd99ff9a8c8ac903867019deccc222"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t* icu::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> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Do not use this method: The caller and the ICU library might use different heaps. </p>
<p>Use <a class="el" href="classicu_1_1RuleBasedCollator.html#a44463e0341712878757921f56145390a" title="Creates a binary image of a collator. ">cloneBinary()</a> instead which writes to caller-provided memory.</p>
<p>Returns a binary format of this collator. </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="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000368">Deprecated:</a></b></dt><dd>ICU 52. Use <a class="el" href="classicu_1_1RuleBasedCollator.html#a44463e0341712878757921f56145390a" title="Creates a binary image of a collator. ">cloneBinary()</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a6eeec5e18d8f24b737bf814dcd3b8613"></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> icu::RuleBasedCollator::compare </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.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="classicu_1_1UnicodeString.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#_stable004463">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

<p>Implements <a class="el" href="classicu_1_1Collator.html#a832794e7b9b813d5a8f638d550cc9b2e">icu::Collator</a>.</p>

</div>
</div>
<a class="anchor" id="adb572c11065328b5bf608bc541fcb5f8"></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> icu::RuleBasedCollator::compare </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.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="classicu_1_1UnicodeString.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#_stable004464">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

<p>Implements <a class="el" href="classicu_1_1Collator.html#ae965267bf6a4c2b7b8aeadeb30059391">icu::Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a56f2e30d640188a6183f371318c18771"></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> icu::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#_stable004465">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

<p>Implements <a class="el" href="classicu_1_1Collator.html#a1f803916ef97452722dfa967e440cc20">icu::Collator</a>.</p>

</div>
</div>
<a class="anchor" id="ad95b78164d063cacee6938f18cca179b"></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> icu::RuleBasedCollator::compare </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structUCharIterator.html">UCharIterator</a> &amp;&#160;</td>
          <td class="paramname"><em>sIter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structUCharIterator.html">UCharIterator</a> &amp;&#160;</td>
          <td class="paramname"><em>tIter</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>Compares two strings using the <a class="el" href="classicu_1_1Collator.html" title="The Collator class performs locale-sensitive string comparison. ">Collator</a>. </p>
<p>Returns whether the first one compares less than/equal to/greater than the second one. This version takes <a class="el" href="structUCharIterator.html" title="C API for code unit iteration. ">UCharIterator</a> input. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sIter</td><td>the first ("source") string iterator </td></tr>
    <tr><td class="paramname">tIter</td><td>the second ("target") string iterator </td></tr>
    <tr><td class="paramname">status</td><td>ICU status </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>UCOL_LESS, UCOL_EQUAL or UCOL_GREATER </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004466">Stable:</a></b></dt><dd>ICU 4.2 </dd></dl>

<p>Reimplemented from <a class="el" href="classicu_1_1Collator.html#a9e09f1d8ffc750e06c2495a5c6674669">icu::Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a2a05d340b15ffe6763ef0b9d9f87e777"></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> icu::RuleBasedCollator::compareUTF8 </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1StringPiece.html">StringPiece</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="classicu_1_1StringPiece.html">StringPiece</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>Compares two UTF-8 strings using the <a class="el" href="classicu_1_1Collator.html" title="The Collator class performs locale-sensitive string comparison. ">Collator</a>. </p>
<p>Returns whether the first one compares less than/equal to/greater than the second one. This version takes UTF-8 input. Note that a <a class="el" href="classicu_1_1StringPiece.html" title="A string-like object that points to a sized piece of memory. ">StringPiece</a> can be implicitly constructed from a std::string or a NUL-terminated const char * string. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td>the first UTF-8 string </td></tr>
    <tr><td class="paramname">target</td><td>the second UTF-8 string </td></tr>
    <tr><td class="paramname">status</td><td>ICU status </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>UCOL_LESS, UCOL_EQUAL or UCOL_GREATER </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004467">Stable:</a></b></dt><dd>ICU 51 </dd></dl>

<p>Reimplemented from <a class="el" href="classicu_1_1Collator.html#acf276ca90c9865f59501615d3728c36f">icu::Collator</a>.</p>

</div>
</div>
<a class="anchor" id="ad69ff21358c28b238f6a23ef8b6fd9c4"></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="classicu_1_1CollationElementIterator.html">CollationElementIterator</a>* icu::RuleBasedCollator::createCollationElementIterator </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.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="classicu_1_1CollationElementIterator.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="classicu_1_1Collator.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#_stable004461">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>

</div>
</div>
<a class="anchor" id="afdbd1b7ba2a7efe051e3f411dd422db1"></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="classicu_1_1CollationElementIterator.html">CollationElementIterator</a>* icu::RuleBasedCollator::createCollationElementIterator </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1CharacterIterator.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="classicu_1_1CharacterIterator.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="classicu_1_1Collator.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#_stable004462">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a5035222b203536bb351ac2af4bf06a3b"></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> icu::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> 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>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#_stable004478">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>

<p>Implements <a class="el" href="classicu_1_1Collator.html#aa3b934fb5a3a08fd8664824159c0ac91">icu::Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a065e4823a0517d59c8558993c57e6915"></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="classicu_1_1CollationKey.html">CollationKey</a>&amp; icu::RuleBasedCollator::getCollationKey </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.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="classicu_1_1CollationKey.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 the string into a series of characters that can be compared with CollationKey.compare(). </p>
<p>Note that sort keys are often less efficient than simply doing comparison. For more details, see the ICU User Guide.</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="classicu_1_1CollationKey.html" title="Collation keys are generated by the Collator class. ">CollationKey</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004468">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implements <a class="el" href="classicu_1_1Collator.html#ad1e3bebe6e3ae7bd79cce7f2cf9f4ab1">icu::Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a715637af0c17ba697e3263c34a0b4f08"></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="classicu_1_1CollationKey.html">CollationKey</a>&amp; icu::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="classicu_1_1CollationKey.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>Note that sort keys are often less efficient than simply doing comparison. For more details, see the ICU User Guide.</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="classicu_1_1CollationKey.html" title="Collation keys are generated by the Collator class. ">CollationKey</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004469">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implements <a class="el" href="classicu_1_1Collator.html#ae0bc68d37c4a88d1cb731adaa5a85e95">icu::Collator</a>.</p>

</div>
</div>
<a class="anchor" id="aff44758642ebb0b39afa8cc2fc832a49"></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="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> icu::RuleBasedCollator::getDynamicClassID </td>
          <td>(</td>
          <td class="paramtype">void&#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="classicu_1_1RuleBasedCollator.html#a0fd2ca09264d26f3067522ce03ec4c92" title="Returns true if argument is the same as this object. ">operator==()</a> and <a class="el" href="classicu_1_1RuleBasedCollator.html#a34a873f2ec25d787bf6f123d27221e73" title="Makes a copy of this 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#_stable004473">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implements <a class="el" href="classicu_1_1Collator.html#a5bc8a1b8e65aa2444aa568e9692aed0a">icu::Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a94aa71dbacf10077ed13a84bfe87ef95"></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="classicu_1_1Locale.html">Locale</a> icu::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="classicu_1_1Collator.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#_deprecated000366">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="classicu_1_1Collator.html#a9ce5b59d720566877b2201747782ed19">icu::Collator</a>.</p>

</div>
</div>
<a class="anchor" id="afad4275ae7ea663001285e14eded0013"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t icu::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>Returns the maximum length of any expansion sequences that end with the specified comparison order. </p>
<p>This is specific to the kind of collation element values and sequences returned by the <a class="el" href="classicu_1_1CollationElementIterator.html" title="The CollationElementIterator class is used as an iterator to walk through each character of an intern...">CollationElementIterator</a>. Call <a class="el" href="classicu_1_1CollationElementIterator.html#ae6c3a2f6563a30984d2eaa08f179e45f" title="Return the maximum length of any expansion sequences that end with the specified comparison order...">CollationElementIterator::getMaxExpansion()</a> instead.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">order</td><td>a collation order returned by <a class="el" href="classicu_1_1CollationElementIterator.html#a66e327b6a4b92679ee15dd5cf787d189" title="Get the ordering priority of the previous collation element in the string. ">CollationElementIterator::previous</a> or <a class="el" href="classicu_1_1CollationElementIterator.html#ab905e96e1672a5dce5812f34938dc930" title="Gets the ordering priority of the next character in the string. ">CollationElementIterator::next</a>. </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 the 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="classicu_1_1CollationElementIterator.html#ae6c3a2f6563a30984d2eaa08f179e45f" title="Return the maximum length of any expansion sequences that end with the specified comparison order...">CollationElementIterator::getMaxExpansion</a> </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000367">Deprecated:</a></b></dt><dd>ICU 51 Use <a class="el" href="classicu_1_1CollationElementIterator.html#ae6c3a2f6563a30984d2eaa08f179e45f" title="Return the maximum length of any expansion sequences that end with the specified comparison order...">CollationElementIterator::getMaxExpansion()</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a2cf313cfa977ed08dd8566234dfbf81c"></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#ae491f1262ff311f19e74830eb685f887">UColReorderCode</a> icu::RuleBasedCollator::getMaxVariable </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the maximum reordering group whose characters are affected by UCOL_ALTERNATE_HANDLING. </p>
<dl class="section return"><dt>Returns</dt><dd>the maximum variable reordering group. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classicu_1_1RuleBasedCollator.html#a6ca034ec0bfada94f52f9b17a0bebef1" title="Sets the variable top to the top of the specified reordering group. ">setMaxVariable</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004480">Stable:</a></b></dt><dd>ICU 53 </dd></dl>

<p>Reimplemented from <a class="el" href="classicu_1_1Collator.html#a04029c393f7fc6d24bf39a5a4bbd9e17">icu::Collator</a>.</p>

</div>
</div>
<a class="anchor" id="af5e6d4c602e2699dae1ed9cba31df959"></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 icu::RuleBasedCollator::getReorderCodes </td>
          <td>(</td>
          <td class="paramtype">int32_t *&#160;</td>
          <td class="paramname"><em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>destCapacity</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>Retrieves the reordering codes for this collator. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dest</td><td>The array to fill with the script ordering. </td></tr>
    <tr><td class="paramname">destCapacity</td><td>The length of dest. If it is 0, then dest may be NULL and the function will only return the length of the result without writing any codes (pre-flighting). </td></tr>
    <tr><td class="paramname">status</td><td>A reference to an error code value, which must not indicate a failure before the function call. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The length of the script ordering array. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ucol_8h.html#a7473236c4a96983fc1c53c9ab566c2e3" title="Sets the reordering codes for this collator. ">ucol_setReorderCodes</a> </dd>
<dd>
<a class="el" href="classicu_1_1Collator.html#af7c8befb8e7086be8fca27d23072b4d5" title="Retrieves the reorder codes that are grouped with the given reorder code. ">Collator::getEquivalentReorderCodes</a> </dd>
<dd>
<a class="el" href="classicu_1_1Collator.html#ad0d7f72096a46f480e1cf6653a679240" title="Sets the ordering of scripts for this collator. ">Collator::setReorderCodes</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004485">Stable:</a></b></dt><dd>ICU 4.8 </dd></dl>

<p>Reimplemented from <a class="el" href="classicu_1_1Collator.html#a18035cc173f7253b9b778eb52e32eae3">icu::Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a9842208cb5468159b2c4e972a1d9f3cc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; icu::RuleBasedCollator::getRules </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the tailoring rules for this collator. </p>
<dl class="section return"><dt>Returns</dt><dd>the collation tailoring from which this collator was created </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004471">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ae64dbc8cddb5b4dfb39075d86abc395f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::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="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>buffer</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</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>
<p>getRules(void) should normally be used instead. See <a href="http://userguide.icu-project.org/collation/customization#TOC-Building-on-Existing-Locales">http://userguide.icu-project.org/collation/customization#TOC-Building-on-Existing-Locales</a> </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="classicu_1_1UnicodeString.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#_stable004476">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ucol_8h.html#a46363290036b8dffd6862c35e7b5872fa6e027e190a33aa58b026afd48a97b67f" title="Retrieves the &quot;UCA rules&quot; concatenated with the tailoring rules. ">UCOL_FULL_RULES</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a0b1365bfa196f979480d96250ed4b5e7"></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 icu::RuleBasedCollator::getSortKey </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.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 a <a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>. </p>
<p>Note that sort keys are often less efficient than simply doing comparison. For more details, see the ICU User Guide.</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#_stable004483">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implements <a class="el" href="classicu_1_1Collator.html#a52ca2d2de5cd75fabd4b50fe61dd0165">icu::Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a1acd4527bc89dbed7a7e270a68baa44c"></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 icu::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 a UChar buffer. </p>
<p>Note that sort keys are often less efficient than simply doing comparison. For more details, see the ICU User Guide.</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#_stable004484">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>

<p>Implements <a class="el" href="classicu_1_1Collator.html#a180abe61e22e0b12aa352b8c15d98ade">icu::Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a6e27ca183d6a802a5701130f5df4500f"></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="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> icu::RuleBasedCollator::getStaticClassID </td>
          <td>(</td>
          <td class="paramtype">void&#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="classicu_1_1RuleBasedCollator.html#aff44758642ebb0b39afa8cc2fc832a49" 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="classicu_1_1RuleBasedCollator.html#aff44758642ebb0b39afa8cc2fc832a49" 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#_stable004474">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a5eca3366d198d8de015bdf3a94b942c7"></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="classicu_1_1UnicodeSet.html">UnicodeSet</a>* icu::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 a <a class="el" href="classicu_1_1UnicodeSet.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="classicu_1_1UnicodeSet.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 root collator. The object must be disposed of by using delete </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004482">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

<p>Reimplemented from <a class="el" href="classicu_1_1Collator.html#ab4b6cdc4af0b4011d6867cb74f3287ce">icu::Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a3eb6f150fd7ad705f218c66b9f95969e"></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 icu::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="classicu_1_1Collator.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">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="section return"><dt>Returns</dt><dd>the variable top primary weight </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classicu_1_1RuleBasedCollator.html#a2cf313cfa977ed08dd8566234dfbf81c" title="Returns the maximum reordering group whose characters are affected by UCOL_ALTERNATE_HANDLING. ">getMaxVariable</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004481">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implements <a class="el" href="classicu_1_1Collator.html#a5aa9ae3225889380d10c53179e615790">icu::Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a3ced1d9d5a8cbb570f777082f8866da6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void icu::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="classicu_1_1Collator.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#_stable004472">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implements <a class="el" href="classicu_1_1Collator.html#a26375fdb52b064d914b7f9861ec51236">icu::Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a50ce8abfb26982673ec73c5135186193"></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 icu::RuleBasedCollator::hashCode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>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#_stable004470">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implements <a class="el" href="classicu_1_1Collator.html#aadde1f7d0f8156b9d33993aad707e7fa">icu::Collator</a>.</p>

</div>
</div>
<a class="anchor" id="aa9b371f8b52177c1b9af649154326d38"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::RuleBasedCollator::internalAddContractions </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a>&#160;</td>
          <td class="paramname"><em>c</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classicu_1_1UnicodeSet.html">UnicodeSet</a> &amp;&#160;</td>
          <td class="paramname"><em>set</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>errorCode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds the contractions that start with character c to the set. </p>
<p>Ignores prefixes. Used by <a class="el" href="classicu_1_1AlphabeticIndex.html" title="AlphabeticIndex supports the creation of a UI index appropriate for a given language. ">AlphabeticIndex</a>. </p><dl class="internal"><dt><b><a class="el" href="internal.html#_internal000433">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

</div>
</div>
<a class="anchor" id="a6eb360c4a1a95bbb24a19090361b8923"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::RuleBasedCollator::internalBuildTailoring </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>rules</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>strength</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="structUParseError.html">UParseError</a> *&#160;</td>
          <td class="paramname"><em>outParseError</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> *&#160;</td>
          <td class="paramname"><em>outReason</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>errorCode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Implements from-rule constructors, and <a class="el" href="ucol_8h.html#aa128ea0ed3869415c1c96a9a2c997c2d" title="Produce a UCollator instance according to the rules supplied. ">ucol_openRules()</a>. </p>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000434">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

</div>
</div>
<a class="anchor" id="a7d5eef2975f299e17cec9123ca5aeb06"></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> icu::RuleBasedCollator::internalCompareUTF8 </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>left</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>leftLength</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>right</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>rightLength</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>errorCode</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>Implements <a class="el" href="ucol_8h.html#a3abc6779e6452106415918199308fab4" title="Compare two strings in UTF-8. ">ucol_strcollUTF8()</a>. </p>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000427">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

<p>Reimplemented from <a class="el" href="classicu_1_1Collator.html#aaf67bb56de610c7454dbb443b5438a35">icu::Collator</a>.</p>

</div>
</div>
<a class="anchor" id="aef7be1461343cc08500a1faea72a8f78"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::RuleBasedCollator::internalGetCEs </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UVector64 &amp;&#160;</td>
          <td class="paramname"><em>ces</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>errorCode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Appends the CEs for the string to the vector. </p>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000437">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. for tests &amp; tools </dd></dl>

</div>
</div>
<a class="anchor" id="af0bee9550bc5b48268312d217cc37f6a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::RuleBasedCollator::internalGetContractionsAndExpansions </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1UnicodeSet.html">UnicodeSet</a> *&#160;</td>
          <td class="paramname"><em>contractions</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classicu_1_1UnicodeSet.html">UnicodeSet</a> *&#160;</td>
          <td class="paramname"><em>expansions</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td>
          <td class="paramname"><em>addPrefixes</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>errorCode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Implements <a class="el" href="ucol_8h.html#a395afb2b873efee82430ac0ab2388250" title="Get a set containing the expansions defined by the collator. ">ucol_getContractionsAndExpansions()</a>. </p>
<p>Gets this collator's sets of contraction strings and/or characters and strings that map to multiple collation elements (expansions). If addPrefixes is TRUE, then contractions that are expressed as prefix/pre-context rules are included. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">contractions</td><td>if not NULL, the set to hold the contractions </td></tr>
    <tr><td class="paramname">expansions</td><td>if not NULL, the set to hold the expansions </td></tr>
    <tr><td class="paramname">addPrefixes</td><td>include prefix contextual mappings </td></tr>
    <tr><td class="paramname">errorCode</td><td>in/out ICU error code </td></tr>
  </table>
  </dd>
</dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000432">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

</div>
</div>
<a class="anchor" id="a3121b37b4dc749dcb270eae08cb9d987"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* icu::RuleBasedCollator::internalGetLocaleID </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>errorCode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Implements <a class="el" href="ucol_8h.html#ade40592efde5935d3c0cd6f940d4c2e4" title="gets the locale name of the collator. ">ucol_getLocaleByType()</a>. </p>
<p>Needed because the lifetime of the locale ID string must match that of the collator. <a class="el" href="classicu_1_1RuleBasedCollator.html#a94aa71dbacf10077ed13a84bfe87ef95" title="Gets the locale of the Collator. ">getLocale()</a> returns a copy of a <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a>, with minimal lifetime in a C wrapper. </p><dl class="internal"><dt><b><a class="el" href="internal.html#_internal000431">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

</div>
</div>
<a class="anchor" id="a3711f954bab897ce6eaa9ff681bc41ec"></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 icu::RuleBasedCollator::internalGetShortDefinitionString </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>locale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#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> 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 short definition string for a collator. </p>
<p>This internal API harvests the collator's locale and the attribute set and produces a string that can be used for opening a collator with the same attributes using the ucol_openFromShortString API. This string will be normalized. The structure and the syntax of the string is defined in the "Naming collators" section of the users guide: <a href="http://userguide.icu-project.org/collation/concepts#TOC-Collator-naming-scheme">http://userguide.icu-project.org/collation/concepts#TOC-Collator-naming-scheme</a> This function supports preflighting.</p>
<p>This is internal, and intended to be used with delegate converters.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">locale</td><td>a locale that will appear as a collators locale in the resulting short string definition. If NULL, the locale will be harvested from the collator. </td></tr>
    <tr><td class="paramname">buffer</td><td>space to hold the resulting string </td></tr>
    <tr><td class="paramname">capacity</td><td>capacity of the buffer </td></tr>
    <tr><td class="paramname">status</td><td>for returning errors. All the preflighting errors are featured </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>length of the resulting string </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ucol_8h.html#a39ccd61fb814dc0d2e759bc0cfe4c80d" title="Open a collator defined by a short form string. ">ucol_openFromShortString</a> </dd>
<dd>
<a class="el" href="ucol_8h.html#a4527a9eefdd7e071fff9d87b2e418cfa" title="Verifies and normalizes short definition string. ">ucol_normalizeShortDefinitionString</a> </dd>
<dd>
<a class="el" href="ucol_8h.html#a762daeafd0df7cc65fd120a1e802cbbe" title="Get the short definition string for a collator. ">ucol_getShortDefinitionString</a> </dd></dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000428">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

<p>Reimplemented from <a class="el" href="classicu_1_1Collator.html#a088aaea714a628362839baa4cfaa516c">icu::Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a46612988b52b4b7a2e2e67c4ec1a2f79"></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 icu::RuleBasedCollator::internalNextSortKeyPart </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structUCharIterator.html">UCharIterator</a> *&#160;</td>
          <td class="paramname"><em>iter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>state</em>[2], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>count</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>errorCode</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>Implements <a class="el" href="ucol_8h.html#a8c8ed92bb13577d6cd9a129b38a05d69" title="Gets the next count bytes of a sort key. ">ucol_nextSortKeyPart()</a>. </p>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000429">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

<p>Reimplemented from <a class="el" href="classicu_1_1Collator.html#ab758e7dbc5eb6ea423f9439fd89f14e7">icu::Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a1a977c57fe95e8d7121fd899cefd1af8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1RuleBasedCollator.html">RuleBasedCollator</a>&amp; icu::RuleBasedCollator::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1RuleBasedCollator.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="classicu_1_1RuleBasedCollator.html" title="The RuleBasedCollator class provides the implementation of Collator, using data-driven tables...">RuleBasedCollator</a> object to copy from. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004458">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a0fd2ca09264d26f3067522ce03ec4c92"></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> icu::RuleBasedCollator::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Collator.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="classicu_1_1Collator.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#_stable004459">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Reimplemented from <a class="el" href="classicu_1_1Collator.html#a042bb938d6eff7f670fca78e8d025500">icu::Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a1fd0965e5d4d3c5bc59d714734131eba"></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="classicu_1_1RuleBasedCollator.html">RuleBasedCollator</a>* icu::RuleBasedCollator::rbcFromUCollator </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucol_8h.html#a3c4eeb412a5fd72762e6245aa75ca081">UCollator</a> *&#160;</td>
          <td class="paramname"><em>uc</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000435">Internal:</a></b></dt><dd>Do not use.</dd></dl>
<p>This API is for internal use only. </p>

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

<p>References <a class="el" href="coll_8h_source.html#l01166">icu::Collator::fromUCollator()</a>.</p>

</div>
</div>
<a class="anchor" id="a2181fe478db9dbe58d1e6cbaed29fe30"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classicu_1_1RuleBasedCollator.html">RuleBasedCollator</a>* icu::RuleBasedCollator::rbcFromUCollator </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucol_8h.html#a3c4eeb412a5fd72762e6245aa75ca081">UCollator</a> *&#160;</td>
          <td class="paramname"><em>uc</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000436">Internal:</a></b></dt><dd>Do not use.</dd></dl>
<p>This API is for internal use only. </p>

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

<p>References <a class="el" href="coll_8h_source.html#l01166">icu::Collator::fromUCollator()</a>, <a class="el" href="classicu_1_1Collator.html#a4136c816774f41452426abd922f7ab71">icu::Collator::setLocales()</a>, <a class="el" href="platform_8h_source.html#l00857">U_CALLCONV</a>, <a class="el" href="uversion_8h_source.html#l00132">U_NAMESPACE_END</a>, and <a class="el" href="ucol_8h_source.html#l00351">UCOL_ATTRIBUTE_COUNT</a>.</p>

</div>
</div>
<a class="anchor" id="a53cc1952b0c7a8689e0f3fb86aee02d4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void icu::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#_stable004477">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>

<p>Implements <a class="el" href="classicu_1_1Collator.html#a4339fbf9104428a06923a25df7ffd7f4">icu::Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a4b5d90263cb69f616175d275c6757748"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void icu::RuleBasedCollator::setLocales </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Locale.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="classicu_1_1Locale.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="classicu_1_1Locale.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 registration 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 requested 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#_internal000438">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

<p>Reimplemented from <a class="el" href="classicu_1_1Collator.html#a4136c816774f41452426abd922f7ab71">icu::Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a6ca034ec0bfada94f52f9b17a0bebef1"></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="classicu_1_1Collator.html">Collator</a>&amp; icu::RuleBasedCollator::setMaxVariable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucol_8h.html#ae491f1262ff311f19e74830eb685f887">UColReorderCode</a>&#160;</td>
          <td class="paramname"><em>group</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>errorCode</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 the top of the specified reordering group. </p>
<p>The variable top determines the highest-sorting character which is affected by UCOL_ALTERNATE_HANDLING. If that attribute is set to UCOL_NON_IGNORABLE, then the variable top has no effect. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">group</td><td>one of UCOL_REORDER_CODE_SPACE, UCOL_REORDER_CODE_PUNCTUATION, UCOL_REORDER_CODE_SYMBOL, UCOL_REORDER_CODE_CURRENCY; or UCOL_REORDER_CODE_DEFAULT to restore the default max variable group </td></tr>
    <tr><td class="paramname">errorCode</td><td>Standard ICU error code. Its input value must pass the <a class="el" href="utypes_8h.html#a527f2c69e6b2e3b2c53ad8a99fb36711" title="Does the error code indicate success? ">U_SUCCESS()</a> test, or else the function returns immediately. Check for <a class="el" href="utypes_8h.html#a4d202200b6aa6f3c965ea370e0c8155f" title="Does the error code indicate a failure? ">U_FAILURE()</a> on output or use with function chaining. (See User Guide for details.) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>*this </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classicu_1_1RuleBasedCollator.html#a2cf313cfa977ed08dd8566234dfbf81c" title="Returns the maximum reordering group whose characters are affected by UCOL_ALTERNATE_HANDLING. ">getMaxVariable</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004479">Stable:</a></b></dt><dd>ICU 53 </dd></dl>

<p>Reimplemented from <a class="el" href="classicu_1_1Collator.html#abcd24fd37bd91f8a5fd592ad142da6f3">icu::Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a1f76d6e957f2c441129e0170c9c6f89a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void icu::RuleBasedCollator::setReorderCodes </td>
          <td>(</td>
          <td class="paramtype">const int32_t *&#160;</td>
          <td class="paramname"><em>reorderCodes</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>reorderCodesLength</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 ordering of scripts for this collator. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">reorderCodes</td><td>An array of script codes in the new order. This can be NULL if the length is also set to 0. An empty array will clear any reordering codes on the collator. </td></tr>
    <tr><td class="paramname">reorderCodesLength</td><td>The length of reorderCodes. </td></tr>
    <tr><td class="paramname">status</td><td>error code </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ucol_8h.html#a7473236c4a96983fc1c53c9ab566c2e3" title="Sets the reordering codes for this collator. ">ucol_setReorderCodes</a> </dd>
<dd>
<a class="el" href="classicu_1_1Collator.html#a18035cc173f7253b9b778eb52e32eae3" title="Retrieves the reordering codes for this collator. ">Collator::getReorderCodes</a> </dd>
<dd>
<a class="el" href="classicu_1_1Collator.html#af7c8befb8e7086be8fca27d23072b4d5" title="Retrieves the reorder codes that are grouped with the given reorder code. ">Collator::getEquivalentReorderCodes</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004486">Stable:</a></b></dt><dd>ICU 4.8 </dd></dl>

<p>Reimplemented from <a class="el" href="classicu_1_1Collator.html#ad0d7f72096a46f480e1cf6653a679240">icu::Collator</a>.</p>

</div>
</div>
<a class="anchor" id="af703942fc0754b7cc7f9da288f34ac30"></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 icu::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 the primary weight of the specified string. </p>
<p>Beginning with ICU 53, the variable top is pinned to the top of one of the supported reordering groups, and it must not be beyond the last of those groups. See <a class="el" href="classicu_1_1RuleBasedCollator.html#a6ca034ec0bfada94f52f9b17a0bebef1" title="Sets the variable top to the top of the specified reordering group. ">setMaxVariable()</a>. </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 contraction<br />
 U_ILLEGAL_ARGUMENT_ERROR if the variable top is beyond the last reordering group supported by <a class="el" href="classicu_1_1RuleBasedCollator.html#a6ca034ec0bfada94f52f9b17a0bebef1" title="Sets the variable top to the top of the specified reordering group. ">setMaxVariable()</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>variable top primary weight </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000369">Deprecated:</a></b></dt><dd>ICU 53 Call <a class="el" href="classicu_1_1RuleBasedCollator.html#a6ca034ec0bfada94f52f9b17a0bebef1" title="Sets the variable top to the top of the specified reordering group. ">setMaxVariable()</a> instead. </dd></dl>

<p>Implements <a class="el" href="classicu_1_1Collator.html#af160cfa99c42483eb423ec8ea2d6abba">icu::Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a5b5d17deba77715b3c153e0bc8d2d593"></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 icu::RuleBasedCollator::setVariableTop </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#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 the primary weight of the specified string. </p>
<p>Beginning with ICU 53, the variable top is pinned to the top of one of the supported reordering groups, and it must not be beyond the last of those groups. See <a class="el" href="classicu_1_1RuleBasedCollator.html#a6ca034ec0bfada94f52f9b17a0bebef1" title="Sets the variable top to the top of the specified reordering group. ">setMaxVariable()</a>. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">varTop</td><td>a <a class="el" href="classicu_1_1UnicodeString.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 contraction<br />
 U_ILLEGAL_ARGUMENT_ERROR if the variable top is beyond the last reordering group supported by <a class="el" href="classicu_1_1RuleBasedCollator.html#a6ca034ec0bfada94f52f9b17a0bebef1" title="Sets the variable top to the top of the specified reordering group. ">setMaxVariable()</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>variable top primary weight </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000370">Deprecated:</a></b></dt><dd>ICU 53 Call <a class="el" href="classicu_1_1RuleBasedCollator.html#a6ca034ec0bfada94f52f9b17a0bebef1" title="Sets the variable top to the top of the specified reordering group. ">setMaxVariable()</a> instead. </dd></dl>

<p>Implements <a class="el" href="classicu_1_1Collator.html#a6d37b263e04e014ff6b13ac0d3fbbce7">icu::Collator</a>.</p>

</div>
</div>
<a class="anchor" id="a1c068986eae08c7274ff1c6fd5d0d61f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void icu::RuleBasedCollator::setVariableTop </td>
          <td>(</td>
          <td class="paramtype">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 the specified primary weight. </p>
<p>Beginning with ICU 53, the variable top is pinned to the top of one of the supported reordering groups, and it must not be beyond the last of those groups. See <a class="el" href="classicu_1_1RuleBasedCollator.html#a6ca034ec0bfada94f52f9b17a0bebef1" title="Sets the variable top to the top of the specified reordering group. ">setMaxVariable()</a>. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">varTop</td><td>primary weight, as returned by setVariableTop or ucol_getVariableTop </td></tr>
    <tr><td class="paramname">status</td><td>error code </td></tr>
  </table>
  </dd>
</dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000371">Deprecated:</a></b></dt><dd>ICU 53 Call <a class="el" href="classicu_1_1RuleBasedCollator.html#a6ca034ec0bfada94f52f9b17a0bebef1" title="Sets the variable top to the top of the specified reordering group. ">setMaxVariable()</a> instead. </dd></dl>

<p>Implements <a class="el" href="classicu_1_1Collator.html#ad9859bf87721ce8627d9f29d8920cd99">icu::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.11
</small></address>
</body>
</html>