Sophie

Sophie

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

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

<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>ICU 4.4: Normalizer Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.6.1 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Search" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&nbsp;Structure&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Normalizer Class Reference</h1><!-- doxytag: class="Normalizer" --><!-- doxytag: inherits="UObject" -->
<p>The <a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a> class supports the standard normalization forms described in <a href="http://www.unicode.org/unicode/reports/tr15/" target="unicode">Unicode Standard Annex #15: Unicode Normalization Forms</a>.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="normlzr_8h_source.html">normlzr.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Normalizer:</div>
<div class="dynsection">
 <div class="center">
  <img src="classNormalizer.gif" usemap="#Normalizer_map" alt=""/>
  <map id="Normalizer_map" name="Normalizer_map">
<area href="classUObject.html" alt="UObject" shape="rect" coords="0,56,73,80"/>
<area href="classUMemory.html" alt="UMemory" shape="rect" coords="0,0,73,24"/>
</map>
 </div>
</div>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom">{ <b>DONE</b> = 0xffff
 }</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><p>If DONE is returned from an iteration function that returns a code point, then there are no more normalization results available. </p>
 <a href="classNormalizer.html#a4ceb72808aad459192110545f6b73d8b">More...</a><br/></td></tr>
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#a0b6ffd5bfbee08ea15c8b6e0172aa94e">Normalizer</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;str, <a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7">UNormalizationMode</a> mode)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a new <code><a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a></code> object for iterating over the normalized form of a given string.  <a href="#a0b6ffd5bfbee08ea15c8b6e0172aa94e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#acae409824a7f7367cf7e386a9c305040">Normalizer</a> (const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *str, int32_t length, <a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7">UNormalizationMode</a> mode)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a new <code><a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a></code> object for iterating over the normalized form of a given string.  <a href="#acae409824a7f7367cf7e386a9c305040"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#a65be33d11209ae6cf883619d75f469f8">Normalizer</a> (const <a class="el" href="classCharacterIterator.html">CharacterIterator</a> &amp;iter, <a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7">UNormalizationMode</a> mode)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a new <code><a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a></code> object for iterating over the normalized form of the given text.  <a href="#a65be33d11209ae6cf883619d75f469f8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#ac5ef4c7ee5d83fdb8d8cdb7dc05be9df">Normalizer</a> (const <a class="el" href="classNormalizer.html">Normalizer</a> &amp;copy)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copy constructor.  <a href="#ac5ef4c7ee5d83fdb8d8cdb7dc05be9df"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#a7ed2589076b762a7de100c3d1e566a1a">~Normalizer</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor.  <a href="#a7ed2589076b762a7de100c3d1e566a1a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#ad88243d70c16ceacda0e93e15e2c33c4">current</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the current character in the normalized text.  <a href="#ad88243d70c16ceacda0e93e15e2c33c4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#a633d6afcdb3f188ca08cc50638de61c3">first</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the first character in the normalized text.  <a href="#a633d6afcdb3f188ca08cc50638de61c3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#a5e328ba64bbfb300775c8792fa198f39">last</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the last character in the normalized text.  <a href="#a5e328ba64bbfb300775c8792fa198f39"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#ad7125bdd961b05a270316754bc8edca9">next</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the next character in the normalized text.  <a href="#ad7125bdd961b05a270316754bc8edca9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#af9fd130c84e97f04c78844f4474308b8">previous</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the previous character in the normalized text and decrement.  <a href="#af9fd130c84e97f04c78844f4474308b8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#a3c8e33df967e2a30c6e841df988b5756">setIndexOnly</a> (int32_t index)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the iteration position in the input text that is being normalized, without any immediate normalization.  <a href="#a3c8e33df967e2a30c6e841df988b5756"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#a169f53c104e9c24d76a2176618aa9fda">reset</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reset the index to the beginning of the text.  <a href="#a169f53c104e9c24d76a2176618aa9fda"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#a2fd3f751bb5608b2465ff8260dcb1db1">getIndex</a> (void) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieve the current iteration position in the input text that is being normalized.  <a href="#a2fd3f751bb5608b2465ff8260dcb1db1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#afd366dd2a0ed79bf7590f20a2226c47b">startIndex</a> (void) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieve the index of the start of the input text.  <a href="#afd366dd2a0ed79bf7590f20a2226c47b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#a1211752623804c1410665839f0e475b3">endIndex</a> (void) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieve the index of the end of the input text.  <a href="#a1211752623804c1410665839f0e475b3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#a289ed61d6dcea6992bf066516b04b757">operator==</a> (const <a class="el" href="classNormalizer.html">Normalizer</a> &amp;that) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns TRUE when both iterators refer to the same character in the same input text.  <a href="#a289ed61d6dcea6992bf066516b04b757"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#a0c8c7519c75c5815c43634da7e1428cf">operator!=</a> (const <a class="el" href="classNormalizer.html">Normalizer</a> &amp;that) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns FALSE when both iterators refer to the same character in the same input text.  <a href="#a0c8c7519c75c5815c43634da7e1428cf"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classNormalizer.html">Normalizer</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#a568f2be5986469c195339b4ddf07ce98">clone</a> (void) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a pointer to a new <a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a> that is a clone of this one.  <a href="#a568f2be5986469c195339b4ddf07ce98"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#a74f87ddd06ee86c07b64c833d0fa31c2">hashCode</a> (void) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Generates a hash code for this iterator.  <a href="#a74f87ddd06ee86c07b64c833d0fa31c2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#a966e9f989a74c5e807256f2b9438a266">setMode</a> (<a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7">UNormalizationMode</a> newMode)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the normalization mode for this object.  <a href="#a966e9f989a74c5e807256f2b9438a266"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7">UNormalizationMode</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#a9d09bd43f69dc849a6616ba48996e39e">getUMode</a> (void) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the normalization mode for this object.  <a href="#a9d09bd43f69dc849a6616ba48996e39e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#a1585e4ac5f8412162aede93932c3b190">setOption</a> (int32_t option, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> value)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set options that affect this <code><a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a></code>'s operation.  <a href="#a1585e4ac5f8412162aede93932c3b190"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#a8960c192a905285e203dd05e3900d823">getOption</a> (int32_t option) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Determine whether an option is turned on or off.  <a href="#a8960c192a905285e203dd05e3900d823"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#a1d5afd752479fbcb341e7c1ae37e34dc">setText</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;newText, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the input text over which this <code><a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a></code> will iterate.  <a href="#a1d5afd752479fbcb341e7c1ae37e34dc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#a392a18c5358e9fc96a82e79d30b9a7ef">setText</a> (const <a class="el" href="classCharacterIterator.html">CharacterIterator</a> &amp;newText, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the input text over which this <code><a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a></code> will iterate.  <a href="#a392a18c5358e9fc96a82e79d30b9a7ef"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#a10994a8cedef933ce425beb8cde57959">setText</a> (const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *newText, int32_t length, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the input text over which this <code><a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a></code> will iterate.  <a href="#a10994a8cedef933ce425beb8cde57959"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#a76a7a2b7d5e69118e2e3eead4aa1b82b">getText</a> (<a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;result)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copies the input text into the <a class="el" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> argument.  <a href="#a76a7a2b7d5e69118e2e3eead4aa1b82b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#a29c07571c8bafb7ae336476a83c7da92">getDynamicClassID</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for the actual class.  <a href="#a29c07571c8bafb7ae336476a83c7da92"></a><br/></td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#a5124e290d18f51ed622ea073f313ea9a">normalize</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;source, <a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7">UNormalizationMode</a> mode, int32_t options, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;result, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Normalizes a <code><a class="el" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a></code> according to the specified normalization mode.  <a href="#a5124e290d18f51ed622ea073f313ea9a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#a78b642fa070b8e5d221bb24706d459d4">compose</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;source, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> compat, int32_t options, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;result, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compose a <code><a class="el" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a></code>.  <a href="#a78b642fa070b8e5d221bb24706d459d4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#acc54e690cc10c327850e7bc60c3e8999">decompose</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;source, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> compat, int32_t options, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;result, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Static method to decompose a <code><a class="el" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a></code>.  <a href="#acc54e690cc10c327850e7bc60c3e8999"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="unorm2_8h.html#a01b7464189aef5dae63c0c759e84bece">UNormalizationCheckResult</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#a115443fa15231058506585d937d392bd">quickCheck</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;source, <a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7">UNormalizationMode</a> mode, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Performing quick check on a string, to quickly determine if the string is in a particular normalization format.  <a href="#a115443fa15231058506585d937d392bd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="unorm2_8h.html#a01b7464189aef5dae63c0c759e84bece">UNormalizationCheckResult</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#ac96bb56ed31ebbb80a6483f002f8fd96">quickCheck</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;source, <a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7">UNormalizationMode</a> mode, int32_t options, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Performing quick check on a string; same as the other version of quickCheck but takes an extra options parameter like most normalization functions.  <a href="#ac96bb56ed31ebbb80a6483f002f8fd96"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#a63e55029e76459caff76fab6b44f0941">isNormalized</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;src, <a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7">UNormalizationMode</a> mode, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;errorCode)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Test if a string is in a given normalization form.  <a href="#a63e55029e76459caff76fab6b44f0941"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#a2b68ba2a6135393c4845a2939fe24926">isNormalized</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;src, <a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7">UNormalizationMode</a> mode, int32_t options, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;errorCode)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Test if a string is in a given normalization form; same as the other version of isNormalized but takes an extra options parameter like most normalization functions.  <a href="#a2b68ba2a6135393c4845a2939fe24926"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#a1ecc76ea65927dd85eb22d1beccfb2e6">concatenate</a> (<a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;left, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;right, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;result, <a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7">UNormalizationMode</a> mode, int32_t options, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;errorCode)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Concatenate normalized strings, making sure that the result is normalized as well.  <a href="#a1ecc76ea65927dd85eb22d1beccfb2e6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#ac6f0a455515325bb67eb8139453690ae">compare</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;s1, const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;s2, uint32_t options, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;errorCode)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compare two strings for canonical equivalence.  <a href="#ac6f0a455515325bb67eb8139453690ae"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNormalizer.html#af45d523abc650a357abca05368d651a3">getStaticClassID</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for this class.  <a href="#af45d523abc650a357abca05368d651a3"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>The <a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a> class supports the standard normalization forms described in <a href="http://www.unicode.org/unicode/reports/tr15/" target="unicode">Unicode Standard Annex #15: Unicode Normalization Forms</a>. </p>
<p>Note: This API has been replaced by the <a class="el" href="classNormalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using...">Normalizer2</a> class and is only available for backward compatibility. This class simply delegates to the <a class="el" href="classNormalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using...">Normalizer2</a> class. There is one exception: The new API does not provide a replacement for <a class="el" href="classNormalizer.html#ac6f0a455515325bb67eb8139453690ae" title="Compare two strings for canonical equivalence.">Normalizer::compare()</a>.</p>
<p>The <a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a> class consists of two parts:</p>
<ul>
<li>static functions that normalize strings or test if strings are normalized</li>
<li>a <a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a> object is an iterator that takes any kind of text and provides iteration over its normalized form</li>
</ul>
<p>The <a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a> class is not suitable for subclassing.</p>
<p>For basic information about normalization forms and details about the C API please see the documentation in <a class="el" href="unorm_8h.html" title="C API: Unicode Normalization.">unorm.h</a>.</p>
<p>The iterator API with the <a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a> constructors and the non-static functions use a <a class="el" href="classCharacterIterator.html" title="Abstract class that defines an API for iteration on text objects.">CharacterIterator</a> as input. It is possible to pass a string which is then internally wrapped in a <a class="el" href="classCharacterIterator.html" title="Abstract class that defines an API for iteration on text objects.">CharacterIterator</a>. The input text is not normalized all at once, but incrementally where needed (providing efficient random access). This allows to pass in a large text but spend only a small amount of time normalizing a small part of that text. However, if the entire text is normalized, then the iterator will be slower than normalizing the entire text at once and iterating over the result. A possible use of the <a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a> iterator is also to report an index into the original text that is close to where the normalized characters come from.</p>
<p><em>Important:</em> The iterator API was cleaned up significantly for ICU 2.0. The earlier implementation reported the <a class="el" href="classNormalizer.html#a2fd3f751bb5608b2465ff8260dcb1db1" title="Retrieve the current iteration position in the input text that is being normalized...">getIndex()</a> inconsistently, and <a class="el" href="classNormalizer.html#af9fd130c84e97f04c78844f4474308b8" title="Return the previous character in the normalized text and decrement.">previous()</a> could not be used after setIndex(), <a class="el" href="classNormalizer.html#ad7125bdd961b05a270316754bc8edca9" title="Return the next character in the normalized text.">next()</a>, <a class="el" href="classNormalizer.html#a633d6afcdb3f188ca08cc50638de61c3" title="Return the first character in the normalized text.">first()</a>, and <a class="el" href="classNormalizer.html#ad88243d70c16ceacda0e93e15e2c33c4" title="Return the current character in the normalized text.">current()</a>.</p>
<p><a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a> allows to start normalizing from anywhere in the input text by calling <a class="el" href="classNormalizer.html#a3c8e33df967e2a30c6e841df988b5756" title="Set the iteration position in the input text that is being normalized, without any...">setIndexOnly()</a>, <a class="el" href="classNormalizer.html#a633d6afcdb3f188ca08cc50638de61c3" title="Return the first character in the normalized text.">first()</a>, or <a class="el" href="classNormalizer.html#a5e328ba64bbfb300775c8792fa198f39" title="Return the last character in the normalized text.">last()</a>. Without calling any of these, the iterator will start at the beginning of the text.</p>
<p>At any time, <a class="el" href="classNormalizer.html#ad7125bdd961b05a270316754bc8edca9" title="Return the next character in the normalized text.">next()</a> returns the next normalized code point (UChar32), with post-increment semantics (like <a class="el" href="classForwardCharacterIterator.html#acb902b4e8c192937270157bb1afca237" title="Gets the current code point for returning and advances to the next code point in...">CharacterIterator::next32PostInc()</a>). <a class="el" href="classNormalizer.html#af9fd130c84e97f04c78844f4474308b8" title="Return the previous character in the normalized text and decrement.">previous()</a> returns the previous normalized code point (UChar32), with pre-decrement semantics (like <a class="el" href="classCharacterIterator.html#a9630a5fbd755633cf46c33c3a42c5457" title="Advances to the previous code point in the iteration range (toward startIndex())...">CharacterIterator::previous32()</a>).</p>
<p><a class="el" href="classNormalizer.html#ad88243d70c16ceacda0e93e15e2c33c4" title="Return the current character in the normalized text.">current()</a> returns the current code point (respectively the one at the newly set index) without moving the <a class="el" href="classNormalizer.html#a2fd3f751bb5608b2465ff8260dcb1db1" title="Retrieve the current iteration position in the input text that is being normalized...">getIndex()</a>. Note that if the text at the current position needs to be normalized, then these functions will do that. (This is why <a class="el" href="classNormalizer.html#ad88243d70c16ceacda0e93e15e2c33c4" title="Return the current character in the normalized text.">current()</a> is not const.) It is more efficient to call <a class="el" href="classNormalizer.html#a3c8e33df967e2a30c6e841df988b5756" title="Set the iteration position in the input text that is being normalized, without any...">setIndexOnly()</a> instead, which does not normalize.</p>
<p><a class="el" href="classNormalizer.html#a2fd3f751bb5608b2465ff8260dcb1db1" title="Retrieve the current iteration position in the input text that is being normalized...">getIndex()</a> always refers to the position in the input text where the normalized code points are returned from. It does not always change with each returned code point. The code point that is returned from any of the functions corresponds to text at or after <a class="el" href="classNormalizer.html#a2fd3f751bb5608b2465ff8260dcb1db1" title="Retrieve the current iteration position in the input text that is being normalized...">getIndex()</a>, according to the function's iteration semantics (post-increment or pre-decrement).</p>
<p><a class="el" href="classNormalizer.html#ad7125bdd961b05a270316754bc8edca9" title="Return the next character in the normalized text.">next()</a> returns a code point from at or after the <a class="el" href="classNormalizer.html#a2fd3f751bb5608b2465ff8260dcb1db1" title="Retrieve the current iteration position in the input text that is being normalized...">getIndex()</a> from before the <a class="el" href="classNormalizer.html#ad7125bdd961b05a270316754bc8edca9" title="Return the next character in the normalized text.">next()</a> call. After the <a class="el" href="classNormalizer.html#ad7125bdd961b05a270316754bc8edca9" title="Return the next character in the normalized text.">next()</a> call, the <a class="el" href="classNormalizer.html#a2fd3f751bb5608b2465ff8260dcb1db1" title="Retrieve the current iteration position in the input text that is being normalized...">getIndex()</a> might have moved to where the next code point will be returned from (from a <a class="el" href="classNormalizer.html#ad7125bdd961b05a270316754bc8edca9" title="Return the next character in the normalized text.">next()</a> or <a class="el" href="classNormalizer.html#ad88243d70c16ceacda0e93e15e2c33c4" title="Return the current character in the normalized text.">current()</a> call). This is semantically equivalent to array access with array[index++] (post-increment semantics).</p>
<p><a class="el" href="classNormalizer.html#af9fd130c84e97f04c78844f4474308b8" title="Return the previous character in the normalized text and decrement.">previous()</a> returns a code point from at or after the <a class="el" href="classNormalizer.html#a2fd3f751bb5608b2465ff8260dcb1db1" title="Retrieve the current iteration position in the input text that is being normalized...">getIndex()</a> from after the <a class="el" href="classNormalizer.html#af9fd130c84e97f04c78844f4474308b8" title="Return the previous character in the normalized text and decrement.">previous()</a> call. This is semantically equivalent to array access with array[--index] (pre-decrement semantics).</p>
<p>Internally, the <a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a> iterator normalizes a small piece of text starting at the <a class="el" href="classNormalizer.html#a2fd3f751bb5608b2465ff8260dcb1db1" title="Retrieve the current iteration position in the input text that is being normalized...">getIndex()</a> and ending at a following "safe" index. The normalized results is stored in an internal string buffer, and the code points are iterated from there. With multiple iteration calls, this is repeated until the next piece of text needs to be normalized, and the <a class="el" href="classNormalizer.html#a2fd3f751bb5608b2465ff8260dcb1db1" title="Retrieve the current iteration position in the input text that is being normalized...">getIndex()</a> needs to be moved.</p>
<p>The following "safe" index, the internal buffer, and the secondary iteration index into that buffer are not exposed on the API. This also means that it is currently not practical to return to a particular, arbitrary position in the text because one would need to know, and be able to set, in addition to the <a class="el" href="classNormalizer.html#a2fd3f751bb5608b2465ff8260dcb1db1" title="Retrieve the current iteration position in the input text that is being normalized...">getIndex()</a>, at least also the current index into the internal buffer. It is currently only possible to observe when <a class="el" href="classNormalizer.html#a2fd3f751bb5608b2465ff8260dcb1db1" title="Retrieve the current iteration position in the input text that is being normalized...">getIndex()</a> changes (with careful consideration of the iteration semantics), at which time the internal index will be 0. For example, if <a class="el" href="classNormalizer.html#a2fd3f751bb5608b2465ff8260dcb1db1" title="Retrieve the current iteration position in the input text that is being normalized...">getIndex()</a> is different after <a class="el" href="classNormalizer.html#ad7125bdd961b05a270316754bc8edca9" title="Return the next character in the normalized text.">next()</a> than before it, then the internal index is 0 and one can return to this <a class="el" href="classNormalizer.html#a2fd3f751bb5608b2465ff8260dcb1db1" title="Retrieve the current iteration position in the input text that is being normalized...">getIndex()</a> later with <a class="el" href="classNormalizer.html#a3c8e33df967e2a30c6e841df988b5756" title="Set the iteration position in the input text that is being normalized, without any...">setIndexOnly()</a>.</p>
<p>Note: While the setIndex() and <a class="el" href="classNormalizer.html#a2fd3f751bb5608b2465ff8260dcb1db1" title="Retrieve the current iteration position in the input text that is being normalized...">getIndex()</a> refer to indices in the underlying Unicode input text, the <a class="el" href="classNormalizer.html#ad7125bdd961b05a270316754bc8edca9" title="Return the next character in the normalized text.">next()</a> and <a class="el" href="classNormalizer.html#af9fd130c84e97f04c78844f4474308b8" title="Return the previous character in the normalized text and decrement.">previous()</a> methods iterate through characters in the normalized output. This means that there is not necessarily a one-to-one correspondence between characters returned by <a class="el" href="classNormalizer.html#ad7125bdd961b05a270316754bc8edca9" title="Return the next character in the normalized text.">next()</a> and <a class="el" href="classNormalizer.html#af9fd130c84e97f04c78844f4474308b8" title="Return the previous character in the normalized text and decrement.">previous()</a> and the indices passed to and returned from setIndex() and <a class="el" href="classNormalizer.html#a2fd3f751bb5608b2465ff8260dcb1db1" title="Retrieve the current iteration position in the input text that is being normalized...">getIndex()</a>. It is for this reason that <a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a> does not implement the <a class="el" href="classCharacterIterator.html" title="Abstract class that defines an API for iteration on text objects.">CharacterIterator</a> interface.</p>
<dl class="author"><dt><b>Author:</b></dt><dd>Laura Werner, Mark Davis, Markus Scherer </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000197">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="normlzr_8h_source.html#l00130">130</a> of file <a class="el" href="normlzr_8h_source.html">normlzr.h</a>.</p>
<hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a4ceb72808aad459192110545f6b73d8b"></a><!-- doxytag: member="Normalizer::@2" ref="a4ceb72808aad459192110545f6b73d8b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">anonymous enum</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>If DONE is returned from an iteration function that returns a code point, then there are no more normalization results available. </p>
<dl class="stable"><dt><b>Stable:</b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="normlzr_8h_source.html#l00137">137</a> of file <a class="el" href="normlzr_8h_source.html">normlzr.h</a>.</p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a0b6ffd5bfbee08ea15c8b6e0172aa94e"></a><!-- doxytag: member="Normalizer::Normalizer" ref="a0b6ffd5bfbee08ea15c8b6e0172aa94e" args="(const UnicodeString &amp;str, UNormalizationMode mode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Normalizer::Normalizer </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7">UNormalizationMode</a>&nbsp;</td>
          <td class="paramname"> <em>mode</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a new <code><a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a></code> object for iterating over the normalized form of a given string. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>str</em>&nbsp;</td><td>The string to be normalized. The normalization will start at the beginning of the string.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>mode</em>&nbsp;</td><td>The normalization mode. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000199">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="acae409824a7f7367cf7e386a9c305040"></a><!-- doxytag: member="Normalizer::Normalizer" ref="acae409824a7f7367cf7e386a9c305040" args="(const UChar *str, int32_t length, UNormalizationMode mode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Normalizer::Normalizer </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&nbsp;</td>
          <td class="paramname"> <em>str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&nbsp;</td>
          <td class="paramname"> <em>length</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7">UNormalizationMode</a>&nbsp;</td>
          <td class="paramname"> <em>mode</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a new <code><a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a></code> object for iterating over the normalized form of a given string. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>str</em>&nbsp;</td><td>The string to be normalized. The normalization will start at the beginning of the string.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>length</em>&nbsp;</td><td>Length of the string, or -1 if NUL-terminated. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>mode</em>&nbsp;</td><td>The normalization mode. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000200">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a65be33d11209ae6cf883619d75f469f8"></a><!-- doxytag: member="Normalizer::Normalizer" ref="a65be33d11209ae6cf883619d75f469f8" args="(const CharacterIterator &amp;iter, UNormalizationMode mode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Normalizer::Normalizer </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCharacterIterator.html">CharacterIterator</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>iter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7">UNormalizationMode</a>&nbsp;</td>
          <td class="paramname"> <em>mode</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a new <code><a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a></code> object for iterating over the normalized form of the given text. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>iter</em>&nbsp;</td><td>The input text to be normalized. The normalization will start at the beginning of the string.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>mode</em>&nbsp;</td><td>The normalization mode. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000201">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ac5ef4c7ee5d83fdb8d8cdb7dc05be9df"></a><!-- doxytag: member="Normalizer::Normalizer" ref="ac5ef4c7ee5d83fdb8d8cdb7dc05be9df" args="(const Normalizer &amp;copy)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Normalizer::Normalizer </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classNormalizer.html">Normalizer</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>copy</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Copy constructor. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>copy</em>&nbsp;</td><td>The object to be copied. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000202">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a7ed2589076b762a7de100c3d1e566a1a"></a><!-- doxytag: member="Normalizer::~Normalizer" ref="a7ed2589076b762a7de100c3d1e566a1a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Normalizer::~Normalizer </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Destructor. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000203">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a568f2be5986469c195339b4ddf07ce98"></a><!-- doxytag: member="Normalizer::clone" ref="a568f2be5986469c195339b4ddf07ce98" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classNormalizer.html">Normalizer</a>* Normalizer::clone </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a pointer to a new <a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a> that is a clone of this one. </p>
<p>The caller is responsible for deleting the new clone. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>a pointer to a new <a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000225">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ac6f0a455515325bb67eb8139453690ae"></a><!-- doxytag: member="Normalizer::compare" ref="ac6f0a455515325bb67eb8139453690ae" args="(const UnicodeString &amp;s1, const UnicodeString &amp;s2, uint32_t options, UErrorCode &amp;errorCode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t Normalizer::compare </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>s1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>s2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&nbsp;</td>
          <td class="paramname"> <em>options</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>errorCode</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Compare two strings for canonical equivalence. </p>
<p>Further options include case-insensitive comparison and code point order (as opposed to code unit order).</p>
<p>Canonical equivalence between two strings is defined as their normalized forms (NFD or NFC) being identical. This function compares strings incrementally instead of normalizing (and optionally case-folding) both strings entirely, improving performance significantly.</p>
<p>Bulk normalization is only necessary if the strings do not fulfill the FCD conditions. Only in this case, and only if the strings are relatively long, is memory allocated temporarily. For FCD strings and short non-FCD strings there is no memory allocation.</p>
<p>Semantically, this is equivalent to strcmp[CodePointOrder](NFD(foldCase(s1)), NFD(foldCase(s2))) where code point order and foldCase are all optional.</p>
<p>UAX 21 2.5 Caseless Matching specifies that for a canonical caseless match the case folding must be performed first, then the normalization.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>s1</em>&nbsp;</td><td>First source string. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>s2</em>&nbsp;</td><td>Second source string.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>options</em>&nbsp;</td><td>A bit set of options:</p>
<ul>
<li>U_FOLD_CASE_DEFAULT or 0 is used for default options: Case-sensitive comparison in code unit order, and the input strings are quick-checked for FCD.</li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<ul>
<li>UNORM_INPUT_IS_FCD Set if the caller knows that both s1 and s2 fulfill the FCD conditions. If not set, the function will quickCheck for FCD and normalize if necessary.</li>
</ul>
<ul>
<li>U_COMPARE_CODE_POINT_ORDER Set to choose code point order instead of code unit order (see u_strCompare for details).</li>
</ul>
<ul>
<li>U_COMPARE_IGNORE_CASE Set to compare strings case-insensitively using case folding, instead of case-sensitively. If set, then the following case folding options are used.</li>
</ul>
<ul>
<li>Options as used with case-insensitive comparisons, currently:</li>
</ul>
<ul>
<li>U_FOLD_CASE_EXCLUDE_SPECIAL_I (see u_strCaseCompare for details)</li>
</ul>
<ul>
<li>regular normalization options shifted left by UNORM_COMPARE_NORM_OPTIONS_SHIFT</li>
</ul>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>errorCode</em>&nbsp;</td><td>ICU error code in/out parameter. Must fulfill U_SUCCESS before the function call. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>&lt;0 or 0 or &gt;0 as usual for string comparisons</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="unorm_8h.html#a991e0fe6f0d062dd6e8e924517f3f437" title="Compare two strings for canonical equivalence.">unorm_compare</a> </dd>
<dd>
<a class="el" href="classNormalizer.html#a5124e290d18f51ed622ea073f313ea9a" title="Normalizes a UnicodeString according to the specified normalization mode.">normalize</a> </dd>
<dd>
<a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7aac4a0a6b26928af19d2cef5985bdce8d" title="&quot;Fast C or D&quot; form.">UNORM_FCD</a> </dd>
<dd>
<a class="el" href="ustring_8h.html#a51fe041d3e4e408595d665c0f5f68715" title="Compare two Unicode strings (binary order).">u_strCompare</a> </dd>
<dd>
<a class="el" href="ustring_8h.html#a56c7ed13d57379ff8b5f0736b0628e09" title="Compare two strings case-insensitively using full case folding.">u_strCaseCompare</a></dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000212">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>

<p>Definition at line <a class="el" href="normlzr_8h_source.html#l00783">783</a> of file <a class="el" href="normlzr_8h_source.html">normlzr.h</a>.</p>

<p>References <a class="el" href="classUnicodeString.html#ab60ed4d07f726d3cceb3964c6556a34b">UnicodeString::getBuffer()</a>, <a class="el" href="unistr_8h_source.html#l03486">UnicodeString::length()</a>, and <a class="el" href="unorm_8h.html#a991e0fe6f0d062dd6e8e924517f3f437">unorm_compare()</a>.</p>

</div>
</div>
<a class="anchor" id="a78b642fa070b8e5d221bb24706d459d4"></a><!-- doxytag: member="Normalizer::compose" ref="a78b642fa070b8e5d221bb24706d459d4" args="(const UnicodeString &amp;source, UBool compat, int32_t options, UnicodeString &amp;result, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void Normalizer::compose </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td>
          <td class="paramname"> <em>compat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&nbsp;</td>
          <td class="paramname"> <em>options</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Compose a <code><a class="el" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a></code>. </p>
<p>This is equivalent to <a class="el" href="classNormalizer.html#a5124e290d18f51ed622ea073f313ea9a" title="Normalizes a UnicodeString according to the specified normalization mode.">normalize()</a> with mode UNORM_NFC or UNORM_NFKC. This is a wrapper for <a class="el" href="unorm_8h.html#a5410fab40c4e60a787c5cfbea5103c75" title="Normalize a string.">unorm_normalize()</a>, using UnicodeString's.</p>
<p>The <code>options</code> parameter specifies which optional <code><a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a></code> features are to be enabled for this operation.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>the string to be composed. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>compat</em>&nbsp;</td><td>Perform compatibility decomposition before composition. If this argument is <code>FALSE</code>, only canonical decomposition will be performed. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>options</em>&nbsp;</td><td>the optional features to be enabled (0 for no options) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>result</em>&nbsp;</td><td>The composed string (on output). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>The error code. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000205">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a1ecc76ea65927dd85eb22d1beccfb2e6"></a><!-- doxytag: member="Normalizer::concatenate" ref="a1ecc76ea65927dd85eb22d1beccfb2e6" args="(UnicodeString &amp;left, UnicodeString &amp;right, UnicodeString &amp;result, UNormalizationMode mode, int32_t options, UErrorCode &amp;errorCode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classUnicodeString.html">UnicodeString</a>&amp; Normalizer::concatenate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>left</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>right</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7">UNormalizationMode</a>&nbsp;</td>
          <td class="paramname"> <em>mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&nbsp;</td>
          <td class="paramname"> <em>options</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>errorCode</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Concatenate normalized strings, making sure that the result is normalized as well. </p>
<p>If both the left and the right strings are in the normalization form according to "mode/options", then the result will be</p>
<div class="fragment"><pre class="fragment">     dest=<a class="code" href="classNormalizer.html#a5124e290d18f51ed622ea073f313ea9a" title="Normalizes a UnicodeString according to the specified normalization mode.">normalize</a>(left+right, mode, options)
</pre></div><p>For details see unorm_concatenate in <a class="el" href="unorm_8h.html" title="C API: Unicode Normalization.">unorm.h</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>left</em>&nbsp;</td><td>Left source string. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>right</em>&nbsp;</td><td>Right source string. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>result</em>&nbsp;</td><td>The output string. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>mode</em>&nbsp;</td><td>The normalization mode. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>options</em>&nbsp;</td><td>A bit set of normalization options. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>errorCode</em>&nbsp;</td><td>ICU error code in/out parameter. Must fulfill U_SUCCESS before the function call. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>result</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="unorm_8h.html#aa258530f27604d78c887aac13771e4a1" title="Concatenate normalized strings, making sure that the result is normalized as well...">unorm_concatenate</a> </dd>
<dd>
<a class="el" href="classNormalizer.html#a5124e290d18f51ed622ea073f313ea9a" title="Normalizes a UnicodeString according to the specified normalization mode.">normalize</a> </dd>
<dd>
<a class="el" href="unorm_8h.html#ab929eae6735fc93dfd799f7b71553614" title="Iterative normalization forward.">unorm_next</a> </dd>
<dd>
<a class="el" href="unorm_8h.html#a1b64cb761d9eb7ccfd7ec58a5e045975" title="Iterative normalization backward.">unorm_previous</a></dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000211">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl>

</div>
</div>
<a class="anchor" id="ad88243d70c16ceacda0e93e15e2c33c4"></a><!-- doxytag: member="Normalizer::current" ref="ad88243d70c16ceacda0e93e15e2c33c4" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> Normalizer::current </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the current character in the normalized text. </p>
<p><a class="el" href="classNormalizer.html#ad88243d70c16ceacda0e93e15e2c33c4" title="Return the current character in the normalized text.">current()</a> may need to normalize some text at <a class="el" href="classNormalizer.html#a2fd3f751bb5608b2465ff8260dcb1db1" title="Retrieve the current iteration position in the input text that is being normalized...">getIndex()</a>. The <a class="el" href="classNormalizer.html#a2fd3f751bb5608b2465ff8260dcb1db1" title="Retrieve the current iteration position in the input text that is being normalized...">getIndex()</a> is not changed.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the current normalized code point </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000213">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="acc54e690cc10c327850e7bc60c3e8999"></a><!-- doxytag: member="Normalizer::decompose" ref="acc54e690cc10c327850e7bc60c3e8999" args="(const UnicodeString &amp;source, UBool compat, int32_t options, UnicodeString &amp;result, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void Normalizer::decompose </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td>
          <td class="paramname"> <em>compat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&nbsp;</td>
          <td class="paramname"> <em>options</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Static method to decompose a <code><a class="el" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a></code>. </p>
<p>This is equivalent to <a class="el" href="classNormalizer.html#a5124e290d18f51ed622ea073f313ea9a" title="Normalizes a UnicodeString according to the specified normalization mode.">normalize()</a> with mode UNORM_NFD or UNORM_NFKD. This is a wrapper for <a class="el" href="unorm_8h.html#a5410fab40c4e60a787c5cfbea5103c75" title="Normalize a string.">unorm_normalize()</a>, using UnicodeString's.</p>
<p>The <code>options</code> parameter specifies which optional <code><a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a></code> features are to be enabled for this operation.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>the string to be decomposed. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>compat</em>&nbsp;</td><td>Perform compatibility decomposition. If this argument is <code>FALSE</code>, only canonical decomposition will be performed. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>options</em>&nbsp;</td><td>the optional features to be enabled (0 for no options) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>result</em>&nbsp;</td><td>The decomposed string (on output). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>The error code. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000206">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a1211752623804c1410665839f0e475b3"></a><!-- doxytag: member="Normalizer::endIndex" ref="a1211752623804c1410665839f0e475b3" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t Normalizer::endIndex </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve the index of the end of the input text. </p>
<p>This is the end index of the <code><a class="el" href="classCharacterIterator.html" title="Abstract class that defines an API for iteration on text objects.">CharacterIterator</a></code> or the length of the string over which this <code><a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a></code> is iterating. This end index is exclusive, i.e., the <a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a> operates only on characters before this index.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the first index in the input text where the <a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a> does not operate </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000222">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a633d6afcdb3f188ca08cc50638de61c3"></a><!-- doxytag: member="Normalizer::first" ref="a633d6afcdb3f188ca08cc50638de61c3" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> Normalizer::first </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the first character in the normalized text. </p>
<p>This is equivalent to setIndexOnly(<a class="el" href="classNormalizer.html#afd366dd2a0ed79bf7590f20a2226c47b" title="Retrieve the index of the start of the input text.">startIndex()</a>) followed by <a class="el" href="classNormalizer.html#ad7125bdd961b05a270316754bc8edca9" title="Return the next character in the normalized text.">next()</a>. (Post-increment semantics.)</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the first normalized code point </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000214">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a29c07571c8bafb7ae336476a83c7da92"></a><!-- doxytag: member="Normalizer::getDynamicClassID" ref="a29c07571c8bafb7ae336476a83c7da92" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> Normalizer::getDynamicClassID </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>Implements <a class="el" href="classUObject.html#a9b1acc95efd89cb86ec31f2dc947a262">UObject</a>.</p>

</div>
</div>
<a class="anchor" id="a2fd3f751bb5608b2465ff8260dcb1db1"></a><!-- doxytag: member="Normalizer::getIndex" ref="a2fd3f751bb5608b2465ff8260dcb1db1" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t Normalizer::getIndex </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve the current iteration position in the input text that is being normalized. </p>
<p>A following call to <a class="el" href="classNormalizer.html#ad7125bdd961b05a270316754bc8edca9" title="Return the next character in the normalized text.">next()</a> will return a normalized code point from the input text at or after this index.</p>
<p>After a call to <a class="el" href="classNormalizer.html#af9fd130c84e97f04c78844f4474308b8" title="Return the previous character in the normalized text and decrement.">previous()</a>, <a class="el" href="classNormalizer.html#a2fd3f751bb5608b2465ff8260dcb1db1" title="Retrieve the current iteration position in the input text that is being normalized...">getIndex()</a> will point at or before the position in the input text where the normalized code point was returned from with <a class="el" href="classNormalizer.html#af9fd130c84e97f04c78844f4474308b8" title="Return the previous character in the normalized text and decrement.">previous()</a>.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the current index in the input text </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000220">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a8960c192a905285e203dd05e3900d823"></a><!-- doxytag: member="Normalizer::getOption" ref="a8960c192a905285e203dd05e3900d823" args="(int32_t option) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> Normalizer::getOption </td>
          <td>(</td>
          <td class="paramtype">int32_t&nbsp;</td>
          <td class="paramname"> <em>option</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Determine whether an option is turned on or off. </p>
<p>If multiple options are specified, then the result is TRUE if any of them are set. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>option</em>&nbsp;</td><td>the option(s) that are to be checked </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>TRUE if any of the option(s) are set </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classNormalizer.html#a1585e4ac5f8412162aede93932c3b190" title="Set options that affect this Normalizer&#39;s operation.">setOption</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000230">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="af45d523abc650a357abca05368d651a3"></a><!-- doxytag: member="Normalizer::getStaticClassID" ref="af45d523abc650a357abca05368d651a3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> Normalizer::getStaticClassID </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div>
<a class="anchor" id="a76a7a2b7d5e69118e2e3eead4aa1b82b"></a><!-- doxytag: member="Normalizer::getText" ref="a76a7a2b7d5e69118e2e3eead4aa1b82b" args="(UnicodeString &amp;result)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Normalizer::getText </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>result</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Copies the input text into the <a class="el" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> argument. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>result</em>&nbsp;</td><td>Receives a copy of the text under iteration. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000234">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a9d09bd43f69dc849a6616ba48996e39e"></a><!-- doxytag: member="Normalizer::getUMode" ref="a9d09bd43f69dc849a6616ba48996e39e" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7">UNormalizationMode</a> Normalizer::getUMode </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the normalization mode for this object. </p>
<p>This is an unusual name because there used to be a getMode() that returned a different type.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the mode for this <code><a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a></code> </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classNormalizer.html#a966e9f989a74c5e807256f2b9438a266" title="Set the normalization mode for this object.">setMode</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000228">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a74f87ddd06ee86c07b64c833d0fa31c2"></a><!-- doxytag: member="Normalizer::hashCode" ref="a74f87ddd06ee86c07b64c833d0fa31c2" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t Normalizer::hashCode </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Generates a hash code for this iterator. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the hash code </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000226">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a2b68ba2a6135393c4845a2939fe24926"></a><!-- doxytag: member="Normalizer::isNormalized" ref="a2b68ba2a6135393c4845a2939fe24926" args="(const UnicodeString &amp;src, UNormalizationMode mode, int32_t options, UErrorCode &amp;errorCode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> Normalizer::isNormalized </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7">UNormalizationMode</a>&nbsp;</td>
          <td class="paramname"> <em>mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&nbsp;</td>
          <td class="paramname"> <em>options</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>errorCode</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Test if a string is in a given normalization form; same as the other version of isNormalized but takes an extra options parameter like most normalization functions. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>src</em>&nbsp;</td><td>String that is to be tested if it is in a normalization format. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>mode</em>&nbsp;</td><td>Which normalization form to test for. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>options</em>&nbsp;</td><td>the optional features to be enabled (0 for no options) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>errorCode</em>&nbsp;</td><td>ICU error code in/out parameter. Must fulfill U_SUCCESS before the function call. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Boolean value indicating whether the source string is in the "mode" normalization form.</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classNormalizer.html#a115443fa15231058506585d937d392bd" title="Performing quick check on a string, to quickly determine if the string is in a particular...">quickCheck</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000210">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a63e55029e76459caff76fab6b44f0941"></a><!-- doxytag: member="Normalizer::isNormalized" ref="a63e55029e76459caff76fab6b44f0941" args="(const UnicodeString &amp;src, UNormalizationMode mode, UErrorCode &amp;errorCode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> Normalizer::isNormalized </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7">UNormalizationMode</a>&nbsp;</td>
          <td class="paramname"> <em>mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>errorCode</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Test if a string is in a given normalization form. </p>
<p>This is semantically equivalent to source.equals(normalize(source, mode)) .</p>
<p>Unlike <a class="el" href="unorm_8h.html#ad103c40dd46c7d95f6db4c97aed10277" title="Performing quick check on a string, to quickly determine if the string is in a particular...">unorm_quickCheck()</a>, this function returns a definitive result, never a "maybe". For NFD, NFKD, and FCD, both functions work exactly the same. For NFC and NFKC where quickCheck may return "maybe", this function will perform further tests to arrive at a TRUE/FALSE result.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>src</em>&nbsp;</td><td>String that is to be tested if it is in a normalization format. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>mode</em>&nbsp;</td><td>Which normalization form to test for. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>errorCode</em>&nbsp;</td><td>ICU error code in/out parameter. Must fulfill U_SUCCESS before the function call. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Boolean value indicating whether the source string is in the "mode" normalization form.</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classNormalizer.html#a115443fa15231058506585d937d392bd" title="Performing quick check on a string, to quickly determine if the string is in a particular...">quickCheck</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000209">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>

<p>Definition at line <a class="el" href="normlzr_8h_source.html#l00776">776</a> of file <a class="el" href="normlzr_8h_source.html">normlzr.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5e328ba64bbfb300775c8792fa198f39"></a><!-- doxytag: member="Normalizer::last" ref="a5e328ba64bbfb300775c8792fa198f39" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> Normalizer::last </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the last character in the normalized text. </p>
<p>This is equivalent to setIndexOnly(<a class="el" href="classNormalizer.html#a1211752623804c1410665839f0e475b3" title="Retrieve the index of the end of the input text.">endIndex()</a>) followed by <a class="el" href="classNormalizer.html#af9fd130c84e97f04c78844f4474308b8" title="Return the previous character in the normalized text and decrement.">previous()</a>. (Pre-decrement semantics.)</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the last normalized code point </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000215">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ad7125bdd961b05a270316754bc8edca9"></a><!-- doxytag: member="Normalizer::next" ref="ad7125bdd961b05a270316754bc8edca9" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> Normalizer::next </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the next character in the normalized text. </p>
<p>(Post-increment semantics.) If the end of the text has already been reached, DONE is returned. The DONE value could be confused with a U+FFFF non-character code point in the text. If this is possible, you can test <a class="el" href="classNormalizer.html#a2fd3f751bb5608b2465ff8260dcb1db1" title="Retrieve the current iteration position in the input text that is being normalized...">getIndex()</a>&lt;<a class="el" href="classNormalizer.html#a1211752623804c1410665839f0e475b3" title="Retrieve the index of the end of the input text.">endIndex()</a> before calling <a class="el" href="classNormalizer.html#ad7125bdd961b05a270316754bc8edca9" title="Return the next character in the normalized text.">next()</a>, or (<a class="el" href="classNormalizer.html#a2fd3f751bb5608b2465ff8260dcb1db1" title="Retrieve the current iteration position in the input text that is being normalized...">getIndex()</a>&lt;<a class="el" href="classNormalizer.html#a1211752623804c1410665839f0e475b3" title="Retrieve the index of the end of the input text.">endIndex()</a> || <a class="el" href="classNormalizer.html#a5e328ba64bbfb300775c8792fa198f39" title="Return the last character in the normalized text.">last()</a>!=DONE) after calling <a class="el" href="classNormalizer.html#ad7125bdd961b05a270316754bc8edca9" title="Return the next character in the normalized text.">next()</a>. (Calling <a class="el" href="classNormalizer.html#a5e328ba64bbfb300775c8792fa198f39" title="Return the last character in the normalized text.">last()</a> will change the iterator state!)</p>
<p>The C API <a class="el" href="unorm_8h.html#ab929eae6735fc93dfd799f7b71553614" title="Iterative normalization forward.">unorm_next()</a> is more efficient and does not have this ambiguity.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the next normalized code point </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000216">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a5124e290d18f51ed622ea073f313ea9a"></a><!-- doxytag: member="Normalizer::normalize" ref="a5124e290d18f51ed622ea073f313ea9a" args="(const UnicodeString &amp;source, UNormalizationMode mode, int32_t options, UnicodeString &amp;result, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void Normalizer::normalize </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7">UNormalizationMode</a>&nbsp;</td>
          <td class="paramname"> <em>mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&nbsp;</td>
          <td class="paramname"> <em>options</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Normalizes a <code><a class="el" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a></code> according to the specified normalization mode. </p>
<p>This is a wrapper for <a class="el" href="unorm_8h.html#a5410fab40c4e60a787c5cfbea5103c75" title="Normalize a string.">unorm_normalize()</a>, using UnicodeString's.</p>
<p>The <code>options</code> parameter specifies which optional <code><a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a></code> features are to be enabled for this operation.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>the input string to be normalized. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>mode</em>&nbsp;</td><td>the normalization mode </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>options</em>&nbsp;</td><td>the optional features to be enabled (0 for no options) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>result</em>&nbsp;</td><td>The normalized string (on output). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>The error code. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000204">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a0c8c7519c75c5815c43634da7e1428cf"></a><!-- doxytag: member="Normalizer::operator!=" ref="a0c8c7519c75c5815c43634da7e1428cf" args="(const Normalizer &amp;that) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> Normalizer::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classNormalizer.html">Normalizer</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>that</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns FALSE when both iterators refer to the same character in the same input text. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>that</em>&nbsp;</td><td>a <a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a> object to compare this one to </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>comparison result </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000224">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="normlzr_8h_source.html#l00765">765</a> of file <a class="el" href="normlzr_8h_source.html">normlzr.h</a>.</p>

<p>References <a class="el" href="classNormalizer.html#a289ed61d6dcea6992bf066516b04b757">operator==()</a>.</p>

</div>
</div>
<a class="anchor" id="a289ed61d6dcea6992bf066516b04b757"></a><!-- doxytag: member="Normalizer::operator==" ref="a289ed61d6dcea6992bf066516b04b757" args="(const Normalizer &amp;that) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> Normalizer::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classNormalizer.html">Normalizer</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>that</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns TRUE when both iterators refer to the same character in the same input text. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>that</em>&nbsp;</td><td>a <a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a> object to compare this one to </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>comparison result </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000223">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Referenced by <a class="el" href="normlzr_8h_source.html#l00765">operator!=()</a>.</p>

</div>
</div>
<a class="anchor" id="af9fd130c84e97f04c78844f4474308b8"></a><!-- doxytag: member="Normalizer::previous" ref="af9fd130c84e97f04c78844f4474308b8" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> Normalizer::previous </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the previous character in the normalized text and decrement. </p>
<p>(Pre-decrement semantics.) If the beginning of the text has already been reached, DONE is returned. The DONE value could be confused with a U+FFFF non-character code point in the text. If this is possible, you can test (<a class="el" href="classNormalizer.html#a2fd3f751bb5608b2465ff8260dcb1db1" title="Retrieve the current iteration position in the input text that is being normalized...">getIndex()</a>&gt;<a class="el" href="classNormalizer.html#afd366dd2a0ed79bf7590f20a2226c47b" title="Retrieve the index of the start of the input text.">startIndex()</a> || <a class="el" href="classNormalizer.html#a633d6afcdb3f188ca08cc50638de61c3" title="Return the first character in the normalized text.">first()</a>!=DONE). (Calling <a class="el" href="classNormalizer.html#a633d6afcdb3f188ca08cc50638de61c3" title="Return the first character in the normalized text.">first()</a> will change the iterator state!)</p>
<p>The C API <a class="el" href="unorm_8h.html#a1b64cb761d9eb7ccfd7ec58a5e045975" title="Iterative normalization backward.">unorm_previous()</a> is more efficient and does not have this ambiguity.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the previous normalized code point </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000217">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ac96bb56ed31ebbb80a6483f002f8fd96"></a><!-- doxytag: member="Normalizer::quickCheck" ref="ac96bb56ed31ebbb80a6483f002f8fd96" args="(const UnicodeString &amp;source, UNormalizationMode mode, int32_t options, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="unorm2_8h.html#a01b7464189aef5dae63c0c759e84bece">UNormalizationCheckResult</a> Normalizer::quickCheck </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7">UNormalizationMode</a>&nbsp;</td>
          <td class="paramname"> <em>mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&nbsp;</td>
          <td class="paramname"> <em>options</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Performing quick check on a string; same as the other version of quickCheck but takes an extra options parameter like most normalization functions. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>string for determining if it is in a normalized format </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>mode</em>&nbsp;</td><td>normalization format </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>options</em>&nbsp;</td><td>the optional features to be enabled (0 for no options) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>A reference to a UErrorCode to receive any errors </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>UNORM_YES, UNORM_NO or UNORM_MAYBE</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classNormalizer.html#a63e55029e76459caff76fab6b44f0941" title="Test if a string is in a given normalization form.">isNormalized</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000208">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a115443fa15231058506585d937d392bd"></a><!-- doxytag: member="Normalizer::quickCheck" ref="a115443fa15231058506585d937d392bd" args="(const UnicodeString &amp;source, UNormalizationMode mode, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="unorm2_8h.html#a01b7464189aef5dae63c0c759e84bece">UNormalizationCheckResult</a> Normalizer::quickCheck </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7">UNormalizationMode</a>&nbsp;</td>
          <td class="paramname"> <em>mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Performing quick check on a string, to quickly determine if the string is in a particular normalization format. </p>
<p>This is a wrapper for <a class="el" href="unorm_8h.html#ad103c40dd46c7d95f6db4c97aed10277" title="Performing quick check on a string, to quickly determine if the string is in a particular...">unorm_quickCheck()</a>, using a <a class="el" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a>.</p>
<p>Three types of result can be returned UNORM_YES, UNORM_NO or UNORM_MAYBE. Result UNORM_YES indicates that the argument string is in the desired normalized format, UNORM_NO determines that argument string is not in the desired normalized format. A UNORM_MAYBE result indicates that a more thorough check is required, the user may have to put the string in its normalized form and compare the results. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>string for determining if it is in a normalized format </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>mode</em>&nbsp;</td><td>normalization format </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>A reference to a UErrorCode to receive any errors </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>UNORM_YES, UNORM_NO or UNORM_MAYBE</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classNormalizer.html#a63e55029e76459caff76fab6b44f0941" title="Test if a string is in a given normalization form.">isNormalized</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000207">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="normlzr_8h_source.html#l00769">769</a> of file <a class="el" href="normlzr_8h_source.html">normlzr.h</a>.</p>

</div>
</div>
<a class="anchor" id="a169f53c104e9c24d76a2176618aa9fda"></a><!-- doxytag: member="Normalizer::reset" ref="a169f53c104e9c24d76a2176618aa9fda" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Normalizer::reset </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reset the index to the beginning of the text. </p>
<p>This is equivalent to setIndexOnly(startIndex)). </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000219">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a3c8e33df967e2a30c6e841df988b5756"></a><!-- doxytag: member="Normalizer::setIndexOnly" ref="a3c8e33df967e2a30c6e841df988b5756" args="(int32_t index)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Normalizer::setIndexOnly </td>
          <td>(</td>
          <td class="paramtype">int32_t&nbsp;</td>
          <td class="paramname"> <em>index</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the iteration position in the input text that is being normalized, without any immediate normalization. </p>
<p>After <a class="el" href="classNormalizer.html#a3c8e33df967e2a30c6e841df988b5756" title="Set the iteration position in the input text that is being normalized, without any...">setIndexOnly()</a>, <a class="el" href="classNormalizer.html#a2fd3f751bb5608b2465ff8260dcb1db1" title="Retrieve the current iteration position in the input text that is being normalized...">getIndex()</a> will return the same index that is specified here.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>index</em>&nbsp;</td><td>the desired index in the input text. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000218">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a966e9f989a74c5e807256f2b9438a266"></a><!-- doxytag: member="Normalizer::setMode" ref="a966e9f989a74c5e807256f2b9438a266" args="(UNormalizationMode newMode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Normalizer::setMode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7">UNormalizationMode</a>&nbsp;</td>
          <td class="paramname"> <em>newMode</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the normalization mode for this object. </p>
<p><b>Note:</b>If the normalization mode is changed while iterating over a string, calls to <a class="el" href="classNormalizer.html#ad7125bdd961b05a270316754bc8edca9">next()</a> and <a class="el" href="classNormalizer.html#af9fd130c84e97f04c78844f4474308b8">previous()</a> may return previously buffers characters in the old normalization mode until the iteration is able to re-sync at the next base character. It is safest to call <a class="el" href="classNormalizer.html#a3c8e33df967e2a30c6e841df988b5756">setIndexOnly</a>, <a class="el" href="classNormalizer.html#a169f53c104e9c24d76a2176618aa9fda">reset()</a>, <a class="el" href="classNormalizer.html#a1d5afd752479fbcb341e7c1ae37e34dc">setText</a>, <a class="el" href="classNormalizer.html#a633d6afcdb3f188ca08cc50638de61c3">first()</a>, <a class="el" href="classNormalizer.html#a5e328ba64bbfb300775c8792fa198f39">last()</a>, etc. after calling <code>setMode</code>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>newMode</em>&nbsp;</td><td>the new mode for this <code><a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a></code>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classNormalizer.html#a9d09bd43f69dc849a6616ba48996e39e" title="Return the normalization mode for this object.">getUMode</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000227">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a1585e4ac5f8412162aede93932c3b190"></a><!-- doxytag: member="Normalizer::setOption" ref="a1585e4ac5f8412162aede93932c3b190" args="(int32_t option, UBool value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Normalizer::setOption </td>
          <td>(</td>
          <td class="paramtype">int32_t&nbsp;</td>
          <td class="paramname"> <em>option</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td>
          <td class="paramname"> <em>value</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set options that affect this <code><a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a></code>'s operation. </p>
<p>Options do not change the basic composition or decomposition operation that is being performed, but they control whether certain optional portions of the operation are done. Currently the only available option is obsolete.</p>
<p>It is possible to specify multiple options that are all turned on or off.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>option</em>&nbsp;</td><td>the option(s) whose value is/are to be set. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>the new setting for the option. Use <code>TRUE</code> to turn the option(s) on and <code>FALSE</code> to turn it/them off.</td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classNormalizer.html#a8960c192a905285e203dd05e3900d823" title="Determine whether an option is turned on or off.">getOption</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000229">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a10994a8cedef933ce425beb8cde57959"></a><!-- doxytag: member="Normalizer::setText" ref="a10994a8cedef933ce425beb8cde57959" args="(const UChar *newText, int32_t length, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Normalizer::setText </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&nbsp;</td>
          <td class="paramname"> <em>newText</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&nbsp;</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;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the input text over which this <code><a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a></code> will iterate. </p>
<p>The iteration position is set to the beginning.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>newText</em>&nbsp;</td><td>a string that replaces the current input text </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>length</em>&nbsp;</td><td>the length of the string, or -1 if NUL-terminated </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>a UErrorCode </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000233">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a392a18c5358e9fc96a82e79d30b9a7ef"></a><!-- doxytag: member="Normalizer::setText" ref="a392a18c5358e9fc96a82e79d30b9a7ef" args="(const CharacterIterator &amp;newText, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Normalizer::setText </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCharacterIterator.html">CharacterIterator</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>newText</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the input text over which this <code><a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a></code> will iterate. </p>
<p>The iteration position is set to the beginning.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>newText</em>&nbsp;</td><td>a <a class="el" href="classCharacterIterator.html" title="Abstract class that defines an API for iteration on text objects.">CharacterIterator</a> object that replaces the current input text </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>a UErrorCode </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000232">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a1d5afd752479fbcb341e7c1ae37e34dc"></a><!-- doxytag: member="Normalizer::setText" ref="a1d5afd752479fbcb341e7c1ae37e34dc" args="(const UnicodeString &amp;newText, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Normalizer::setText </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>newText</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the input text over which this <code><a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a></code> will iterate. </p>
<p>The iteration position is set to the beginning.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>newText</em>&nbsp;</td><td>a string that replaces the current input text </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>a UErrorCode </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000231">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="afd366dd2a0ed79bf7590f20a2226c47b"></a><!-- doxytag: member="Normalizer::startIndex" ref="afd366dd2a0ed79bf7590f20a2226c47b" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t Normalizer::startIndex </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve the index of the start of the input text. </p>
<p>This is the begin index of the <code><a class="el" href="classCharacterIterator.html" title="Abstract class that defines an API for iteration on text objects.">CharacterIterator</a></code> or the start (i.e. index 0) of the string over which this <code><a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a></code> is iterating.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the smallest index in the input text where the <a class="el" href="classNormalizer.html" title="The Normalizer class supports the standard normalization forms described in Unicode...">Normalizer</a> operates </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000221">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="normlzr_8h_source.html">normlzr.h</a></li>
</ul>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&nbsp;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&nbsp;</span>Defines</a></div>

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

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