<!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"/> <title>ICU 52.1: normalizer2.h Source File</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 style="padding-left: 0.5em;"> <div id="projectname">ICU 52.1  <span id="projectnumber">52.1</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.1.2 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related 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><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_bdd9a5d540de89e9fe90efdfc6973a4f.html">common</a></li><li class="navelem"><a class="el" href="dir_f59c6450ff718ff1b085cfd1c36acbd7.html">unicode</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">normalizer2.h</div> </div> </div><!--header--> <div class="contents"> <a href="normalizer2_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">*******************************************************************************</span></div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">*</span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">* Copyright (C) 2009-2013, International Business Machines</span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">* Corporation and others. All Rights Reserved.</span></div> <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">*</span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">*******************************************************************************</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">* file name: normalizer2.h</span></div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">* encoding: US-ASCII</span></div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">* tab size: 8 (not used)</span></div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">* indentation:4</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">*</span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">* created on: 2009nov22</span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">* created by: Markus W. Scherer</span></div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">*/</span></div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#ifndef __NORMALIZER2_H__</span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor"></span><span class="preprocessor">#define __NORMALIZER2_H__</span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include "<a class="code" href="utypes_8h.html" title="Basic definitions for ICU, for both C and C++ APIs.">unicode/utypes.h</a>"</span></div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div> <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#if !UCONFIG_NO_NORMALIZATION</span></div> <div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include "<a class="code" href="uniset_8h.html" title="C++ API: Unicode Set.">unicode/uniset.h</a>"</span></div> <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include "<a class="code" href="unistr_8h.html" title="C++ API: Unicode String.">unicode/unistr.h</a>"</span></div> <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include "<a class="code" href="unorm2_8h.html" title="C API: New API for Unicode Normalization.">unicode/unorm2.h</a>"</span></div> <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div> <div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <a class="code" href="uversion_8h.html#a7d9374e037299886d4192b763b4c5e8b" title="This is used to begin a declaration of a public ICU C++ API.">U_NAMESPACE_BEGIN</a></div> <div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div> <div class="line"><a name="l00078"></a><span class="lineno"><a class="code" href="classicu_1_1Normalizer2.html"> 78</a></span> <span class="keyword">class </span><a class="code" href="utypes_8h.html#a559955ec3bc692657c5d8b1c6de8e334" title="Set to export library symbols from inside the common library, and to import them from outside...">U_COMMON_API</a> <a class="code" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> : <span class="keyword">public</span> <a class="code" href="classicu_1_1UObject.html" title="UObject is the common ICU "boilerplate" class.">UObject</a> {</div> <div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  ~<a class="code" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a>();</div> <div class="line"><a name="l00085"></a><span class="lineno"> 85</span> </div> <div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> *</div> <div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  getNFCInstance(<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &errorCode);</div> <div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div> <div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> *</div> <div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  getNFDInstance(<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &errorCode);</div> <div class="line"><a name="l00113"></a><span class="lineno"> 113</span> </div> <div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> *</div> <div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  getNFKCInstance(<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &errorCode);</div> <div class="line"><a name="l00127"></a><span class="lineno"> 127</span> </div> <div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> *</div> <div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  getNFKDInstance(<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &errorCode);</div> <div class="line"><a name="l00141"></a><span class="lineno"> 141</span> </div> <div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> *</div> <div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  getNFKCCasefoldInstance(<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &errorCode);</div> <div class="line"><a name="l00155"></a><span class="lineno"> 155</span> </div> <div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> *</div> <div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  getInstance(<span class="keyword">const</span> <span class="keywordtype">char</span> *packageName,</div> <div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *name,</div> <div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <a class="code" href="unorm2_8h.html#a3cf189b046fe90ca167d2294275f4ab5" title="Constants for normalization modes.">UNormalization2Mode</a> mode,</div> <div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &errorCode);</div> <div class="line"><a name="l00182"></a><span class="lineno"> 182</span> </div> <div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a></div> <div class="line"><a name="l00194"></a><span class="lineno"><a class="code" href="classicu_1_1Normalizer2.html#a56ce9842fe1128501c8a3537ef256366"> 194</a></span>  <a class="code" href="classicu_1_1Normalizer2.html#a56ce9842fe1128501c8a3537ef256366" title="Returns the normalized form of the source string.">normalize</a>(<span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &src, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &errorCode)<span class="keyword"> const </span>{</div> <div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> result;</div> <div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  normalize(src, result, errorCode);</div> <div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="keywordflow">return</span> result;</div> <div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  }</div> <div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &</div> <div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  normalize(<span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &src,</div> <div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &dest,</div> <div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &errorCode) <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &</div> <div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  normalizeSecondAndAppend(<a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &first,</div> <div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  <span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &second,</div> <div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &errorCode) <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &</div> <div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  append(<a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &first,</div> <div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  <span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &second,</div> <div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &errorCode) <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00252"></a><span class="lineno"> 252</span> </div> <div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a></div> <div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  getDecomposition(<a class="code" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809" title="Define UChar32 as a type for single Unicode code points.">UChar32</a> c, <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &decomposition) <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00268"></a><span class="lineno"> 268</span> </div> <div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a></div> <div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  getRawDecomposition(<a class="code" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809" title="Define UChar32 as a type for single Unicode code points.">UChar32</a> c, <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &decomposition) <span class="keyword">const</span>;</div> <div class="line"><a name="l00295"></a><span class="lineno"> 295</span> </div> <div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809" title="Define UChar32 as a type for single Unicode code points.">UChar32</a></div> <div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  composePair(<a class="code" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809" title="Define UChar32 as a type for single Unicode code points.">UChar32</a> a, <a class="code" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809" title="Define UChar32 as a type for single Unicode code points.">UChar32</a> b) <span class="keyword">const</span>;</div> <div class="line"><a name="l00313"></a><span class="lineno"> 313</span> </div> <div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  <span class="keyword">virtual</span> uint8_t</div> <div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  getCombiningClass(<a class="code" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809" title="Define UChar32 as a type for single Unicode code points.">UChar32</a> c) <span class="keyword">const</span>;</div> <div class="line"><a name="l00324"></a><span class="lineno"> 324</span> </div> <div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a></div> <div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  isNormalized(<span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &s, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &errorCode) <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00341"></a><span class="lineno"> 341</span> </div> <div class="line"><a name="l00357"></a><span class="lineno"> 357</span>  <span class="keyword">virtual</span> <a class="code" href="unorm2_8h.html#a01b7464189aef5dae63c0c759e84bece" title="Result values for normalization quick check functions.">UNormalizationCheckResult</a></div> <div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  quickCheck(<span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &s, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &errorCode) <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00359"></a><span class="lineno"> 359</span> </div> <div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  <span class="keyword">virtual</span> int32_t</div> <div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  spanQuickCheckYes(<span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &s, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &errorCode) <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00384"></a><span class="lineno"> 384</span> </div> <div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> hasBoundaryBefore(<a class="code" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809" title="Define UChar32 as a type for single Unicode code points.">UChar32</a> c) <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00399"></a><span class="lineno"> 399</span> </div> <div class="line"><a name="l00414"></a><span class="lineno"> 414</span>  <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> hasBoundaryAfter(<a class="code" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809" title="Define UChar32 as a type for single Unicode code points.">UChar32</a> c) <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00415"></a><span class="lineno"> 415</span> </div> <div class="line"><a name="l00429"></a><span class="lineno"> 429</span>  <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> isInert(<a class="code" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809" title="Define UChar32 as a type for single Unicode code points.">UChar32</a> c) <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00430"></a><span class="lineno"> 430</span> };</div> <div class="line"><a name="l00431"></a><span class="lineno"> 431</span> </div> <div class="line"><a name="l00443"></a><span class="lineno"><a class="code" href="classicu_1_1FilteredNormalizer2.html"> 443</a></span> <span class="keyword">class </span><a class="code" href="utypes_8h.html#a559955ec3bc692657c5d8b1c6de8e334" title="Set to export library symbols from inside the common library, and to import them from outside...">U_COMMON_API</a> <a class="code" href="classicu_1_1FilteredNormalizer2.html" title="Normalization filtered by a UnicodeSet.">FilteredNormalizer2</a> : <span class="keyword">public</span> <a class="code" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> {</div> <div class="line"><a name="l00444"></a><span class="lineno"> 444</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00455"></a><span class="lineno"><a class="code" href="classicu_1_1FilteredNormalizer2.html#ad4d4eec0e36c36ba4b52c0fefe9806f4"> 455</a></span>  <a class="code" href="classicu_1_1FilteredNormalizer2.html" title="Normalization filtered by a UnicodeSet.">FilteredNormalizer2</a>(<span class="keyword">const</span> <a class="code" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> &n2, <span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings.">UnicodeSet</a> &filterSet) :</div> <div class="line"><a name="l00456"></a><span class="lineno"> 456</span>  norm2(n2), set(filterSet) {}</div> <div class="line"><a name="l00457"></a><span class="lineno"> 457</span> </div> <div class="line"><a name="l00462"></a><span class="lineno"> 462</span>  ~<a class="code" href="classicu_1_1FilteredNormalizer2.html" title="Normalization filtered by a UnicodeSet.">FilteredNormalizer2</a>();</div> <div class="line"><a name="l00463"></a><span class="lineno"> 463</span> </div> <div class="line"><a name="l00477"></a><span class="lineno"> 477</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &</div> <div class="line"><a name="l00478"></a><span class="lineno"> 478</span>  <a class="code" href="classicu_1_1Normalizer2.html#a56ce9842fe1128501c8a3537ef256366" title="Returns the normalized form of the source string.">normalize</a>(<span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &src,</div> <div class="line"><a name="l00479"></a><span class="lineno"> 479</span>  <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &dest,</div> <div class="line"><a name="l00480"></a><span class="lineno"> 480</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &errorCode) <span class="keyword">const</span>;</div> <div class="line"><a name="l00495"></a><span class="lineno"> 495</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &</div> <div class="line"><a name="l00496"></a><span class="lineno"> 496</span>  <a class="code" href="classicu_1_1Normalizer2.html#a850db151c9312abecaed14f26cb00885" title="Appends the normalized form of the second string to the first string (merging them at the boundary) a...">normalizeSecondAndAppend</a>(<a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &first,</div> <div class="line"><a name="l00497"></a><span class="lineno"> 497</span>  <span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &second,</div> <div class="line"><a name="l00498"></a><span class="lineno"> 498</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &errorCode) <span class="keyword">const</span>;</div> <div class="line"><a name="l00513"></a><span class="lineno"> 513</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &</div> <div class="line"><a name="l00514"></a><span class="lineno"> 514</span>  <a class="code" href="classicu_1_1Normalizer2.html#a83d7fb697e324448a6b6b9a603702c12" title="Appends the second string to the first string (merging them at the boundary) and returns the first st...">append</a>(<a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &first,</div> <div class="line"><a name="l00515"></a><span class="lineno"> 515</span>  <span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &second,</div> <div class="line"><a name="l00516"></a><span class="lineno"> 516</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &errorCode) <span class="keyword">const</span>;</div> <div class="line"><a name="l00517"></a><span class="lineno"> 517</span> </div> <div class="line"><a name="l00529"></a><span class="lineno"> 529</span>  <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a></div> <div class="line"><a name="l00530"></a><span class="lineno"> 530</span>  <a class="code" href="classicu_1_1Normalizer2.html#a19650a0650a0681f8988db67f999a99d" title="Gets the decomposition mapping of c.">getDecomposition</a>(<a class="code" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809" title="Define UChar32 as a type for single Unicode code points.">UChar32</a> c, <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &decomposition) <span class="keyword">const</span>;</div> <div class="line"><a name="l00531"></a><span class="lineno"> 531</span> </div> <div class="line"><a name="l00543"></a><span class="lineno"> 543</span>  <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a></div> <div class="line"><a name="l00544"></a><span class="lineno"> 544</span>  <a class="code" href="classicu_1_1Normalizer2.html#a1338b1a3d9b1e637ab83657466e9298a" title="Gets the raw decomposition mapping of c.">getRawDecomposition</a>(<a class="code" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809" title="Define UChar32 as a type for single Unicode code points.">UChar32</a> c, <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &decomposition) <span class="keyword">const</span>;</div> <div class="line"><a name="l00545"></a><span class="lineno"> 545</span> </div> <div class="line"><a name="l00556"></a><span class="lineno"> 556</span>  <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809" title="Define UChar32 as a type for single Unicode code points.">UChar32</a></div> <div class="line"><a name="l00557"></a><span class="lineno"> 557</span>  <a class="code" href="classicu_1_1Normalizer2.html#a99e70cb571d1ccabe0becf67ee5ad27f" title="Performs pairwise composition of a & b and returns the composite if there is one.">composePair</a>(<a class="code" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809" title="Define UChar32 as a type for single Unicode code points.">UChar32</a> a, <a class="code" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809" title="Define UChar32 as a type for single Unicode code points.">UChar32</a> b) <span class="keyword">const</span>;</div> <div class="line"><a name="l00558"></a><span class="lineno"> 558</span> </div> <div class="line"><a name="l00567"></a><span class="lineno"> 567</span>  <span class="keyword">virtual</span> uint8_t</div> <div class="line"><a name="l00568"></a><span class="lineno"> 568</span>  <a class="code" href="classicu_1_1Normalizer2.html#a105715fddb904ea5d54e14d08290f475" title="Gets the combining class of c.">getCombiningClass</a>(<a class="code" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809" title="Define UChar32 as a type for single Unicode code points.">UChar32</a> c) <span class="keyword">const</span>;</div> <div class="line"><a name="l00569"></a><span class="lineno"> 569</span> </div> <div class="line"><a name="l00581"></a><span class="lineno"> 581</span>  <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a></div> <div class="line"><a name="l00582"></a><span class="lineno"> 582</span>  <a class="code" href="classicu_1_1Normalizer2.html#a32029cb0f198ed623cf9f4693ad6eeff" title="Tests if the string is normalized.">isNormalized</a>(<span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &s, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &errorCode) <span class="keyword">const</span>;</div> <div class="line"><a name="l00594"></a><span class="lineno"> 594</span>  <span class="keyword">virtual</span> <a class="code" href="unorm2_8h.html#a01b7464189aef5dae63c0c759e84bece" title="Result values for normalization quick check functions.">UNormalizationCheckResult</a></div> <div class="line"><a name="l00595"></a><span class="lineno"> 595</span>  <a class="code" href="classicu_1_1Normalizer2.html#aa1fe1cbd41e66fdb7f5e34f1c0ce3f75" title="Tests if the string is normalized.">quickCheck</a>(<span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &s, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &errorCode) <span class="keyword">const</span>;</div> <div class="line"><a name="l00607"></a><span class="lineno"> 607</span>  <span class="keyword">virtual</span> int32_t</div> <div class="line"><a name="l00608"></a><span class="lineno"> 608</span>  <a class="code" href="classicu_1_1Normalizer2.html#a295f640e75c863091dac5416278cd7a6" title="Returns the end of the normalized substring of the input string.">spanQuickCheckYes</a>(<span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &s, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &errorCode) <span class="keyword">const</span>;</div> <div class="line"><a name="l00609"></a><span class="lineno"> 609</span> </div> <div class="line"><a name="l00618"></a><span class="lineno"> 618</span>  <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> <a class="code" href="classicu_1_1Normalizer2.html#a3b2fb37df9987546f9dc876572429b5b" title="Tests if the character always has a normalization boundary before it, regardless of context...">hasBoundaryBefore</a>(<a class="code" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809" title="Define UChar32 as a type for single Unicode code points.">UChar32</a> c) <span class="keyword">const</span>;</div> <div class="line"><a name="l00619"></a><span class="lineno"> 619</span> </div> <div class="line"><a name="l00628"></a><span class="lineno"> 628</span>  <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> <a class="code" href="classicu_1_1Normalizer2.html#abc159a174f8dd94d007fc19ef76bcd4f" title="Tests if the character always has a normalization boundary after it, regardless of context...">hasBoundaryAfter</a>(<a class="code" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809" title="Define UChar32 as a type for single Unicode code points.">UChar32</a> c) <span class="keyword">const</span>;</div> <div class="line"><a name="l00629"></a><span class="lineno"> 629</span> </div> <div class="line"><a name="l00637"></a><span class="lineno"> 637</span>  <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> <a class="code" href="classicu_1_1Normalizer2.html#acb01e7c4deff3c91e9ee5f7f9840af83" title="Tests if the character is normalization-inert.">isInert</a>(<a class="code" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809" title="Define UChar32 as a type for single Unicode code points.">UChar32</a> c) <span class="keyword">const</span>;</div> <div class="line"><a name="l00638"></a><span class="lineno"> 638</span> <span class="keyword">private</span>:</div> <div class="line"><a name="l00639"></a><span class="lineno"> 639</span>  <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &</div> <div class="line"><a name="l00640"></a><span class="lineno"> 640</span>  <a class="code" href="classicu_1_1Normalizer2.html#a56ce9842fe1128501c8a3537ef256366" title="Returns the normalized form of the source string.">normalize</a>(<span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &src,</div> <div class="line"><a name="l00641"></a><span class="lineno"> 641</span>  <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &dest,</div> <div class="line"><a name="l00642"></a><span class="lineno"> 642</span>  <a class="code" href="uset_8h.html#a5fc2e77dd6c8385e0e88fc6a7d72d9b4" title="Argument values for whether span() and similar functions continue while the current character is cont...">USetSpanCondition</a> spanCondition,</div> <div class="line"><a name="l00643"></a><span class="lineno"> 643</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &errorCode) <span class="keyword">const</span>;</div> <div class="line"><a name="l00644"></a><span class="lineno"> 644</span> </div> <div class="line"><a name="l00645"></a><span class="lineno"> 645</span>  <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &</div> <div class="line"><a name="l00646"></a><span class="lineno"> 646</span>  <a class="code" href="classicu_1_1Normalizer2.html#a850db151c9312abecaed14f26cb00885" title="Appends the normalized form of the second string to the first string (merging them at the boundary) a...">normalizeSecondAndAppend</a>(<a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &first,</div> <div class="line"><a name="l00647"></a><span class="lineno"> 647</span>  <span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> &second,</div> <div class="line"><a name="l00648"></a><span class="lineno"> 648</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> doNormalize,</div> <div class="line"><a name="l00649"></a><span class="lineno"> 649</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> &errorCode) <span class="keyword">const</span>;</div> <div class="line"><a name="l00650"></a><span class="lineno"> 650</span> </div> <div class="line"><a name="l00651"></a><span class="lineno"> 651</span>  <span class="keyword">const</span> <a class="code" href="classicu_1_1Normalizer2.html" title="Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...">Normalizer2</a> &norm2;</div> <div class="line"><a name="l00652"></a><span class="lineno"> 652</span>  <span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings.">UnicodeSet</a> &<span class="keyword">set</span>;</div> <div class="line"><a name="l00653"></a><span class="lineno"> 653</span> };</div> <div class="line"><a name="l00654"></a><span class="lineno"> 654</span> </div> <div class="line"><a name="l00655"></a><span class="lineno"> 655</span> <a class="code" href="uversion_8h.html#a3da1f00f3b02976ac53c014a3e4c0933" title="This is used to end a declaration of a public ICU C++ API.">U_NAMESPACE_END</a></div> <div class="line"><a name="l00656"></a><span class="lineno"> 656</span> </div> <div class="line"><a name="l00657"></a><span class="lineno"> 657</span> <span class="preprocessor">#endif // !UCONFIG_NO_NORMALIZATION</span></div> <div class="line"><a name="l00658"></a><span class="lineno"> 658</span> <span class="preprocessor"></span><span class="preprocessor">#endif // __NORMALIZER2_H__</span></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Fri Oct 4 2013 14:10:21 for ICU 52.1 by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.1.2 </small></address> </body> </html>