<!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: unirepl.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 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>unirepl.h</h1><a href="unirepl_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) 2002-2005, International Business Machines Corporation</span> <a name="l00004"></a>00004 <span class="comment">* and others. 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">* 01/14/2002 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 UNIREPL_H</span> <a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor">#define UNIREPL_H</span> <a name="l00012"></a>00012 <span class="preprocessor"></span> <a name="l00013"></a>00013 <span class="preprocessor">#include "<a class="code" href="utypes_8h.html">unicode/utypes.h</a>"</span> <a name="l00014"></a>00014 <a name="l00020"></a>00020 <a class="code" href="uversion_8h.html#7d9374e037299886d4192b763b4c5e8b">U_NAMESPACE_BEGIN</a> <a name="l00021"></a>00021 <a name="l00022"></a>00022 <span class="keyword">class </span><a class="code" href="classReplaceable.html">Replaceable</a>; <a name="l00023"></a>00023 <span class="keyword">class </span><a class="code" href="classUnicodeString.html">UnicodeString</a>; <a name="l00024"></a>00024 <span class="keyword">class </span><a class="code" href="classUnicodeSet.html">UnicodeSet</a>; <a name="l00025"></a>00025 <a name="l00036"></a><a class="code" href="classUnicodeReplacer.html">00036</a> <span class="keyword">class </span><a class="code" href="utypes_8h.html#b9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="code" href="classUnicodeReplacer.html">UnicodeReplacer</a> <span class="comment">/* not : public UObject because this is an interface/mixin class */</span> { <a name="l00037"></a>00037 <a name="l00038"></a>00038 <span class="keyword">public</span>: <a name="l00039"></a>00039 <a name="l00044"></a>00044 <span class="keyword">virtual</span> ~<a class="code" href="classUnicodeReplacer.html">UnicodeReplacer</a>(); <a name="l00045"></a>00045 <a name="l00064"></a>00064 <span class="keyword">virtual</span> <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> replace(<a class="code" href="classReplaceable.html">Replaceable</a>& text, <a name="l00065"></a>00065 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> start, <a name="l00066"></a>00066 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> limit, <a name="l00067"></a>00067 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>& cursor) = 0; <a name="l00068"></a>00068 <a name="l00083"></a>00083 <span class="keyword">virtual</span> <a class="code" href="classUnicodeString.html">UnicodeString</a>& toReplacerPattern(<a class="code" href="classUnicodeString.html">UnicodeString</a>& result, <a name="l00084"></a>00084 <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> escapeUnprintable) <span class="keyword">const </span>= 0; <a name="l00085"></a>00085 <a name="l00092"></a>00092 <span class="keyword">virtual</span> <span class="keywordtype">void</span> addReplacementSetTo(<a class="code" href="classUnicodeSet.html">UnicodeSet</a>& toUnionTo) <span class="keyword">const </span>= 0; <a name="l00093"></a>00093 }; <a name="l00094"></a>00094 <a name="l00095"></a>00095 <a class="code" href="uversion_8h.html#3da1f00f3b02976ac53c014a3e4c0933">U_NAMESPACE_END</a> <a name="l00096"></a>00096 <a name="l00097"></a>00097 <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 <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>