Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 280da2a01a3d16776505ea3f476de84f > files > 338

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: rbbi.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>rbbi.h</h1><a href="rbbi_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-2007 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"></span>
<a name="l00007"></a>00007 <span class="comment">**********************************************************************</span>
<a name="l00008"></a>00008 <span class="comment">*   Date        Name        Description</span>
<a name="l00009"></a>00009 <span class="comment">*   10/22/99    alan        Creation.</span>
<a name="l00010"></a>00010 <span class="comment">*   11/11/99    rgillam     Complete port from Java.</span>
<a name="l00011"></a>00011 <span class="comment">**********************************************************************</span>
<a name="l00012"></a>00012 <span class="comment">*/</span>
<a name="l00013"></a>00013 
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef RBBI_H</span>
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define RBBI_H</span>
<a name="l00016"></a>00016 <span class="preprocessor"></span>
<a name="l00017"></a>00017 <span class="preprocessor">#include "<a class="code" href="utypes_8h.html">unicode/utypes.h</a>"</span>
<a name="l00018"></a>00018 
<a name="l00024"></a>00024 <span class="preprocessor">#if !UCONFIG_NO_BREAK_ITERATION</span>
<a name="l00025"></a>00025 <span class="preprocessor"></span>
<a name="l00026"></a>00026 <span class="preprocessor">#include "<a class="code" href="brkiter_8h.html">unicode/brkiter.h</a>"</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include "<a class="code" href="udata_8h.html">unicode/udata.h</a>"</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include "<a class="code" href="parseerr_8h.html">unicode/parseerr.h</a>"</span>
<a name="l00029"></a>00029 <span class="preprocessor">#include "<a class="code" href="schriter_8h.html">unicode/schriter.h</a>"</span>
<a name="l00030"></a>00030 <span class="preprocessor">#include "<a class="code" href="uchriter_8h.html">unicode/uchriter.h</a>"</span>
<a name="l00031"></a>00031 
<a name="l00032"></a>00032 
<a name="l00033"></a>00033 <span class="keyword">struct </span>UTrie;
<a name="l00034"></a>00034 
<a name="l00035"></a>00035 <a class="code" href="uversion_8h.html#7d9374e037299886d4192b763b4c5e8b">U_NAMESPACE_BEGIN</a>
<a name="l00036"></a>00036 
<a name="l00038"></a>00038 <span class="keyword">struct </span>RBBIDataHeader;
<a name="l00039"></a>00039 <span class="keyword">class  </span>RuleBasedBreakIteratorTables;
<a name="l00040"></a>00040 <span class="keyword">class  </span><a class="code" href="classBreakIterator.html">BreakIterator</a>;
<a name="l00041"></a>00041 <span class="keyword">class  </span>RBBIDataWrapper;
<a name="l00042"></a>00042 <span class="keyword">class  </span>UStack;
<a name="l00043"></a>00043 <span class="keyword">class  </span>LanguageBreakEngine;
<a name="l00044"></a>00044 <span class="keyword">class  </span>UnhandledEngine;
<a name="l00045"></a>00045 <span class="keyword">struct </span>RBBIStateTable;
<a name="l00046"></a>00046 
<a name="l00047"></a>00047 
<a name="l00048"></a>00048 
<a name="l00049"></a>00049 
<a name="l00065"></a><a class="code" href="classRuleBasedBreakIterator.html">00065</a> <span class="keyword">class </span><a class="code" href="utypes_8h.html#559955ec3bc692657c5d8b1c6de8e334">U_COMMON_API</a> <a class="code" href="classRuleBasedBreakIterator.html">RuleBasedBreakIterator</a> : <span class="keyword">public</span> <a class="code" href="classBreakIterator.html">BreakIterator</a> {
<a name="l00066"></a>00066 
<a name="l00067"></a>00067 <span class="keyword">protected</span>:
<a name="l00072"></a><a class="code" href="classRuleBasedBreakIterator.html#419b7e787fe701da59edf938ec338348">00072</a>     <a class="code" href="structUText.html">UText</a>  *fText;
<a name="l00073"></a>00073 
<a name="l00079"></a><a class="code" href="classRuleBasedBreakIterator.html#e31cd176a5f569eeaad260232078e1c4">00079</a>     <a class="code" href="classCharacterIterator.html">CharacterIterator</a>  *fCharIter;
<a name="l00080"></a>00080 
<a name="l00086"></a><a class="code" href="classRuleBasedBreakIterator.html#b167d8622058e5c0d417dd43ef83edda">00086</a>     <a class="code" href="classStringCharacterIterator.html">StringCharacterIterator</a> *fSCharIter;
<a name="l00087"></a>00087 
<a name="l00093"></a><a class="code" href="classRuleBasedBreakIterator.html#d276784df08fcac79d039533a1341cdb">00093</a>     <a class="code" href="classUCharCharacterIterator.html">UCharCharacterIterator</a> *fDCharIter;
<a name="l00094"></a>00094 
<a name="l00099"></a><a class="code" href="classRuleBasedBreakIterator.html#9e4c4ce2df8bd5ec86eb24029f536fc1">00099</a>     RBBIDataWrapper    *fData;
<a name="l00100"></a>00100 
<a name="l00104"></a><a class="code" href="classRuleBasedBreakIterator.html#0334069f3c4a9384836be7e76f8553a3">00104</a>     <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>             fLastRuleStatusIndex;
<a name="l00105"></a>00105 
<a name="l00112"></a><a class="code" href="classRuleBasedBreakIterator.html#724ee27f3375cb4a18a0268ddddc4e78">00112</a>     <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>               fLastStatusIndexValid;
<a name="l00113"></a>00113 
<a name="l00119"></a><a class="code" href="classRuleBasedBreakIterator.html#7491e4622823085f822618797ac62643">00119</a>     <a class="code" href="platform_8h.html#435d1572bf3f880d55459d9805097f62">uint32_t</a>            fDictionaryCharCount;
<a name="l00120"></a>00120 
<a name="l00128"></a><a class="code" href="classRuleBasedBreakIterator.html#56b061a55c91c2f45263213b4188e19d">00128</a>     <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>*            fCachedBreakPositions;
<a name="l00129"></a>00129 
<a name="l00134"></a><a class="code" href="classRuleBasedBreakIterator.html#e592ba2301f6064f2f50d70196517886">00134</a>     <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>             fNumCachedBreakPositions;
<a name="l00135"></a>00135 
<a name="l00141"></a><a class="code" href="classRuleBasedBreakIterator.html#65ae2b4eadd5389543d7b69d2c965c9f">00141</a>     <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>             fPositionInCache;
<a name="l00142"></a>00142     
<a name="l00150"></a><a class="code" href="classRuleBasedBreakIterator.html#f7beaa3fd16091bd2dec10e67ccec22f">00150</a>     UStack              *fLanguageBreakEngines;
<a name="l00151"></a>00151     
<a name="l00159"></a><a class="code" href="classRuleBasedBreakIterator.html#6f39d4df45fbf35c61ac58df2746f1e9">00159</a>     UnhandledEngine     *fUnhandledBreakEngine;
<a name="l00160"></a>00160     
<a name="l00166"></a><a class="code" href="classRuleBasedBreakIterator.html#f2304ecb86e7e4e50c3aab9f4b0c1aef">00166</a>     <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>             fBreakType;
<a name="l00167"></a>00167     
<a name="l00168"></a>00168 <span class="keyword">protected</span>:
<a name="l00169"></a>00169     <span class="comment">//=======================================================================</span>
<a name="l00170"></a>00170     <span class="comment">// constructors</span>
<a name="l00171"></a>00171     <span class="comment">//=======================================================================</span>
<a name="l00172"></a>00172 
<a name="l00183"></a>00183     <a class="code" href="classRuleBasedBreakIterator.html">RuleBasedBreakIterator</a>(RBBIDataHeader* data, <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status);
<a name="l00184"></a>00184 
<a name="l00185"></a>00185 
<a name="l00186"></a><a class="code" href="classRuleBasedBreakIterator.html#17ce03f12f5fa8688859b25e2bf60938">00186</a>     <span class="keyword">friend</span> <span class="keyword">class </span>RBBIRuleBuilder;
<a name="l00188"></a><a class="code" href="classRuleBasedBreakIterator.html#5fbb7407696454879cf016b20a0380f0">00188</a>     <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classBreakIterator.html">BreakIterator</a>;
<a name="l00189"></a>00189 
<a name="l00190"></a>00190 
<a name="l00191"></a>00191 
<a name="l00192"></a>00192 <span class="keyword">public</span>:
<a name="l00193"></a>00193 
<a name="l00198"></a>00198     <a class="code" href="classRuleBasedBreakIterator.html">RuleBasedBreakIterator</a>();
<a name="l00199"></a>00199 
<a name="l00206"></a>00206     <a class="code" href="classRuleBasedBreakIterator.html">RuleBasedBreakIterator</a>(<span class="keyword">const</span> <a class="code" href="classRuleBasedBreakIterator.html">RuleBasedBreakIterator</a>&amp; that);
<a name="l00207"></a>00207 
<a name="l00216"></a>00216     <a class="code" href="classRuleBasedBreakIterator.html">RuleBasedBreakIterator</a>( <span class="keyword">const</span> <a class="code" href="classUnicodeString.html">UnicodeString</a>    &amp;rules,
<a name="l00217"></a>00217                              <a class="code" href="structUParseError.html">UParseError</a>           &amp;parseError,
<a name="l00218"></a>00218                              <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>            &amp;status);
<a name="l00219"></a>00219 
<a name="l00220"></a>00220 
<a name="l00233"></a>00233     <a class="code" href="classRuleBasedBreakIterator.html">RuleBasedBreakIterator</a>(<a class="code" href="udata_8h.html#cffec83601fda29bd4750b24f829f56b">UDataMemory</a>* image, <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status);
<a name="l00234"></a>00234 
<a name="l00239"></a>00239     <span class="keyword">virtual</span> ~<a class="code" href="classRuleBasedBreakIterator.html">RuleBasedBreakIterator</a>();
<a name="l00240"></a>00240 
<a name="l00248"></a>00248     <a class="code" href="classRuleBasedBreakIterator.html">RuleBasedBreakIterator</a>&amp; operator=(<span class="keyword">const</span> <a class="code" href="classRuleBasedBreakIterator.html">RuleBasedBreakIterator</a>&amp; that);
<a name="l00249"></a>00249 
<a name="l00258"></a>00258     <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> <a class="code" href="classBreakIterator.html#b68bad5ee65055e6bf1e2f11b419935b">operator==</a>(<span class="keyword">const</span> <a class="code" href="classBreakIterator.html">BreakIterator</a>&amp; that) <span class="keyword">const</span>;
<a name="l00259"></a>00259 
<a name="l00267"></a>00267     <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> <a class="code" href="classBreakIterator.html#d121dfab9e8892c4580c5f792b9dd876">operator!=</a>(<span class="keyword">const</span> <a class="code" href="classBreakIterator.html">BreakIterator</a>&amp; that) <span class="keyword">const</span>;
<a name="l00268"></a>00268 
<a name="l00279"></a>00279     <span class="keyword">virtual</span> <a class="code" href="classBreakIterator.html">BreakIterator</a>* <a class="code" href="classBreakIterator.html#a17a81d41fa791049a10c37594dad88f">clone</a>() <span class="keyword">const</span>;
<a name="l00280"></a>00280 
<a name="l00286"></a>00286     <span class="keyword">virtual</span> <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> hashCode(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00287"></a>00287 
<a name="l00293"></a>00293     <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classUnicodeString.html">UnicodeString</a>&amp; getRules(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00294"></a>00294 
<a name="l00295"></a>00295     <span class="comment">//=======================================================================</span>
<a name="l00296"></a>00296     <span class="comment">// BreakIterator overrides</span>
<a name="l00297"></a>00297     <span class="comment">//=======================================================================</span>
<a name="l00298"></a>00298 
<a name="l00324"></a>00324     <span class="keyword">virtual</span>  <a class="code" href="classCharacterIterator.html">CharacterIterator</a>&amp; <a class="code" href="classBreakIterator.html#b12b76622eaa6df7d0df48778f5de1aa">getText</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00325"></a>00325 
<a name="l00326"></a>00326 
<a name="l00341"></a>00341      <span class="keyword">virtual</span> <a class="code" href="structUText.html">UText</a> *<a class="code" href="classBreakIterator.html#5ef12d5f9515a8aead27a6407042040c">getUText</a>(<a class="code" href="structUText.html">UText</a> *fillIn, <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) <span class="keyword">const</span>;
<a name="l00342"></a>00342 
<a name="l00350"></a>00350     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classBreakIterator.html#729dbe9a6437070d9fb056c6c7589563">adoptText</a>(<a class="code" href="classCharacterIterator.html">CharacterIterator</a>* newText);
<a name="l00351"></a>00351 
<a name="l00358"></a>00358     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classBreakIterator.html#c50a6618fe83b9b96a7a9213c5da3f21">setText</a>(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html">UnicodeString</a>&amp; newText);
<a name="l00359"></a>00359 
<a name="l00373"></a>00373     <span class="keyword">virtual</span> <span class="keywordtype">void</span>  <a class="code" href="classBreakIterator.html#c50a6618fe83b9b96a7a9213c5da3f21">setText</a>(<a class="code" href="structUText.html">UText</a> *text, <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status);
<a name="l00374"></a>00374 
<a name="l00380"></a>00380     <span class="keyword">virtual</span> <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> <a class="code" href="classBreakIterator.html#e09bd26e3559e18e8e46699075f477e4">first</a>(<span class="keywordtype">void</span>);
<a name="l00381"></a>00381 
<a name="l00387"></a>00387     <span class="keyword">virtual</span> <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> <a class="code" href="classBreakIterator.html#b21a3083a947dd4b4f3653a0a51080c2">last</a>(<span class="keywordtype">void</span>);
<a name="l00388"></a>00388 
<a name="l00399"></a>00399     <span class="keyword">virtual</span> <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> <a class="code" href="classBreakIterator.html#68f3b6be789195b55204a6d86d58a8ad">next</a>(<a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> n);
<a name="l00400"></a>00400 
<a name="l00406"></a>00406     <span class="keyword">virtual</span> <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> <a class="code" href="classBreakIterator.html#68f3b6be789195b55204a6d86d58a8ad">next</a>(<span class="keywordtype">void</span>);
<a name="l00407"></a>00407 
<a name="l00413"></a>00413     <span class="keyword">virtual</span> <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> <a class="code" href="classBreakIterator.html#c4f27d685b8c1bacbad7e27a6af141f2">previous</a>(<span class="keywordtype">void</span>);
<a name="l00414"></a>00414 
<a name="l00422"></a>00422     <span class="keyword">virtual</span> <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> <a class="code" href="classBreakIterator.html#57f98a77f67b2ca34c26ee2e77d76e09">following</a>(<a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> offset);
<a name="l00423"></a>00423 
<a name="l00431"></a>00431     <span class="keyword">virtual</span> <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> <a class="code" href="classBreakIterator.html#9230e330fd08bad1b6c278d322ef2385">preceding</a>(<a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> offset);
<a name="l00432"></a>00432 
<a name="l00441"></a>00441     <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> <a class="code" href="classBreakIterator.html#9ac740557f08c879cceffdbb4a15fe7b">isBoundary</a>(<a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> offset);
<a name="l00442"></a>00442 
<a name="l00448"></a>00448     <span class="keyword">virtual</span> <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> <a class="code" href="classBreakIterator.html#36835a8123d823f333af822d9c7cb8a6">current</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00449"></a>00449 
<a name="l00450"></a>00450 
<a name="l00483"></a>00483     <span class="keyword">virtual</span> <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> getRuleStatus() <span class="keyword">const</span>;
<a name="l00484"></a>00484 
<a name="l00508"></a>00508     <span class="keyword">virtual</span> <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> getRuleStatusVec(<a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> *fillInVec, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> capacity, <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status);
<a name="l00509"></a>00509 
<a name="l00521"></a>00521     <span class="keyword">virtual</span> <a class="code" href="utypes_8h.html#22af10545208a455a6e884008df48e9f">UClassID</a> <a class="code" href="classBreakIterator.html#eaf98baae1d91e224ef8ccced5d2266c">getDynamicClassID</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00522"></a>00522 
<a name="l00534"></a>00534     <span class="keyword">static</span> <a class="code" href="utypes_8h.html#22af10545208a455a6e884008df48e9f">UClassID</a> <a class="code" href="platform_8h.html#72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> getStaticClassID(<span class="keywordtype">void</span>);
<a name="l00535"></a>00535 
<a name="l00536"></a>00536     <span class="comment">/*</span>
<a name="l00537"></a>00537 <span class="comment">     * Create a clone (copy) of this break iterator in memory provided</span>
<a name="l00538"></a>00538 <span class="comment">     *  by the caller.  The idea is to increase performance by avoiding</span>
<a name="l00539"></a>00539 <span class="comment">     *  a storage allocation.  Use of this functoin is NOT RECOMMENDED.</span>
<a name="l00540"></a>00540 <span class="comment">     *  Performance gains are minimal, and correct buffer management is</span>
<a name="l00541"></a>00541 <span class="comment">     *  tricky.  Use clone() instead.</span>
<a name="l00542"></a>00542 <span class="comment">     *</span>
<a name="l00543"></a>00543 <span class="comment">     * @param stackBuffer  The pointer to the memory into which the cloned object</span>
<a name="l00544"></a>00544 <span class="comment">     *                     should be placed.  If NULL,  allocate heap memory</span>
<a name="l00545"></a>00545 <span class="comment">     *                     for the cloned object.</span>
<a name="l00546"></a>00546 <span class="comment">     * @param BufferSize   The size of the buffer.  If zero, return the required</span>
<a name="l00547"></a>00547 <span class="comment">     *                     buffer size, but do not clone the object.  If the</span>
<a name="l00548"></a>00548 <span class="comment">     *                     size was too small (but not zero), allocate heap</span>
<a name="l00549"></a>00549 <span class="comment">     *                     storage for the cloned object.</span>
<a name="l00550"></a>00550 <span class="comment">     *</span>
<a name="l00551"></a>00551 <span class="comment">     * @param status       Error status.  U_SAFECLONE_ALLOCATED_WARNING will be</span>
<a name="l00552"></a>00552 <span class="comment">     *                     returned if the the provided buffer was too small, and</span>
<a name="l00553"></a>00553 <span class="comment">     *                     the clone was therefore put on the heap.</span>
<a name="l00554"></a>00554 <span class="comment">     *</span>
<a name="l00555"></a>00555 <span class="comment">     * @return  Pointer to the clone object.  This may differ from the stackBuffer</span>
<a name="l00556"></a>00556 <span class="comment">     *          address if the byte alignment of the stack buffer was not suitable</span>
<a name="l00557"></a>00557 <span class="comment">     *          or if the stackBuffer was too small to hold the clone.</span>
<a name="l00558"></a>00558 <span class="comment">     * @stable ICU 2.0</span>
<a name="l00559"></a>00559 <span class="comment">     */</span>
<a name="l00560"></a>00560     <span class="keyword">virtual</span> <a class="code" href="classBreakIterator.html">BreakIterator</a> *  <a class="code" href="classBreakIterator.html#6ea0e9828c9ef650086f4d3a17ce5c61">createBufferClone</a>(<span class="keywordtype">void</span> *stackBuffer,
<a name="l00561"></a>00561                                                <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> &amp;BufferSize,
<a name="l00562"></a>00562                                                <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status);
<a name="l00563"></a>00563 
<a name="l00564"></a>00564 
<a name="l00582"></a>00582     <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="platform_8h.html#ba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *getBinaryRules(<a class="code" href="platform_8h.html#435d1572bf3f880d55459d9805097f62">uint32_t</a> &amp;<a class="code" href="ucnv_8h.html#c2d59ccd7e4666434391eab17b0e304f">length</a>);
<a name="l00583"></a>00583 
<a name="l00584"></a>00584 
<a name="l00585"></a>00585 <span class="keyword">protected</span>:
<a name="l00586"></a>00586     <span class="comment">//=======================================================================</span>
<a name="l00587"></a>00587     <span class="comment">// implementation</span>
<a name="l00588"></a>00588     <span class="comment">//=======================================================================</span>
<a name="l00594"></a>00594 <span class="comment"></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> reset(<span class="keywordtype">void</span>);
<a name="l00595"></a>00595 
<a name="l00596"></a>00596 <span class="preprocessor">#if 0</span>
<a name="l00597"></a>00597 <span class="preprocessor"></span>
<a name="l00605"></a>00605     <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> isDictionaryChar(<a class="code" href="umachine_8h.html#09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a>);
<a name="l00606"></a>00606 
<a name="l00611"></a>00611     <span class="keyword">virtual</span> <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> getBreakType() <span class="keyword">const</span>;
<a name="l00612"></a>00612 <span class="preprocessor">#endif</span>
<a name="l00613"></a>00613 <span class="preprocessor"></span>
<a name="l00618"></a>00618     <span class="keyword">virtual</span> <span class="keywordtype">void</span> setBreakType(<a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> type);
<a name="l00619"></a>00619 
<a name="l00625"></a>00625     <span class="keywordtype">void</span> init();
<a name="l00626"></a>00626 
<a name="l00627"></a>00627 <span class="keyword">private</span>:
<a name="l00628"></a>00628 
<a name="l00638"></a>00638     <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> handlePrevious(<span class="keyword">const</span> RBBIStateTable *statetable);
<a name="l00639"></a>00639 
<a name="l00649"></a>00649     <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> handleNext(<span class="keyword">const</span> RBBIStateTable *statetable);
<a name="l00650"></a>00650 
<a name="l00651"></a>00651 <span class="keyword">protected</span>:
<a name="l00652"></a>00652 
<a name="l00667"></a>00667     <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> checkDictionary(<a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> startPos, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> endPos, <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> reverse);
<a name="l00668"></a>00668 
<a name="l00669"></a>00669 <span class="keyword">private</span>:
<a name="l00670"></a>00670 
<a name="l00677"></a>00677     <span class="keyword">const</span> LanguageBreakEngine *getLanguageBreakEngine(<a class="code" href="umachine_8h.html#09fff5c3b5a5b015324dc3ec3cf92809">UChar32</a> c);
<a name="l00678"></a>00678 
<a name="l00682"></a>00682     <span class="keywordtype">void</span> makeRuleStatusValid();
<a name="l00683"></a>00683 
<a name="l00684"></a>00684 };
<a name="l00685"></a>00685 
<a name="l00686"></a>00686 <span class="comment">//------------------------------------------------------------------------------</span>
<a name="l00687"></a>00687 <span class="comment">//</span>
<a name="l00688"></a>00688 <span class="comment">//   Inline Functions Definitions ...</span>
<a name="l00689"></a>00689 <span class="comment">//</span>
<a name="l00690"></a>00690 <span class="comment">//------------------------------------------------------------------------------</span>
<a name="l00691"></a>00691 
<a name="l00692"></a><a class="code" href="classRuleBasedBreakIterator.html#034310b4e1c82ae5c671cdf76f38e910">00692</a> <span class="keyword">inline</span> <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> <a class="code" href="classRuleBasedBreakIterator.html#034310b4e1c82ae5c671cdf76f38e910">RuleBasedBreakIterator::operator!=</a>(<span class="keyword">const</span> <a class="code" href="classBreakIterator.html">BreakIterator</a>&amp; that)<span class="keyword"> const </span>{
<a name="l00693"></a>00693     <span class="keywordflow">return</span> !<a class="code" href="classRuleBasedBreakIterator.html#28db0f9a406719b0c8aaab5c17ce3de3">operator==</a>(that);
<a name="l00694"></a>00694 }
<a name="l00695"></a>00695 
<a name="l00696"></a>00696 <a class="code" href="uversion_8h.html#3da1f00f3b02976ac53c014a3e4c0933">U_NAMESPACE_END</a>
<a name="l00697"></a>00697 
<a name="l00698"></a>00698 <span class="preprocessor">#endif </span><span class="comment">/* #if !UCONFIG_NO_BREAK_ITERATION */</span>
<a name="l00699"></a>00699 
<a name="l00700"></a>00700 <span class="preprocessor">#endif</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Sep 14 12:59:19 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>