Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-release > by-pkgid > 280da2a01a3d16776505ea3f476de84f > files > 456

icu-doc-3.8.1-2mdv2008.1.x86_64.rpm

<!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 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.5.1 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li><a href="classes.html"><span>Data&nbsp;Structures</span></a></li>
    <li id="current"><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
    <li>
      <form action="search.php" method="get">
        <table cellspacing="0" cellpadding="0" border="0">
          <tr>
            <td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</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&nbsp;List</span></a></li>
    <li><a href="globals.html"><span>Globals</span></a></li>
  </ul></div>
<h1>unimatch.h</h1><a href="unimatch_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">* Copyright (C) 2001-2005, International Business Machines Corporation and others. All Rights Reserved.</span>
<a name="l00003"></a>00003 <span class="comment">**********************************************************************</span>
<a name="l00004"></a>00004 <span class="comment">*   Date        Name        Description</span>
<a name="l00005"></a>00005 <span class="comment">*   07/18/01    aliu        Creation.</span>
<a name="l00006"></a>00006 <span class="comment">**********************************************************************</span>
<a name="l00007"></a>00007 <span class="comment">*/</span>
<a name="l00008"></a>00008 <span class="preprocessor">#ifndef UNIMATCH_H</span>
<a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor">#define UNIMATCH_H</span>
<a name="l00010"></a>00010 <span class="preprocessor"></span>
<a name="l00011"></a>00011 <span class="preprocessor">#include "<a class="code" href="utypes_8h.html">unicode/utypes.h</a>"</span>
<a name="l00012"></a>00012 
<a name="l00019"></a>00019 <a class="code" href="uversion_8h.html#7d9374e037299886d4192b763b4c5e8b">U_NAMESPACE_BEGIN</a>
<a name="l00020"></a>00020 
<a name="l00021"></a>00021 <span class="keyword">class </span><a class="code" href="classReplaceable.html">Replaceable</a>;
<a name="l00022"></a>00022 <span class="keyword">class </span><a class="code" href="classUnicodeString.html">UnicodeString</a>;
<a name="l00023"></a>00023 <span class="keyword">class </span><a class="code" href="classUnicodeSet.html">UnicodeSet</a>;
<a name="l00024"></a>00024 
<a name="l00030"></a><a class="code" href="unimatch_8h.html#a87e5322490b3e89e6913bfabd0390e6">00030</a> <span class="keyword">enum</span> <a class="code" href="unimatch_8h.html#a87e5322490b3e89e6913bfabd0390e6">UMatchDegree</a> {
<a name="l00038"></a>00038     <a class="code" href="unimatch_8h.html#a87e5322490b3e89e6913bfabd0390e61f6e449ce699dc36cbe7ebf85f084b03">U_MISMATCH</a>,
<a name="l00039"></a>00039     
<a name="l00050"></a>00050     <a class="code" href="unimatch_8h.html#a87e5322490b3e89e6913bfabd0390e6b2587ee51e223d32277d7efeafda90b7">U_PARTIAL_MATCH</a>,
<a name="l00051"></a>00051     
<a name="l00060"></a>00060     <a class="code" href="unimatch_8h.html#a87e5322490b3e89e6913bfabd0390e6e704cd60becb64c776a061677629ad26">U_MATCH</a>
<a name="l00061"></a>00061 };
<a name="l00062"></a>00062 
<a name="l00068"></a><a class="code" href="classUnicodeMatcher.html">00068</a> <span class="keyword">class </span><a class="code" href="utypes_8h.html#559955ec3bc692657c5d8b1c6de8e334">U_COMMON_API</a> <a class="code" href="classUnicodeMatcher.html">UnicodeMatcher</a> <span class="comment">/* not : public UObject because this is an interface/mixin class */</span> {
<a name="l00069"></a>00069 
<a name="l00070"></a>00070 <span class="keyword">public</span>:
<a name="l00075"></a>00075     <span class="keyword">virtual</span> ~<a class="code" href="classUnicodeMatcher.html">UnicodeMatcher</a>();
<a name="l00076"></a>00076 
<a name="l00123"></a>00123     <span class="keyword">virtual</span> <a class="code" href="unimatch_8h.html#a87e5322490b3e89e6913bfabd0390e6">UMatchDegree</a> matches(<span class="keyword">const</span> <a class="code" href="classReplaceable.html">Replaceable</a>&amp; text,
<a name="l00124"></a>00124                                  <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&amp; offset,
<a name="l00125"></a>00125                                  <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> limit,
<a name="l00126"></a>00126                                  <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> incremental) = 0;
<a name="l00127"></a>00127 
<a name="l00140"></a>00140     <span class="keyword">virtual</span> <a class="code" href="classUnicodeString.html">UnicodeString</a>&amp; toPattern(<a class="code" href="classUnicodeString.html">UnicodeString</a>&amp; result,
<a name="l00141"></a>00141                                      <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> escapeUnprintable = <a class="code" href="umachine_8h.html#a93f0eb578d23995850d61f7d61c55c1">FALSE</a>) <span class="keyword">const </span>= 0;
<a name="l00142"></a>00142 
<a name="l00150"></a>00150     <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> matchesIndexValue(<a class="code" href="platform_8h.html#ba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> v) <span class="keyword">const </span>= 0;
<a name="l00151"></a>00151 
<a name="l00158"></a>00158     <span class="keyword">virtual</span> <span class="keywordtype">void</span> addMatchSetTo(<a class="code" href="classUnicodeSet.html">UnicodeSet</a>&amp; toUnionTo) <span class="keyword">const </span>= 0;
<a name="l00159"></a>00159 };
<a name="l00160"></a>00160 
<a name="l00161"></a>00161 <a class="code" href="uversion_8h.html#3da1f00f3b02976ac53c014a3e4c0933">U_NAMESPACE_END</a>
<a name="l00162"></a>00162 
<a name="l00163"></a>00163 <span class="preprocessor">#endif</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Sep 14 12:59:21 2007 for ICU 3.8 by&nbsp;
<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>