<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>ICU 3.6: unifilt.h Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.4.7 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="classes.html"><span>Data Structures</span></a></li> <li id="current"><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li> <form action="search.php" method="get"> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td><label> <u>S</u>earch for </label></td> <td><input type="text" name="query" value="" size="20" accesskey="s"/></td> </tr> </table> </form> </li> </ul></div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul></div> <h1>unifilt.h</h1><a href="unifilt_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> <a name="l00002"></a>00002 <span class="comment">**********************************************************************</span> <a name="l00003"></a>00003 <span class="comment">* Copyright (C) 1999-2006, International Business Machines Corporation and others.</span> <a name="l00004"></a>00004 <span class="comment">* All Rights Reserved.</span> <a name="l00005"></a>00005 <span class="comment">**********************************************************************</span> <a name="l00006"></a>00006 <span class="comment">* Date Name Description</span> <a name="l00007"></a>00007 <span class="comment">* 11/17/99 aliu Creation.</span> <a name="l00008"></a>00008 <span class="comment">**********************************************************************</span> <a name="l00009"></a>00009 <span class="comment">*/</span> <a name="l00010"></a>00010 <span class="preprocessor">#ifndef UNIFILT_H</span> <a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor">#define UNIFILT_H</span> <a name="l00012"></a>00012 <span class="preprocessor"></span> <a name="l00013"></a>00013 <span class="preprocessor">#include "<a class="code" href="unifunct_8h.html">unicode/unifunct.h</a>"</span> <a name="l00014"></a>00014 <span class="preprocessor">#include "<a class="code" href="unimatch_8h.html">unicode/unimatch.h</a>"</span> <a name="l00015"></a>00015 <a name="l00021"></a>00021 <a class="code" href="umachine_8h.html#ec4a51c37f4e3f3d7e5c42e6e3eafa63">U_NAMESPACE_BEGIN</a> <a name="l00022"></a>00022 <a name="l00031"></a><a class="code" href="unifilt_8h.html#deeab58bf1b4d1638101dba760a69221">00031</a> <span class="preprocessor">#define U_ETHER ((UChar)0xFFFF)</span> <a name="l00032"></a>00032 <span class="preprocessor"></span> <a name="l00059"></a><a class="code" href="classUnicodeFilter.html">00059</a> <span class="keyword">class </span><a class="code" href="utypes_8h.html#394335b549a811cf26891e043f211e9d">U_COMMON_API</a> <a class="code" href="classUnicodeFilter.html">UnicodeFilter</a> : <span class="keyword">public</span> <a class="code" href="classUnicodeFunctor.html">UnicodeFunctor</a>, <span class="keyword">public</span> <a class="code" href="classUnicodeMatcher.html">UnicodeMatcher</a> { <a name="l00060"></a>00060 <a name="l00061"></a>00061 <span class="keyword">public</span>: <a name="l00066"></a>00066 <span class="keyword">virtual</span> ~<a class="code" href="classUnicodeFilter.html">UnicodeFilter</a>(); <a name="l00067"></a>00067 <a name="l00075"></a>00075 <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#d373ce262c37cc047b0df2ad7b5dbba7">UBool</a> contains(<a class="code" href="umachine_8h.html#a5c18ea10e60c576fe5ec420a7ef7b28">UChar32</a> c) <span class="keyword">const </span>= 0; <a name="l00076"></a>00076 <a name="l00082"></a>00082 <span class="keyword">virtual</span> <a class="code" href="classUnicodeMatcher.html">UnicodeMatcher</a>* <a class="code" href="classUnicodeFunctor.html#e154398d9824c8f8dd2280173b2c18ef">toMatcher</a>() <span class="keyword">const</span>; <a name="l00083"></a>00083 <a name="l00088"></a>00088 <span class="keyword">virtual</span> <a class="code" href="unimatch_8h.html#05562f7626edb48779ce8255b7530b0e">UMatchDegree</a> <a class="code" href="classUnicodeMatcher.html#b55373b0cb513d3cb56b66eeca2ec2f2">matches</a>(<span class="keyword">const</span> <a class="code" href="classReplaceable.html">Replaceable</a>& text, <a name="l00089"></a>00089 <a class="code" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>& offset, <a name="l00090"></a>00090 <a class="code" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> limit, <a name="l00091"></a>00091 <a class="code" href="umachine_8h.html#d373ce262c37cc047b0df2ad7b5dbba7">UBool</a> incremental); <a name="l00092"></a>00092 <a name="l00097"></a>00097 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classUnicodeFunctor.html#8c44925267dd6326925f7f56b54cdd10">setData</a>(<span class="keyword">const</span> TransliterationRuleData*); <a name="l00098"></a>00098 <a name="l00104"></a>00104 <span class="keyword">virtual</span> <a class="code" href="utypes_8h.html#452dc3c7d14eb1a1837ae1aa0b2d6724">UClassID</a> <a class="code" href="classUnicodeFunctor.html#a3a82494b7ae6452a0287b5c96bda137">getDynamicClassID</a>() <span class="keyword">const </span>= 0; <a name="l00105"></a>00105 <a name="l00111"></a>00111 <span class="keyword">static</span> <a class="code" href="utypes_8h.html#452dc3c7d14eb1a1837ae1aa0b2d6724">UClassID</a> <a class="code" href="platform_8h.html#d665df105e679e1428e48dc5cb90a756">U_EXPORT2</a> <a class="code" href="classUnicodeFunctor.html#6ea5dfe153e5e4ad5ea3fb5b388ad3d8">getStaticClassID</a>(); <a name="l00112"></a>00112 <a name="l00113"></a>00113 <span class="keyword">protected</span>: <a name="l00114"></a>00114 <a name="l00115"></a>00115 <span class="comment">/*</span> <a name="l00116"></a>00116 <span class="comment"> * Since this class has pure virtual functions,</span> <a name="l00117"></a>00117 <span class="comment"> * a constructor can't be used.</span> <a name="l00118"></a>00118 <span class="comment"> * @stable ICU 2.0</span> <a name="l00119"></a>00119 <span class="comment"> */</span> <a name="l00120"></a>00120 <span class="comment">/* UnicodeFilter();*/</span> <a name="l00121"></a>00121 }; <a name="l00122"></a>00122 <a name="l00123"></a>00123 <span class="comment">/*inline UnicodeFilter::UnicodeFilter() {}*/</span> <a name="l00124"></a>00124 <a name="l00125"></a>00125 <a class="code" href="umachine_8h.html#951037cc9951ac3c70b527f8137f9f74">U_NAMESPACE_END</a> <a name="l00126"></a>00126 <a name="l00127"></a>00127 <span class="preprocessor">#endif</span> </pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Dec 13 17:29:51 2011 for ICU 3.6 by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address> </body> </html>