Sophie

Sophie

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

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

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ICU 58.2: icu::Normalizer Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ICU 58.2
   &#160;<span id="projectnumber">58.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceicu.html">icu</a></li><li class="navelem"><a class="el" href="classicu_1_1Normalizer.html">Normalizer</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">icu::Normalizer Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Old Unicode normalization API.  
 <a href="classicu_1_1Normalizer.html#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 icu::Normalizer:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classicu_1_1Normalizer.png" usemap="#icu::Normalizer_map" alt=""/>
  <map id="icu::Normalizer_map" name="icu::Normalizer_map">
<area href="classicu_1_1UObject.html" title="UObject is the common ICU &quot;boilerplate&quot; class. " alt="icu::UObject" shape="rect" coords="0,56,96,80"/>
<area href="classicu_1_1UMemory.html" title="UMemory is the common ICU base class. " alt="icu::UMemory" shape="rect" coords="0,0,96,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a3d1e88a115b9bef393a6994cf68131f1"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom">{ <b>DONE</b> =0xffff
 }<tr class="memdesc:a3d1e88a115b9bef393a6994cf68131f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">If DONE is returned from an iteration function that returns a code point, then there are no more normalization results available.  <a href="classicu_1_1Normalizer.html#a3d1e88a115b9bef393a6994cf68131f1">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a3d1e88a115b9bef393a6994cf68131f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a9d43adfed5f4cc3656885aa64e6eb1e8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#a9d43adfed5f4cc3656885aa64e6eb1e8">Normalizer</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;str, <a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7">UNormalizationMode</a> mode)</td></tr>
<tr class="memdesc:a9d43adfed5f4cc3656885aa64e6eb1e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <code><a class="el" href="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">Normalizer</a></code> object for iterating over the normalized form of a given string.  <a href="#a9d43adfed5f4cc3656885aa64e6eb1e8">More...</a><br /></td></tr>
<tr class="separator:a9d43adfed5f4cc3656885aa64e6eb1e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ece5a606036ae71da4f0c4bb8d6071d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#a2ece5a606036ae71da4f0c4bb8d6071d">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 class="memdesc:a2ece5a606036ae71da4f0c4bb8d6071d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <code><a class="el" href="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">Normalizer</a></code> object for iterating over the normalized form of a given string.  <a href="#a2ece5a606036ae71da4f0c4bb8d6071d">More...</a><br /></td></tr>
<tr class="separator:a2ece5a606036ae71da4f0c4bb8d6071d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7b7f903700a533da74e0122b649cb72"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#ac7b7f903700a533da74e0122b649cb72">Normalizer</a> (const <a class="el" href="classicu_1_1CharacterIterator.html">CharacterIterator</a> &amp;iter, <a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7">UNormalizationMode</a> mode)</td></tr>
<tr class="memdesc:ac7b7f903700a533da74e0122b649cb72"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <code><a class="el" href="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">Normalizer</a></code> object for iterating over the normalized form of the given text.  <a href="#ac7b7f903700a533da74e0122b649cb72">More...</a><br /></td></tr>
<tr class="separator:ac7b7f903700a533da74e0122b649cb72"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a5ee6699cea8fb53d5543c1cf174612"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#a9a5ee6699cea8fb53d5543c1cf174612">Normalizer</a> (const <a class="el" href="classicu_1_1Normalizer.html">Normalizer</a> &amp;copy)</td></tr>
<tr class="memdesc:a9a5ee6699cea8fb53d5543c1cf174612"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor.  <a href="#a9a5ee6699cea8fb53d5543c1cf174612">More...</a><br /></td></tr>
<tr class="separator:a9a5ee6699cea8fb53d5543c1cf174612"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a474ff72e3cf409d1889028670fde5e18"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#a474ff72e3cf409d1889028670fde5e18">~Normalizer</a> ()</td></tr>
<tr class="memdesc:a474ff72e3cf409d1889028670fde5e18"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#a474ff72e3cf409d1889028670fde5e18">More...</a><br /></td></tr>
<tr class="separator:a474ff72e3cf409d1889028670fde5e18"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a655cf53fc01bd471c462a1ce51437178"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#a655cf53fc01bd471c462a1ce51437178">current</a> (void)</td></tr>
<tr class="memdesc:a655cf53fc01bd471c462a1ce51437178"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the current character in the normalized text.  <a href="#a655cf53fc01bd471c462a1ce51437178">More...</a><br /></td></tr>
<tr class="separator:a655cf53fc01bd471c462a1ce51437178"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affb2390025bb11ab0d6e8c602e19de00"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#affb2390025bb11ab0d6e8c602e19de00">first</a> (void)</td></tr>
<tr class="memdesc:affb2390025bb11ab0d6e8c602e19de00"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the first character in the normalized text.  <a href="#affb2390025bb11ab0d6e8c602e19de00">More...</a><br /></td></tr>
<tr class="separator:affb2390025bb11ab0d6e8c602e19de00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a455af7c23b538b1cf46908caadbb6f22"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#a455af7c23b538b1cf46908caadbb6f22">last</a> (void)</td></tr>
<tr class="memdesc:a455af7c23b538b1cf46908caadbb6f22"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the last character in the normalized text.  <a href="#a455af7c23b538b1cf46908caadbb6f22">More...</a><br /></td></tr>
<tr class="separator:a455af7c23b538b1cf46908caadbb6f22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd60e9dd5c5e0eec68baf55b31555e90"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#acd60e9dd5c5e0eec68baf55b31555e90">next</a> (void)</td></tr>
<tr class="memdesc:acd60e9dd5c5e0eec68baf55b31555e90"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the next character in the normalized text.  <a href="#acd60e9dd5c5e0eec68baf55b31555e90">More...</a><br /></td></tr>
<tr class="separator:acd60e9dd5c5e0eec68baf55b31555e90"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a376c6bd949263f4649640fa7092e834f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#a376c6bd949263f4649640fa7092e834f">previous</a> (void)</td></tr>
<tr class="memdesc:a376c6bd949263f4649640fa7092e834f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the previous character in the normalized text and decrement.  <a href="#a376c6bd949263f4649640fa7092e834f">More...</a><br /></td></tr>
<tr class="separator:a376c6bd949263f4649640fa7092e834f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb668341f4eef37f4c669c8d0fe4a994"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#afb668341f4eef37f4c669c8d0fe4a994">setIndexOnly</a> (int32_t index)</td></tr>
<tr class="memdesc:afb668341f4eef37f4c669c8d0fe4a994"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the iteration position in the input text that is being normalized, without any immediate normalization.  <a href="#afb668341f4eef37f4c669c8d0fe4a994">More...</a><br /></td></tr>
<tr class="separator:afb668341f4eef37f4c669c8d0fe4a994"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0aa005264f2d5f947ddaa062c569b15b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#a0aa005264f2d5f947ddaa062c569b15b">reset</a> (void)</td></tr>
<tr class="memdesc:a0aa005264f2d5f947ddaa062c569b15b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the index to the beginning of the text.  <a href="#a0aa005264f2d5f947ddaa062c569b15b">More...</a><br /></td></tr>
<tr class="separator:a0aa005264f2d5f947ddaa062c569b15b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af53d1c82030451d743ac124317919aab"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#af53d1c82030451d743ac124317919aab">getIndex</a> (void) const </td></tr>
<tr class="memdesc:af53d1c82030451d743ac124317919aab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the current iteration position in the input text that is being normalized.  <a href="#af53d1c82030451d743ac124317919aab">More...</a><br /></td></tr>
<tr class="separator:af53d1c82030451d743ac124317919aab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ce36170b3fb4d4de3a5b4277e4cbf38"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#a1ce36170b3fb4d4de3a5b4277e4cbf38">startIndex</a> (void) const </td></tr>
<tr class="memdesc:a1ce36170b3fb4d4de3a5b4277e4cbf38"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the index of the start of the input text.  <a href="#a1ce36170b3fb4d4de3a5b4277e4cbf38">More...</a><br /></td></tr>
<tr class="separator:a1ce36170b3fb4d4de3a5b4277e4cbf38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85ee960472e47549775060b0a17fe477"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#a85ee960472e47549775060b0a17fe477">endIndex</a> (void) const </td></tr>
<tr class="memdesc:a85ee960472e47549775060b0a17fe477"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the index of the end of the input text.  <a href="#a85ee960472e47549775060b0a17fe477">More...</a><br /></td></tr>
<tr class="separator:a85ee960472e47549775060b0a17fe477"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c6f7aa5c2c0f8f7a1993bf3414273c6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#a6c6f7aa5c2c0f8f7a1993bf3414273c6">operator==</a> (const <a class="el" href="classicu_1_1Normalizer.html">Normalizer</a> &amp;that) const </td></tr>
<tr class="memdesc:a6c6f7aa5c2c0f8f7a1993bf3414273c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns TRUE when both iterators refer to the same character in the same input text.  <a href="#a6c6f7aa5c2c0f8f7a1993bf3414273c6">More...</a><br /></td></tr>
<tr class="separator:a6c6f7aa5c2c0f8f7a1993bf3414273c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4bdaf3eaaa025982bf74d8e375492df6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#a4bdaf3eaaa025982bf74d8e375492df6">operator!=</a> (const <a class="el" href="classicu_1_1Normalizer.html">Normalizer</a> &amp;that) const </td></tr>
<tr class="memdesc:a4bdaf3eaaa025982bf74d8e375492df6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns FALSE when both iterators refer to the same character in the same input text.  <a href="#a4bdaf3eaaa025982bf74d8e375492df6">More...</a><br /></td></tr>
<tr class="separator:a4bdaf3eaaa025982bf74d8e375492df6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01ca7f380d2a76408c013e015cdbab89"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1Normalizer.html">Normalizer</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#a01ca7f380d2a76408c013e015cdbab89">clone</a> (void) const </td></tr>
<tr class="memdesc:a01ca7f380d2a76408c013e015cdbab89"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a pointer to a new <a class="el" href="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">Normalizer</a> that is a clone of this one.  <a href="#a01ca7f380d2a76408c013e015cdbab89">More...</a><br /></td></tr>
<tr class="separator:a01ca7f380d2a76408c013e015cdbab89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac64331fa8ec34b703f02e6cc3373f409"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#ac64331fa8ec34b703f02e6cc3373f409">hashCode</a> (void) const </td></tr>
<tr class="memdesc:ac64331fa8ec34b703f02e6cc3373f409"><td class="mdescLeft">&#160;</td><td class="mdescRight">Generates a hash code for this iterator.  <a href="#ac64331fa8ec34b703f02e6cc3373f409">More...</a><br /></td></tr>
<tr class="separator:ac64331fa8ec34b703f02e6cc3373f409"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31bd6ed3e6d79de91395b56be09bbc1c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#a31bd6ed3e6d79de91395b56be09bbc1c">setMode</a> (<a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7">UNormalizationMode</a> newMode)</td></tr>
<tr class="memdesc:a31bd6ed3e6d79de91395b56be09bbc1c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the normalization mode for this object.  <a href="#a31bd6ed3e6d79de91395b56be09bbc1c">More...</a><br /></td></tr>
<tr class="separator:a31bd6ed3e6d79de91395b56be09bbc1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a707875d9f95509a803d1f5641fd79aa5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7">UNormalizationMode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#a707875d9f95509a803d1f5641fd79aa5">getUMode</a> (void) const </td></tr>
<tr class="memdesc:a707875d9f95509a803d1f5641fd79aa5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the normalization mode for this object.  <a href="#a707875d9f95509a803d1f5641fd79aa5">More...</a><br /></td></tr>
<tr class="separator:a707875d9f95509a803d1f5641fd79aa5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0ec7de52263f1e5b37bf63822550d8f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#ab0ec7de52263f1e5b37bf63822550d8f">setOption</a> (int32_t option, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> value)</td></tr>
<tr class="memdesc:ab0ec7de52263f1e5b37bf63822550d8f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set options that affect this <code><a class="el" href="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">Normalizer</a></code>'s operation.  <a href="#ab0ec7de52263f1e5b37bf63822550d8f">More...</a><br /></td></tr>
<tr class="separator:ab0ec7de52263f1e5b37bf63822550d8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a7086b543b13b76189550c8349a1a3b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#a4a7086b543b13b76189550c8349a1a3b">getOption</a> (int32_t option) const </td></tr>
<tr class="memdesc:a4a7086b543b13b76189550c8349a1a3b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determine whether an option is turned on or off.  <a href="#a4a7086b543b13b76189550c8349a1a3b">More...</a><br /></td></tr>
<tr class="separator:a4a7086b543b13b76189550c8349a1a3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54526c1af05705922fe29f565410d184"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#a54526c1af05705922fe29f565410d184">setText</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;newText, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a54526c1af05705922fe29f565410d184"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the input text over which this <code><a class="el" href="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">Normalizer</a></code> will iterate.  <a href="#a54526c1af05705922fe29f565410d184">More...</a><br /></td></tr>
<tr class="separator:a54526c1af05705922fe29f565410d184"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e61858a1314df919ec7b332ab6845cd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#a9e61858a1314df919ec7b332ab6845cd">setText</a> (const <a class="el" href="classicu_1_1CharacterIterator.html">CharacterIterator</a> &amp;newText, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a9e61858a1314df919ec7b332ab6845cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the input text over which this <code><a class="el" href="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">Normalizer</a></code> will iterate.  <a href="#a9e61858a1314df919ec7b332ab6845cd">More...</a><br /></td></tr>
<tr class="separator:a9e61858a1314df919ec7b332ab6845cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4cd134d4e17dae16ce73c7bfe9768076"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#a4cd134d4e17dae16ce73c7bfe9768076">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 class="memdesc:a4cd134d4e17dae16ce73c7bfe9768076"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the input text over which this <code><a class="el" href="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">Normalizer</a></code> will iterate.  <a href="#a4cd134d4e17dae16ce73c7bfe9768076">More...</a><br /></td></tr>
<tr class="separator:a4cd134d4e17dae16ce73c7bfe9768076"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeab884aa523e98aa205a93685a8d882b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#aeab884aa523e98aa205a93685a8d882b">getText</a> (<a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;result)</td></tr>
<tr class="memdesc:aeab884aa523e98aa205a93685a8d882b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copies the input text into the <a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> argument.  <a href="#aeab884aa523e98aa205a93685a8d882b">More...</a><br /></td></tr>
<tr class="separator:aeab884aa523e98aa205a93685a8d882b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a499e3f87c67da2ddf70e81ca67db28d9"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#a499e3f87c67da2ddf70e81ca67db28d9">getDynamicClassID</a> () const </td></tr>
<tr class="memdesc:a499e3f87c67da2ddf70e81ca67db28d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for the actual class.  <a href="#a499e3f87c67da2ddf70e81ca67db28d9">More...</a><br /></td></tr>
<tr class="separator:a499e3f87c67da2ddf70e81ca67db28d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classicu_1_1UObject"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classicu_1_1UObject')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classicu_1_1UObject.html">icu::UObject</a></td></tr>
<tr class="memitem:af10026497704f510d3d1f2eff50acb18 inherit pub_methods_classicu_1_1UObject"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1UObject.html#af10026497704f510d3d1f2eff50acb18">~UObject</a> ()</td></tr>
<tr class="memdesc:af10026497704f510d3d1f2eff50acb18 inherit pub_methods_classicu_1_1UObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#af10026497704f510d3d1f2eff50acb18">More...</a><br /></td></tr>
<tr class="separator:af10026497704f510d3d1f2eff50acb18 inherit pub_methods_classicu_1_1UObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ac24cf5f82192933d5461bde71fab439c"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#ac24cf5f82192933d5461bde71fab439c">normalize</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;source, <a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7">UNormalizationMode</a> mode, int32_t options, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;result, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:ac24cf5f82192933d5461bde71fab439c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Normalizes a <code><a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a></code> according to the specified normalization mode.  <a href="#ac24cf5f82192933d5461bde71fab439c">More...</a><br /></td></tr>
<tr class="separator:ac24cf5f82192933d5461bde71fab439c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afeecdb1606aaa3cc073bc5cd451a8898"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#afeecdb1606aaa3cc073bc5cd451a8898">compose</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;source, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> compat, int32_t options, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;result, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:afeecdb1606aaa3cc073bc5cd451a8898"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compose a <code><a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a></code>.  <a href="#afeecdb1606aaa3cc073bc5cd451a8898">More...</a><br /></td></tr>
<tr class="separator:afeecdb1606aaa3cc073bc5cd451a8898"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a256244f97898fe7ed877c99db30c0460"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#a256244f97898fe7ed877c99db30c0460">decompose</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;source, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> compat, int32_t options, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;result, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a256244f97898fe7ed877c99db30c0460"><td class="mdescLeft">&#160;</td><td class="mdescRight">Static method to decompose a <code><a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a></code>.  <a href="#a256244f97898fe7ed877c99db30c0460">More...</a><br /></td></tr>
<tr class="separator:a256244f97898fe7ed877c99db30c0460"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:accc0bfdf2449edf82cb943faae403fc6"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="unorm2_8h.html#a01b7464189aef5dae63c0c759e84bece">UNormalizationCheckResult</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#accc0bfdf2449edf82cb943faae403fc6">quickCheck</a> (const <a class="el" href="classicu_1_1UnicodeString.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 class="memdesc:accc0bfdf2449edf82cb943faae403fc6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Performing quick check on a string, to quickly determine if the string is in a particular normalization format.  <a href="#accc0bfdf2449edf82cb943faae403fc6">More...</a><br /></td></tr>
<tr class="separator:accc0bfdf2449edf82cb943faae403fc6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8c6df58a2bce023cf6ffd8316d80ef1"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="unorm2_8h.html#a01b7464189aef5dae63c0c759e84bece">UNormalizationCheckResult</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#aa8c6df58a2bce023cf6ffd8316d80ef1">quickCheck</a> (const <a class="el" href="classicu_1_1UnicodeString.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 class="memdesc:aa8c6df58a2bce023cf6ffd8316d80ef1"><td class="mdescLeft">&#160;</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="#aa8c6df58a2bce023cf6ffd8316d80ef1">More...</a><br /></td></tr>
<tr class="separator:aa8c6df58a2bce023cf6ffd8316d80ef1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a986c52dad0b983716ae94512c7328cc4"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#a986c52dad0b983716ae94512c7328cc4">isNormalized</a> (const <a class="el" href="classicu_1_1UnicodeString.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 class="memdesc:a986c52dad0b983716ae94512c7328cc4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Test if a string is in a given normalization form.  <a href="#a986c52dad0b983716ae94512c7328cc4">More...</a><br /></td></tr>
<tr class="separator:a986c52dad0b983716ae94512c7328cc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a926208bf828ad69fd7ece380ccead43b"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#a926208bf828ad69fd7ece380ccead43b">isNormalized</a> (const <a class="el" href="classicu_1_1UnicodeString.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 class="memdesc:a926208bf828ad69fd7ece380ccead43b"><td class="mdescLeft">&#160;</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="#a926208bf828ad69fd7ece380ccead43b">More...</a><br /></td></tr>
<tr class="separator:a926208bf828ad69fd7ece380ccead43b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae82c8ff2e336fbee2533407f9b302b7b"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#ae82c8ff2e336fbee2533407f9b302b7b">concatenate</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;left, const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;right, <a class="el" href="classicu_1_1UnicodeString.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 class="memdesc:ae82c8ff2e336fbee2533407f9b302b7b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Concatenate normalized strings, making sure that the result is normalized as well.  <a href="#ae82c8ff2e336fbee2533407f9b302b7b">More...</a><br /></td></tr>
<tr class="separator:ae82c8ff2e336fbee2533407f9b302b7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af02322982039c150e7cf31b7e37c6a61"><td class="memItemLeft" align="right" valign="top">static int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#af02322982039c150e7cf31b7e37c6a61">compare</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;s1, const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;s2, uint32_t options, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;errorCode)</td></tr>
<tr class="memdesc:af02322982039c150e7cf31b7e37c6a61"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compare two strings for canonical equivalence.  <a href="#af02322982039c150e7cf31b7e37c6a61">More...</a><br /></td></tr>
<tr class="separator:af02322982039c150e7cf31b7e37c6a61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29085c75dfbe81687f53df9de750a464"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Normalizer.html#a29085c75dfbe81687f53df9de750a464">getStaticClassID</a> ()</td></tr>
<tr class="memdesc:a29085c75dfbe81687f53df9de750a464"><td class="mdescLeft">&#160;</td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for this class.  <a href="#a29085c75dfbe81687f53df9de750a464">More...</a><br /></td></tr>
<tr class="separator:a29085c75dfbe81687f53df9de750a464"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Old Unicode normalization API. </p>
<p>This API has been replaced by the <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> class and is only available for backward compatibility. This class simply delegates to the <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> class. There is one exception: The new API does not provide a replacement for <a class="el" href="classicu_1_1Normalizer.html#af02322982039c150e7cf31b7e37c6a61" title="Compare two strings for canonical equivalence. ">Normalizer::compare()</a>.</p>
<p>The <a class="el" href="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">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>The <a class="el" href="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">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="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">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="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">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="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">Normalizer</a> constructors and the non-static functions use a <a class="el" href="classicu_1_1CharacterIterator.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="classicu_1_1CharacterIterator.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="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">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="classicu_1_1Normalizer.html#af53d1c82030451d743ac124317919aab" title="Retrieve the current iteration position in the input text that is being normalized. ">getIndex()</a> inconsistently, and <a class="el" href="classicu_1_1Normalizer.html#a376c6bd949263f4649640fa7092e834f" title="Return the previous character in the normalized text and decrement. ">previous()</a> could not be used after setIndex(), <a class="el" href="classicu_1_1Normalizer.html#acd60e9dd5c5e0eec68baf55b31555e90" title="Return the next character in the normalized text. ">next()</a>, <a class="el" href="classicu_1_1Normalizer.html#affb2390025bb11ab0d6e8c602e19de00" title="Return the first character in the normalized text. ">first()</a>, and <a class="el" href="classicu_1_1Normalizer.html#a655cf53fc01bd471c462a1ce51437178" title="Return the current character in the normalized text. ">current()</a>.</p>
<p><a class="el" href="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">Normalizer</a> allows to start normalizing from anywhere in the input text by calling <a class="el" href="classicu_1_1Normalizer.html#afb668341f4eef37f4c669c8d0fe4a994" title="Set the iteration position in the input text that is being normalized, without any immediate normaliz...">setIndexOnly()</a>, <a class="el" href="classicu_1_1Normalizer.html#affb2390025bb11ab0d6e8c602e19de00" title="Return the first character in the normalized text. ">first()</a>, or <a class="el" href="classicu_1_1Normalizer.html#a455af7c23b538b1cf46908caadbb6f22" 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="classicu_1_1Normalizer.html#acd60e9dd5c5e0eec68baf55b31555e90" 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="classicu_1_1ForwardCharacterIterator.html#acccb6c5e433ff1cbaa5830130b569e97" title="Gets the current code point for returning and advances to the next code point in the iteration range ...">CharacterIterator::next32PostInc()</a>). <a class="el" href="classicu_1_1Normalizer.html#a376c6bd949263f4649640fa7092e834f" 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="classicu_1_1CharacterIterator.html#aa4e10820fbdb4dda83464e4bb629cbdb" title="Advances to the previous code point in the iteration range (toward startIndex()), and returns that co...">CharacterIterator::previous32()</a>).</p>
<p><a class="el" href="classicu_1_1Normalizer.html#a655cf53fc01bd471c462a1ce51437178" 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="classicu_1_1Normalizer.html#af53d1c82030451d743ac124317919aab" 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="classicu_1_1Normalizer.html#a655cf53fc01bd471c462a1ce51437178" title="Return the current character in the normalized text. ">current()</a> is not const.) It is more efficient to call <a class="el" href="classicu_1_1Normalizer.html#afb668341f4eef37f4c669c8d0fe4a994" title="Set the iteration position in the input text that is being normalized, without any immediate normaliz...">setIndexOnly()</a> instead, which does not normalize.</p>
<p><a class="el" href="classicu_1_1Normalizer.html#af53d1c82030451d743ac124317919aab" 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="classicu_1_1Normalizer.html#af53d1c82030451d743ac124317919aab" 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="classicu_1_1Normalizer.html#acd60e9dd5c5e0eec68baf55b31555e90" title="Return the next character in the normalized text. ">next()</a> returns a code point from at or after the <a class="el" href="classicu_1_1Normalizer.html#af53d1c82030451d743ac124317919aab" title="Retrieve the current iteration position in the input text that is being normalized. ">getIndex()</a> from before the <a class="el" href="classicu_1_1Normalizer.html#acd60e9dd5c5e0eec68baf55b31555e90" title="Return the next character in the normalized text. ">next()</a> call. After the <a class="el" href="classicu_1_1Normalizer.html#acd60e9dd5c5e0eec68baf55b31555e90" title="Return the next character in the normalized text. ">next()</a> call, the <a class="el" href="classicu_1_1Normalizer.html#af53d1c82030451d743ac124317919aab" 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="classicu_1_1Normalizer.html#acd60e9dd5c5e0eec68baf55b31555e90" title="Return the next character in the normalized text. ">next()</a> or <a class="el" href="classicu_1_1Normalizer.html#a655cf53fc01bd471c462a1ce51437178" 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="classicu_1_1Normalizer.html#a376c6bd949263f4649640fa7092e834f" 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="classicu_1_1Normalizer.html#af53d1c82030451d743ac124317919aab" title="Retrieve the current iteration position in the input text that is being normalized. ">getIndex()</a> from after the <a class="el" href="classicu_1_1Normalizer.html#a376c6bd949263f4649640fa7092e834f" title="Return the previous character in the normalized text and decrement. ">previous()</a> call. This is semantically equivalent to array access with array[&ndash;index] (pre-decrement semantics).</p>
<p>Internally, the <a class="el" href="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">Normalizer</a> iterator normalizes a small piece of text starting at the <a class="el" href="classicu_1_1Normalizer.html#af53d1c82030451d743ac124317919aab" 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="classicu_1_1Normalizer.html#af53d1c82030451d743ac124317919aab" 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="classicu_1_1Normalizer.html#af53d1c82030451d743ac124317919aab" 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="classicu_1_1Normalizer.html#af53d1c82030451d743ac124317919aab" 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="classicu_1_1Normalizer.html#af53d1c82030451d743ac124317919aab" title="Retrieve the current iteration position in the input text that is being normalized. ">getIndex()</a> is different after <a class="el" href="classicu_1_1Normalizer.html#acd60e9dd5c5e0eec68baf55b31555e90" 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="classicu_1_1Normalizer.html#af53d1c82030451d743ac124317919aab" title="Retrieve the current iteration position in the input text that is being normalized. ">getIndex()</a> later with <a class="el" href="classicu_1_1Normalizer.html#afb668341f4eef37f4c669c8d0fe4a994" title="Set the iteration position in the input text that is being normalized, without any immediate normaliz...">setIndexOnly()</a>.</p>
<p>Note: While the setIndex() and <a class="el" href="classicu_1_1Normalizer.html#af53d1c82030451d743ac124317919aab" 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="classicu_1_1Normalizer.html#acd60e9dd5c5e0eec68baf55b31555e90" title="Return the next character in the normalized text. ">next()</a> and <a class="el" href="classicu_1_1Normalizer.html#a376c6bd949263f4649640fa7092e834f" 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="classicu_1_1Normalizer.html#acd60e9dd5c5e0eec68baf55b31555e90" title="Return the next character in the normalized text. ">next()</a> and <a class="el" href="classicu_1_1Normalizer.html#a376c6bd949263f4649640fa7092e834f" 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="classicu_1_1Normalizer.html#af53d1c82030451d743ac124317919aab" 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="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">Normalizer</a> does not implement the <a class="el" href="classicu_1_1CharacterIterator.html" title="Abstract class that defines an API for iteration on text objects. ">CharacterIterator</a> interface.</p>
<dl class="section author"><dt>Author</dt><dd>Laura Werner, Mark Davis, Markus Scherer </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000447">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="normlzr_8h_source.html#l00134">134</a> of file <a class="el" href="normlzr_8h_source.html">normlzr.h</a>.</p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a class="anchor" id="a3d1e88a115b9bef393a6994cf68131f1"></a>
<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="deprecated"><dt><b>Deprecated:</b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </dd></dl>

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

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a9d43adfed5f4cc3656885aa64e6eb1e8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">icu::Normalizer::Normalizer </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7">UNormalizationMode</a>&#160;</td>
          <td class="paramname"><em>mode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a new <code><a class="el" href="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">Normalizer</a></code> object for iterating over the normalized form of a given string. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">str</td><td>The string to be normalized. The normalization will start at the beginning of the string.</td></tr>
    <tr><td class="paramname">mode</td><td>The normalization mode. </td></tr>
  </table>
  </dd>
</dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000005">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </dd></dl>

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

<p>Creates a new <code><a class="el" href="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">Normalizer</a></code> object for iterating over the normalized form of a given string. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">str</td><td>The string to be normalized. The normalization will start at the beginning of the string.</td></tr>
    <tr><td class="paramname">length</td><td>Length of the string, or -1 if NUL-terminated. </td></tr>
    <tr><td class="paramname">mode</td><td>The normalization mode. </td></tr>
  </table>
  </dd>
</dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000006">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="ac7b7f903700a533da74e0122b649cb72"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">icu::Normalizer::Normalizer </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1CharacterIterator.html">CharacterIterator</a> &amp;&#160;</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>&#160;</td>
          <td class="paramname"><em>mode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a new <code><a class="el" href="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">Normalizer</a></code> object for iterating over the normalized form of the given text. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">iter</td><td>The input text to be normalized. The normalization will start at the beginning of the string.</td></tr>
    <tr><td class="paramname">mode</td><td>The normalization mode. </td></tr>
  </table>
  </dd>
</dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000007">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a9a5ee6699cea8fb53d5543c1cf174612"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">icu::Normalizer::Normalizer </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Normalizer.html">Normalizer</a> &amp;&#160;</td>
          <td class="paramname"><em>copy</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copy constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">copy</td><td>The object to be copied. </td></tr>
  </table>
  </dd>
</dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000008">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </dd></dl>

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

<p>Destructor. </p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000009">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead.</dd></dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a01ca7f380d2a76408c013e015cdbab89"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1Normalizer.html">Normalizer</a>* icu::Normalizer::clone </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns a pointer to a new <a class="el" href="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">Normalizer</a> that is a clone of this one. </p>
<p>The caller is responsible for deleting the new clone. </p><dl class="section return"><dt>Returns</dt><dd>a pointer to a new <a class="el" href="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">Normalizer</a> </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000030">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="af02322982039c150e7cf31b7e37c6a61"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int32_t icu::Normalizer::compare </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>s1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>s2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</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;&#160;</td>
          <td class="paramname"><em>errorCode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </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 class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">s1</td><td>First source string. </td></tr>
    <tr><td class="paramname">s2</td><td>Second source string.</td></tr>
    <tr><td class="paramname">options</td><td>A bit set of options:<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>
<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>
<li>U_COMPARE_CODE_POINT_ORDER Set to choose code point order instead of code unit order (see u_strCompare for details).</li>
<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>
<li>Options as used with case-insensitive comparisons, currently:</li>
<li>U_FOLD_CASE_EXCLUDE_SPECIAL_I (see u_strCaseCompare for details)</li>
<li>regular normalization options shifted left by UNORM_COMPARE_NORM_OPTIONS_SHIFT</li>
</ul>
</td></tr>
    <tr><td class="paramname">errorCode</td><td>ICU error code in/out parameter. Must fulfill U_SUCCESS before the function call. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>&lt;0 or 0 or &gt;0 as usual for string comparisons</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="unorm2_8h.html#a991e0fe6f0d062dd6e8e924517f3f437" title="Compares two strings for canonical equivalence. ">unorm_compare</a> </dd>
<dd>
<a class="el" href="classicu_1_1Normalizer.html#ac24cf5f82192933d5461bde71fab439c" 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#_stable000448">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>

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

<p>References <a class="el" href="classicu_1_1UnicodeString.html#a27caf1df879f017f7e017206b8d25d0b">icu::UnicodeString::getBuffer()</a>, <a class="el" href="unistr_8h_source.html#l03792">icu::UnicodeString::length()</a>, <a class="el" href="uversion_8h_source.html#l00132">U_NAMESPACE_END</a>, and <a class="el" href="unorm2_8h.html#a991e0fe6f0d062dd6e8e924517f3f437">unorm_compare()</a>.</p>

</div>
</div>
<a class="anchor" id="afeecdb1606aaa3cc073bc5cd451a8898"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void icu::Normalizer::compose </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td>
          <td class="paramname"><em>compat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>options</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Compose a <code><a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a></code>. </p>
<p>This is equivalent to <a class="el" href="classicu_1_1Normalizer.html#ac24cf5f82192933d5461bde71fab439c" 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 <a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>'s.</p>
<p>The <code>options</code> parameter specifies which optional <code><a class="el" href="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">Normalizer</a></code> features are to be enabled for this operation.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td>the string to be composed. </td></tr>
    <tr><td class="paramname">compat</td><td>Perform compatibility decomposition before composition. If this argument is <code>FALSE</code>, only canonical decomposition will be performed. </td></tr>
    <tr><td class="paramname">options</td><td>the optional features to be enabled (0 for no options) </td></tr>
    <tr><td class="paramname">result</td><td>The composed string (on output). </td></tr>
    <tr><td class="paramname">status</td><td>The error code. </td></tr>
  </table>
  </dd>
</dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000011">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="ae82c8ff2e336fbee2533407f9b302b7b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; icu::Normalizer::concatenate </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>left</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>right</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7">UNormalizationMode</a>&#160;</td>
          <td class="paramname"><em>mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</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;&#160;</td>
          <td class="paramname"><em>errorCode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </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"><div class="line">dest=<a class="code" href="classicu_1_1Normalizer.html#ac24cf5f82192933d5461bde71fab439c">normalize</a>(left+right, mode, options)</div></div><!-- fragment --><p>For details see unorm_concatenate in <a class="el" href="unorm_8h.html" title="C API: Unicode Normalization. ">unorm.h</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">left</td><td>Left source string. </td></tr>
    <tr><td class="paramname">right</td><td>Right source string. </td></tr>
    <tr><td class="paramname">result</td><td>The output string. </td></tr>
    <tr><td class="paramname">mode</td><td>The normalization mode. </td></tr>
    <tr><td class="paramname">options</td><td>A bit set of normalization options. </td></tr>
    <tr><td class="paramname">errorCode</td><td>ICU error code in/out parameter. Must fulfill U_SUCCESS before the function call. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>result</dd></dl>
<dl class="section see"><dt>See also</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="classicu_1_1Normalizer.html#ac24cf5f82192933d5461bde71fab439c" 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="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000017">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a655cf53fc01bd471c462a1ce51437178"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> icu::Normalizer::current </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return the current character in the normalized text. </p>
<p><a class="el" href="classicu_1_1Normalizer.html#a655cf53fc01bd471c462a1ce51437178" title="Return the current character in the normalized text. ">current()</a> may need to normalize some text at <a class="el" href="classicu_1_1Normalizer.html#af53d1c82030451d743ac124317919aab" title="Retrieve the current iteration position in the input text that is being normalized. ">getIndex()</a>. The <a class="el" href="classicu_1_1Normalizer.html#af53d1c82030451d743ac124317919aab" title="Retrieve the current iteration position in the input text that is being normalized. ">getIndex()</a> is not changed.</p>
<dl class="section return"><dt>Returns</dt><dd>the current normalized code point </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000018">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a256244f97898fe7ed877c99db30c0460"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void icu::Normalizer::decompose </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td>
          <td class="paramname"><em>compat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>options</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Static method to decompose a <code><a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a></code>. </p>
<p>This is equivalent to <a class="el" href="classicu_1_1Normalizer.html#ac24cf5f82192933d5461bde71fab439c" 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 <a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>'s.</p>
<p>The <code>options</code> parameter specifies which optional <code><a class="el" href="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">Normalizer</a></code> features are to be enabled for this operation.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td>the string to be decomposed. </td></tr>
    <tr><td class="paramname">compat</td><td>Perform compatibility decomposition. If this argument is <code>FALSE</code>, only canonical decomposition will be performed. </td></tr>
    <tr><td class="paramname">options</td><td>the optional features to be enabled (0 for no options) </td></tr>
    <tr><td class="paramname">result</td><td>The decomposed string (on output). </td></tr>
    <tr><td class="paramname">status</td><td>The error code. </td></tr>
  </table>
  </dd>
</dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000012">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a85ee960472e47549775060b0a17fe477"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t icu::Normalizer::endIndex </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</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="classicu_1_1CharacterIterator.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="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">Normalizer</a></code> is iterating. This end index is exclusive, i.e., the <a class="el" href="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">Normalizer</a> operates only on characters before this index.</p>
<dl class="section return"><dt>Returns</dt><dd>the first index in the input text where the <a class="el" href="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">Normalizer</a> does not operate </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000027">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="affb2390025bb11ab0d6e8c602e19de00"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> icu::Normalizer::first </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</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(startIndex()) followed by <a class="el" href="classicu_1_1Normalizer.html#acd60e9dd5c5e0eec68baf55b31555e90" title="Return the next character in the normalized text. ">next()</a>. (Post-increment semantics.)</p>
<dl class="section return"><dt>Returns</dt><dd>the first normalized code point </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000019">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a499e3f87c67da2ddf70e81ca67db28d9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> icu::Normalizer::getDynamicClassID </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>ICU "poor man's RTTI", returns a UClassID for the actual class. </p>
<dl class="section return"><dt>Returns</dt><dd>a UClassID for the actual class. </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000041">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </dd></dl>

<p>Reimplemented from <a class="el" href="classicu_1_1UObject.html#a1aa93096e880907080b503ff1fb0f8bc">icu::UObject</a>.</p>

</div>
</div>
<a class="anchor" id="af53d1c82030451d743ac124317919aab"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t icu::Normalizer::getIndex </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</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="classicu_1_1Normalizer.html#acd60e9dd5c5e0eec68baf55b31555e90" 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="classicu_1_1Normalizer.html#a376c6bd949263f4649640fa7092e834f" title="Return the previous character in the normalized text and decrement. ">previous()</a>, <a class="el" href="classicu_1_1Normalizer.html#af53d1c82030451d743ac124317919aab" 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="classicu_1_1Normalizer.html#a376c6bd949263f4649640fa7092e834f" title="Return the previous character in the normalized text and decrement. ">previous()</a>.</p>
<dl class="section return"><dt>Returns</dt><dd>the current index in the input text </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000025">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a4a7086b543b13b76189550c8349a1a3b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::Normalizer::getOption </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>option</em></td><td>)</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 class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">option</td><td>the option(s) that are to be checked </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if any of the option(s) are set </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classicu_1_1Normalizer.html#ab0ec7de52263f1e5b37bf63822550d8f" title="Set options that affect this Normalizer&#39;s operation. ">setOption</a> </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000035">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a29085c75dfbe81687f53df9de750a464"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> icu::Normalizer::getStaticClassID </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>ICU "poor man's RTTI", returns a UClassID for this class. </p>
<dl class="section return"><dt>Returns</dt><dd>a UClassID for this class. </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000040">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="aeab884aa523e98aa205a93685a8d882b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Normalizer::getText </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>result</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copies the input text into the <a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> argument. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">result</td><td>Receives a copy of the text under iteration. </td></tr>
  </table>
  </dd>
</dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000039">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a707875d9f95509a803d1f5641fd79aa5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7">UNormalizationMode</a> icu::Normalizer::getUMode </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</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="section return"><dt>Returns</dt><dd>the mode for this <code><a class="el" href="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">Normalizer</a></code> </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classicu_1_1Normalizer.html#a31bd6ed3e6d79de91395b56be09bbc1c" title="Set the normalization mode for this object. ">setMode</a> </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000033">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="ac64331fa8ec34b703f02e6cc3373f409"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t icu::Normalizer::hashCode </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Generates a hash code for this iterator. </p>
<dl class="section return"><dt>Returns</dt><dd>the hash code </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000031">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a986c52dad0b983716ae94512c7328cc4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::Normalizer::isNormalized </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</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>&#160;</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;&#160;</td>
          <td class="paramname"><em>errorCode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </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 normalizati...">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 class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>String that is to be tested if it is in a normalization format. </td></tr>
    <tr><td class="paramname">mode</td><td>Which normalization form to test for. </td></tr>
    <tr><td class="paramname">errorCode</td><td>ICU error code in/out parameter. Must fulfill U_SUCCESS before the function call. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Boolean value indicating whether the source string is in the "mode" normalization form.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classicu_1_1Normalizer.html#accc0bfdf2449edf82cb943faae403fc6" title="Performing quick check on a string, to quickly determine if the string is in a particular normalizati...">quickCheck</a> </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000015">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </dd></dl>

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

</div>
</div>
<a class="anchor" id="a926208bf828ad69fd7ece380ccead43b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::Normalizer::isNormalized </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</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>&#160;</td>
          <td class="paramname"><em>mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</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;&#160;</td>
          <td class="paramname"><em>errorCode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </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 class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>String that is to be tested if it is in a normalization format. </td></tr>
    <tr><td class="paramname">mode</td><td>Which normalization form to test for. </td></tr>
    <tr><td class="paramname">options</td><td>the optional features to be enabled (0 for no options) </td></tr>
    <tr><td class="paramname">errorCode</td><td>ICU error code in/out parameter. Must fulfill U_SUCCESS before the function call. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Boolean value indicating whether the source string is in the "mode" normalization form.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classicu_1_1Normalizer.html#accc0bfdf2449edf82cb943faae403fc6" title="Performing quick check on a string, to quickly determine if the string is in a particular normalizati...">quickCheck</a> </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000016">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a455af7c23b538b1cf46908caadbb6f22"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> icu::Normalizer::last </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</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(endIndex()) followed by <a class="el" href="classicu_1_1Normalizer.html#a376c6bd949263f4649640fa7092e834f" title="Return the previous character in the normalized text and decrement. ">previous()</a>. (Pre-decrement semantics.)</p>
<dl class="section return"><dt>Returns</dt><dd>the last normalized code point </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000020">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="acd60e9dd5c5e0eec68baf55b31555e90"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> icu::Normalizer::next </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</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="classicu_1_1Normalizer.html#af53d1c82030451d743ac124317919aab" title="Retrieve the current iteration position in the input text that is being normalized. ">getIndex()</a>&lt;<a class="el" href="classicu_1_1Normalizer.html#a85ee960472e47549775060b0a17fe477" title="Retrieve the index of the end of the input text. ">endIndex()</a> before calling <a class="el" href="classicu_1_1Normalizer.html#acd60e9dd5c5e0eec68baf55b31555e90" title="Return the next character in the normalized text. ">next()</a>, or (<a class="el" href="classicu_1_1Normalizer.html#af53d1c82030451d743ac124317919aab" title="Retrieve the current iteration position in the input text that is being normalized. ">getIndex()</a>&lt;<a class="el" href="classicu_1_1Normalizer.html#a85ee960472e47549775060b0a17fe477" title="Retrieve the index of the end of the input text. ">endIndex()</a> || <a class="el" href="classicu_1_1Normalizer.html#a455af7c23b538b1cf46908caadbb6f22" title="Return the last character in the normalized text. ">last()</a>!=DONE) after calling <a class="el" href="classicu_1_1Normalizer.html#acd60e9dd5c5e0eec68baf55b31555e90" title="Return the next character in the normalized text. ">next()</a>. (Calling <a class="el" href="classicu_1_1Normalizer.html#a455af7c23b538b1cf46908caadbb6f22" 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="section return"><dt>Returns</dt><dd>the next normalized code point </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000021">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="ac24cf5f82192933d5461bde71fab439c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void icu::Normalizer::normalize </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7">UNormalizationMode</a>&#160;</td>
          <td class="paramname"><em>mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>options</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Normalizes a <code><a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a></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 <a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>'s.</p>
<p>The <code>options</code> parameter specifies which optional <code><a class="el" href="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">Normalizer</a></code> features are to be enabled for this operation.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td>the input string to be normalized. </td></tr>
    <tr><td class="paramname">mode</td><td>the normalization mode </td></tr>
    <tr><td class="paramname">options</td><td>the optional features to be enabled (0 for no options) </td></tr>
    <tr><td class="paramname">result</td><td>The normalized string (on output). </td></tr>
    <tr><td class="paramname">status</td><td>The error code. </td></tr>
  </table>
  </dd>
</dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000010">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a4bdaf3eaaa025982bf74d8e375492df6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::Normalizer::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Normalizer.html">Normalizer</a> &amp;&#160;</td>
          <td class="paramname"><em>that</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns FALSE when both iterators refer to the same character in the same input text. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">that</td><td>a <a class="el" href="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">Normalizer</a> object to compare this one to </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>comparison result </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000029">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </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>

<p>References <a class="el" href="namespaceicu.html#a1c2f6ca43e636f38d1a3291eb851e9f0">icu::operator==()</a>.</p>

</div>
</div>
<a class="anchor" id="a6c6f7aa5c2c0f8f7a1993bf3414273c6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::Normalizer::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Normalizer.html">Normalizer</a> &amp;&#160;</td>
          <td class="paramname"><em>that</em></td><td>)</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 class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">that</td><td>a <a class="el" href="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">Normalizer</a> object to compare this one to </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>comparison result </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000028">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a376c6bd949263f4649640fa7092e834f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> icu::Normalizer::previous </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</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="classicu_1_1Normalizer.html#af53d1c82030451d743ac124317919aab" title="Retrieve the current iteration position in the input text that is being normalized. ">getIndex()</a>&gt;<a class="el" href="classicu_1_1Normalizer.html#a1ce36170b3fb4d4de3a5b4277e4cbf38" title="Retrieve the index of the start of the input text. ">startIndex()</a> || <a class="el" href="classicu_1_1Normalizer.html#affb2390025bb11ab0d6e8c602e19de00" title="Return the first character in the normalized text. ">first()</a>!=DONE). (Calling <a class="el" href="classicu_1_1Normalizer.html#affb2390025bb11ab0d6e8c602e19de00" 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="section return"><dt>Returns</dt><dd>the previous normalized code point </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000022">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="accc0bfdf2449edf82cb943faae403fc6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="unorm2_8h.html#a01b7464189aef5dae63c0c759e84bece">UNormalizationCheckResult</a> icu::Normalizer::quickCheck </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7">UNormalizationMode</a>&#160;</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;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </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 normalizati...">unorm_quickCheck()</a>, using a <a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>.</p>
<p>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 class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td>string for determining if it is in a normalized format </td></tr>
    <tr><td class="paramname">mode</td><td>normalization format </td></tr>
    <tr><td class="paramname">status</td><td>A reference to a UErrorCode to receive any errors </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>UNORM_YES, UNORM_NO or UNORM_MAYBE</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classicu_1_1Normalizer.html#a986c52dad0b983716ae94512c7328cc4" title="Test if a string is in a given normalization form. ">isNormalized</a> </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000013">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </dd></dl>

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

</div>
</div>
<a class="anchor" id="aa8c6df58a2bce023cf6ffd8316d80ef1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="unorm2_8h.html#a01b7464189aef5dae63c0c759e84bece">UNormalizationCheckResult</a> icu::Normalizer::quickCheck </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7">UNormalizationMode</a>&#160;</td>
          <td class="paramname"><em>mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</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;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </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 class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td>string for determining if it is in a normalized format </td></tr>
    <tr><td class="paramname">mode</td><td>normalization format </td></tr>
    <tr><td class="paramname">options</td><td>the optional features to be enabled (0 for no options) </td></tr>
    <tr><td class="paramname">status</td><td>A reference to a UErrorCode to receive any errors </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>UNORM_YES, UNORM_NO or UNORM_MAYBE</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classicu_1_1Normalizer.html#a986c52dad0b983716ae94512c7328cc4" title="Test if a string is in a given normalization form. ">isNormalized</a> </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000014">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a0aa005264f2d5f947ddaa062c569b15b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Normalizer::reset </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</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="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000024">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="afb668341f4eef37f4c669c8d0fe4a994"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Normalizer::setIndexOnly </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</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="classicu_1_1Normalizer.html#afb668341f4eef37f4c669c8d0fe4a994" title="Set the iteration position in the input text that is being normalized, without any immediate normaliz...">setIndexOnly()</a>, <a class="el" href="classicu_1_1Normalizer.html#af53d1c82030451d743ac124317919aab" 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 class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>the desired index in the input text. </td></tr>
  </table>
  </dd>
</dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000023">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a31bd6ed3e6d79de91395b56be09bbc1c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Normalizer::setMode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="unorm_8h.html#af317e3ace13f0ce7c86dd1ca48490ef7">UNormalizationMode</a>&#160;</td>
          <td class="paramname"><em>newMode</em></td><td>)</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="classicu_1_1Normalizer.html#acd60e9dd5c5e0eec68baf55b31555e90">next()</a> and <a class="el" href="classicu_1_1Normalizer.html#a376c6bd949263f4649640fa7092e834f">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="classicu_1_1Normalizer.html#afb668341f4eef37f4c669c8d0fe4a994">setIndexOnly</a>, <a class="el" href="classicu_1_1Normalizer.html#a0aa005264f2d5f947ddaa062c569b15b">reset()</a>, <a class="el" href="classicu_1_1Normalizer.html#a54526c1af05705922fe29f565410d184">setText</a>, <a class="el" href="classicu_1_1Normalizer.html#affb2390025bb11ab0d6e8c602e19de00">first()</a>, <a class="el" href="classicu_1_1Normalizer.html#a455af7c23b538b1cf46908caadbb6f22">last()</a>, etc. after calling <code>setMode</code>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">newMode</td><td>the new mode for this <code><a class="el" href="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">Normalizer</a></code>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classicu_1_1Normalizer.html#a707875d9f95509a803d1f5641fd79aa5" title="Return the normalization mode for this object. ">getUMode</a> </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000032">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="ab0ec7de52263f1e5b37bf63822550d8f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Normalizer::setOption </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</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>&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <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="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">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 class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">option</td><td>the option(s) whose value is/are to be set. </td></tr>
    <tr><td class="paramname">value</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="section see"><dt>See also</dt><dd><a class="el" href="classicu_1_1Normalizer.html#a4a7086b543b13b76189550c8349a1a3b" title="Determine whether an option is turned on or off. ">getOption</a> </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000034">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a54526c1af05705922fe29f565410d184"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Normalizer::setText </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</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;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the input text over which this <code><a class="el" href="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">Normalizer</a></code> will iterate. </p>
<p>The iteration position is set to the beginning.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">newText</td><td>a string that replaces the current input text </td></tr>
    <tr><td class="paramname">status</td><td>a UErrorCode </td></tr>
  </table>
  </dd>
</dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000036">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a9e61858a1314df919ec7b332ab6845cd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Normalizer::setText </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1CharacterIterator.html">CharacterIterator</a> &amp;&#160;</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;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the input text over which this <code><a class="el" href="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">Normalizer</a></code> will iterate. </p>
<p>The iteration position is set to the beginning.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">newText</td><td>a <a class="el" href="classicu_1_1CharacterIterator.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 class="paramname">status</td><td>a UErrorCode </td></tr>
  </table>
  </dd>
</dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000037">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a4cd134d4e17dae16ce73c7bfe9768076"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Normalizer::setText </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>newText</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>length</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the input text over which this <code><a class="el" href="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">Normalizer</a></code> will iterate. </p>
<p>The iteration position is set to the beginning.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">newText</td><td>a string that replaces the current input text </td></tr>
    <tr><td class="paramname">length</td><td>the length of the string, or -1 if NUL-terminated </td></tr>
    <tr><td class="paramname">status</td><td>a UErrorCode </td></tr>
  </table>
  </dd>
</dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000038">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a1ce36170b3fb4d4de3a5b4277e4cbf38"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t icu::Normalizer::startIndex </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</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="classicu_1_1CharacterIterator.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="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">Normalizer</a></code> is iterating.</p>
<dl class="section return"><dt>Returns</dt><dd>the smallest index in the input text where the <a class="el" href="classicu_1_1Normalizer.html" title="Old Unicode normalization API. ">Normalizer</a> operates </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000026">Deprecated:</a></b></dt><dd>ICU 56 Use <a class="el" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> instead. </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><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>