<!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.8: unimatch.h File Reference</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.5.1 --> <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>unimatch.h File Reference</h1>C++ API: Unicode Matcher. <a href="#_details">More...</a> <p> <code>#include "<a class="el" href="utypes_8h-source.html">unicode/utypes.h</a>"</code><br> <p> <a href="unimatch_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Data Structures</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classUnicodeMatcher.html">UnicodeMatcher</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><code><a class="el" href="classUnicodeMatcher.html">UnicodeMatcher</a></code> defines a protocol for objects that can match a range of characters in a <a class="el" href="classReplaceable.html">Replaceable</a> string. <a href="classUnicodeMatcher.html#_details">More...</a><br></td></tr> <tr><td colspan="2"><br><h2>Enumerations</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="unimatch_8h.html#a87e5322490b3e89e6913bfabd0390e6">UMatchDegree</a> { <a class="el" href="unimatch_8h.html#a87e5322490b3e89e6913bfabd0390e61f6e449ce699dc36cbe7ebf85f084b03">U_MISMATCH</a>, <a class="el" href="unimatch_8h.html#a87e5322490b3e89e6913bfabd0390e6b2587ee51e223d32277d7efeafda90b7">U_PARTIAL_MATCH</a>, <a class="el" href="unimatch_8h.html#a87e5322490b3e89e6913bfabd0390e6e704cd60becb64c776a061677629ad26">U_MATCH</a> }</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Constants returned by <code><a class="el" href="classUnicodeMatcher.html#b712e496c0023237fbe38184d0424310">UnicodeMatcher::matches()</a></code> indicating the degree of match. <a href="unimatch_8h.html#a87e5322490b3e89e6913bfabd0390e6">More...</a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> C++ API: Unicode Matcher. <p> <p> Definition in file <a class="el" href="unimatch_8h-source.html">unimatch.h</a>.<hr><h2>Enumeration Type Documentation</h2> <a class="anchor" name="a87e5322490b3e89e6913bfabd0390e6"></a><!-- doxytag: member="unimatch.h::UMatchDegree" ref="a87e5322490b3e89e6913bfabd0390e6" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">enum <a class="el" href="unimatch_8h.html#a87e5322490b3e89e6913bfabd0390e6">UMatchDegree</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Constants returned by <code><a class="el" href="classUnicodeMatcher.html#b712e496c0023237fbe38184d0424310">UnicodeMatcher::matches()</a></code> indicating the degree of match. <p> <dl compact><dt><b><a class="el" href="stable.html#_stable001259">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> <dl compact><dt><b>Enumerator: </b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"><em><a class="anchor" name="a87e5322490b3e89e6913bfabd0390e61f6e449ce699dc36cbe7ebf85f084b03"></a><!-- doxytag: member="U_MISMATCH" ref="a87e5322490b3e89e6913bfabd0390e61f6e449ce699dc36cbe7ebf85f084b03" args="" -->U_MISMATCH</em> </td><td> Constant returned by <code>matches()</code> indicating a mismatch between the text and this matcher. <p> The text contains a character which does not match, or the text does not contain all desired characters for a non-incremental match. <dl compact><dt><b><a class="el" href="stable.html#_stable001261">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> </td></tr> <tr><td valign="top"><em><a class="anchor" name="a87e5322490b3e89e6913bfabd0390e6b2587ee51e223d32277d7efeafda90b7"></a><!-- doxytag: member="U_PARTIAL_MATCH" ref="a87e5322490b3e89e6913bfabd0390e6b2587ee51e223d32277d7efeafda90b7" args="" -->U_PARTIAL_MATCH</em> </td><td> Constant returned by <code>matches()</code> indicating a partial match between the text and this matcher. <p> This value is only returned for incremental match operations. All characters of the text match, but more characters are required for a complete match. Alternatively, for variable-length matchers, all characters of the text match, and if more characters were supplied at limit, they might also match. <dl compact><dt><b><a class="el" href="stable.html#_stable001262">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> </td></tr> <tr><td valign="top"><em><a class="anchor" name="a87e5322490b3e89e6913bfabd0390e6e704cd60becb64c776a061677629ad26"></a><!-- doxytag: member="U_MATCH" ref="a87e5322490b3e89e6913bfabd0390e6e704cd60becb64c776a061677629ad26" args="" -->U_MATCH</em> </td><td> Constant returned by <code>matches()</code> indicating a complete match between the text and this matcher. <p> For an incremental variable-length match, this value is returned if the given text matches, and it is known that additional characters would not alter the extent of the match. <dl compact><dt><b><a class="el" href="stable.html#_stable001263">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> </td></tr> </table> </dl> <p> Definition at line <a class="el" href="unimatch_8h-source.html#l00030">30</a> of file <a class="el" href="unimatch_8h-source.html">unimatch.h</a>. </div> </div><p> <hr size="1"><address style="align: right;"><small>Generated on Fri Sep 14 12:59:28 2007 for ICU 3.8 by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> </body> </html>