403Webshell
Server IP : 103.119.228.120  /  Your IP : 18.227.0.57
Web Server : Apache
System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64
User : nobody ( 99)
PHP Version : 5.6.40
Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime
MySQL : ON |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : ON |  Pkexec : ON
Directory :  /usr/local/ssl/local/ssl/local/easy/share/doc/easy-libicu-doc-4.0.1/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /usr/local/ssl/local/ssl/local/easy/share/doc/easy-libicu-doc-4.0.1/classSearchIterator.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>ICU 4.0.1: SearchIterator Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">ICU 4.0.1
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">SearchIterator Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p><code><a class="el" href="classSearchIterator.html" title="SearchIterator is an abstract base class that provides methods to search for a pattern within a text ...">SearchIterator</a></code> is an abstract base class that provides methods to search for a pattern within a text string.  
 <a href="classSearchIterator.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="search_8h_source.html">search.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for SearchIterator:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classSearchIterator.png" usemap="#SearchIterator_map" alt=""/>
  <map id="SearchIterator_map" name="SearchIterator_map">
<area href="classUObject.html" title="UObject is the common ICU &quot;boilerplate&quot; class. " alt="UObject" shape="rect" coords="0,56,93,80"/>
<area href="classUMemory.html" title="UMemory is the common ICU base class. " alt="UMemory" shape="rect" coords="0,0,93,24"/>
<area href="classStringSearch.html" title="StringSearch is a SearchIterator that provides language-sensitive text searching based on the compari..." alt="StringSearch" shape="rect" coords="0,168,93,192"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ace7cb7b0e085eaffc03f6229f1aeab3f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#ace7cb7b0e085eaffc03f6229f1aeab3f">SearchIterator</a> (const <a class="el" href="classSearchIterator.html">SearchIterator</a> &amp;other)</td></tr>
<tr class="memdesc:ace7cb7b0e085eaffc03f6229f1aeab3f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor that creates a <a class="el" href="classSearchIterator.html" title="SearchIterator is an abstract base class that provides methods to search for a pattern within a text ...">SearchIterator</a> instance with the same behavior, and iterating over the same text.  <a href="#ace7cb7b0e085eaffc03f6229f1aeab3f">More...</a><br/></td></tr>
<tr class="separator:ace7cb7b0e085eaffc03f6229f1aeab3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac088b4c1be49860879d4a7a37e71681f"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#ac088b4c1be49860879d4a7a37e71681f">~SearchIterator</a> ()</td></tr>
<tr class="memdesc:ac088b4c1be49860879d4a7a37e71681f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#ac088b4c1be49860879d4a7a37e71681f">More...</a><br/></td></tr>
<tr class="separator:ac088b4c1be49860879d4a7a37e71681f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a051291e515560612b18fd5c58b2fc523"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#a051291e515560612b18fd5c58b2fc523">setOffset</a> (int32_t position, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)=0</td></tr>
<tr class="memdesc:a051291e515560612b18fd5c58b2fc523"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the index to point to the given position, and clears any state that's affected.  <a href="#a051291e515560612b18fd5c58b2fc523">More...</a><br/></td></tr>
<tr class="separator:a051291e515560612b18fd5c58b2fc523"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a405b15d976003735d48fe1c534a5045d"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#a405b15d976003735d48fe1c534a5045d">getOffset</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const =0</td></tr>
<tr class="memdesc:a405b15d976003735d48fe1c534a5045d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the current index in the text being searched.  <a href="#a405b15d976003735d48fe1c534a5045d">More...</a><br/></td></tr>
<tr class="separator:a405b15d976003735d48fe1c534a5045d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad82645422603995508e3d70990de5fd8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#ad82645422603995508e3d70990de5fd8">setAttribute</a> (<a class="el" href="usearch_8h.html#aa382f146f1968a9d1dc182100b23ac03">USearchAttribute</a> attribute, <a class="el" href="usearch_8h.html#afbe777746540a229c0a2ff3323e292d1">USearchAttributeValue</a> value, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:ad82645422603995508e3d70990de5fd8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the text searching attributes located in the enum USearchAttribute with values from the enum USearchAttributeValue.  <a href="#ad82645422603995508e3d70990de5fd8">More...</a><br/></td></tr>
<tr class="separator:ad82645422603995508e3d70990de5fd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91aa5cc02700fc13ac0ae6b9fa3ec1b5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="usearch_8h.html#afbe777746540a229c0a2ff3323e292d1">USearchAttributeValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#a91aa5cc02700fc13ac0ae6b9fa3ec1b5">getAttribute</a> (<a class="el" href="usearch_8h.html#aa382f146f1968a9d1dc182100b23ac03">USearchAttribute</a> attribute) const </td></tr>
<tr class="memdesc:a91aa5cc02700fc13ac0ae6b9fa3ec1b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the text searching attributes.  <a href="#a91aa5cc02700fc13ac0ae6b9fa3ec1b5">More...</a><br/></td></tr>
<tr class="separator:a91aa5cc02700fc13ac0ae6b9fa3ec1b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08250c1400fda7b63d2bbba7074db3a5"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#a08250c1400fda7b63d2bbba7074db3a5">getMatchedStart</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr>
<tr class="memdesc:a08250c1400fda7b63d2bbba7074db3a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the index to the match in the text string that was searched.  <a href="#a08250c1400fda7b63d2bbba7074db3a5">More...</a><br/></td></tr>
<tr class="separator:a08250c1400fda7b63d2bbba7074db3a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a149e2eb5d6b1c719e26256981826ca02"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#a149e2eb5d6b1c719e26256981826ca02">getMatchedLength</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr>
<tr class="memdesc:a149e2eb5d6b1c719e26256981826ca02"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the length of text in the string which matches the search pattern.  <a href="#a149e2eb5d6b1c719e26256981826ca02">More...</a><br/></td></tr>
<tr class="separator:a149e2eb5d6b1c719e26256981826ca02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab389210832353fd4ac40319f1e7630a6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#ab389210832353fd4ac40319f1e7630a6">getMatchedText</a> (<a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;result) const </td></tr>
<tr class="memdesc:ab389210832353fd4ac40319f1e7630a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the text that was matched by the most recent call to <code>first</code>, <code>next</code>, <code>previous</code>, or <code>last</code>.  <a href="#ab389210832353fd4ac40319f1e7630a6">More...</a><br/></td></tr>
<tr class="separator:ab389210832353fd4ac40319f1e7630a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5999b2f5d0759a054ef0d9fbfae8598b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#a5999b2f5d0759a054ef0d9fbfae8598b">setBreakIterator</a> (<a class="el" href="classBreakIterator.html">BreakIterator</a> *breakiter, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a5999b2f5d0759a054ef0d9fbfae8598b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the <a class="el" href="classBreakIterator.html" title="The BreakIterator class implements methods for finding the location of boundaries in text...">BreakIterator</a> that will be used to restrict the points at which matches are detected.  <a href="#a5999b2f5d0759a054ef0d9fbfae8598b">More...</a><br/></td></tr>
<tr class="separator:a5999b2f5d0759a054ef0d9fbfae8598b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9586c922b1360ad177ae2d1a649d480"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classBreakIterator.html">BreakIterator</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#af9586c922b1360ad177ae2d1a649d480">getBreakIterator</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr>
<tr class="memdesc:af9586c922b1360ad177ae2d1a649d480"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <a class="el" href="classBreakIterator.html" title="The BreakIterator class implements methods for finding the location of boundaries in text...">BreakIterator</a> that is used to restrict the points at which matches are detected.  <a href="#af9586c922b1360ad177ae2d1a649d480">More...</a><br/></td></tr>
<tr class="separator:af9586c922b1360ad177ae2d1a649d480"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14a7f30bf44acdebd78559ec47424d7f"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#a14a7f30bf44acdebd78559ec47424d7f">setText</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;text, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a14a7f30bf44acdebd78559ec47424d7f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the string text to be searched.  <a href="#a14a7f30bf44acdebd78559ec47424d7f">More...</a><br/></td></tr>
<tr class="separator:a14a7f30bf44acdebd78559ec47424d7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a104395a4fb609992e1e170c98080366c"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#a104395a4fb609992e1e170c98080366c">setText</a> (<a class="el" href="classCharacterIterator.html">CharacterIterator</a> &amp;text, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a104395a4fb609992e1e170c98080366c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the string text to be searched.  <a href="#a104395a4fb609992e1e170c98080366c">More...</a><br/></td></tr>
<tr class="separator:a104395a4fb609992e1e170c98080366c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b343bf29465ac7be05493cbf9000534"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#a1b343bf29465ac7be05493cbf9000534">getText</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr>
<tr class="memdesc:a1b343bf29465ac7be05493cbf9000534"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the string text to be searched.  <a href="#a1b343bf29465ac7be05493cbf9000534">More...</a><br/></td></tr>
<tr class="separator:a1b343bf29465ac7be05493cbf9000534"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac404a3e74b33dcdabda002c4b9438132"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#ac404a3e74b33dcdabda002c4b9438132">operator==</a> (const <a class="el" href="classSearchIterator.html">SearchIterator</a> &amp;that) const </td></tr>
<tr class="memdesc:ac404a3e74b33dcdabda002c4b9438132"><td class="mdescLeft">&#160;</td><td class="mdescRight">Equality operator.  <a href="#ac404a3e74b33dcdabda002c4b9438132">More...</a><br/></td></tr>
<tr class="separator:ac404a3e74b33dcdabda002c4b9438132"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9fd5b7677b8169e5e5102e621aae31cc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#a9fd5b7677b8169e5e5102e621aae31cc">operator!=</a> (const <a class="el" href="classSearchIterator.html">SearchIterator</a> &amp;that) const </td></tr>
<tr class="memdesc:a9fd5b7677b8169e5e5102e621aae31cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Not-equal operator.  <a href="#a9fd5b7677b8169e5e5102e621aae31cc">More...</a><br/></td></tr>
<tr class="separator:a9fd5b7677b8169e5e5102e621aae31cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7dfe65a9875be67e88151a1987053c6e"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classSearchIterator.html">SearchIterator</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#a7dfe65a9875be67e88151a1987053c6e">safeClone</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const =0</td></tr>
<tr class="memdesc:a7dfe65a9875be67e88151a1987053c6e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a copy of <a class="el" href="classSearchIterator.html" title="SearchIterator is an abstract base class that provides methods to search for a pattern within a text ...">SearchIterator</a> with the same behavior, and iterating over the same text, as this one.  <a href="#a7dfe65a9875be67e88151a1987053c6e">More...</a><br/></td></tr>
<tr class="separator:a7dfe65a9875be67e88151a1987053c6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4b0624d1dd56a45f1b11b39f569e185"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#ad4b0624d1dd56a45f1b11b39f569e185">first</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:ad4b0624d1dd56a45f1b11b39f569e185"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the first index at which the string text matches the search pattern.  <a href="#ad4b0624d1dd56a45f1b11b39f569e185">More...</a><br/></td></tr>
<tr class="separator:ad4b0624d1dd56a45f1b11b39f569e185"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b8596ad970537354cb4dd68d1103a9d"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#a6b8596ad970537354cb4dd68d1103a9d">following</a> (int32_t position, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a6b8596ad970537354cb4dd68d1103a9d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the first index greater than <code>position</code> at which the string text matches the search pattern.  <a href="#a6b8596ad970537354cb4dd68d1103a9d">More...</a><br/></td></tr>
<tr class="separator:a6b8596ad970537354cb4dd68d1103a9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa367405e344b6cb425c47e221293257d"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#aa367405e344b6cb425c47e221293257d">last</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:aa367405e344b6cb425c47e221293257d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the last index in the target text at which it matches the search pattern.  <a href="#aa367405e344b6cb425c47e221293257d">More...</a><br/></td></tr>
<tr class="separator:aa367405e344b6cb425c47e221293257d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55f50cb3ef1ffb73746121aeb43b1ae9"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#a55f50cb3ef1ffb73746121aeb43b1ae9">preceding</a> (int32_t position, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a55f50cb3ef1ffb73746121aeb43b1ae9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the first index less than <code>position</code> at which the string text matches the search pattern.  <a href="#a55f50cb3ef1ffb73746121aeb43b1ae9">More...</a><br/></td></tr>
<tr class="separator:a55f50cb3ef1ffb73746121aeb43b1ae9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc2fe871477a82214534b84062dd5763"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#abc2fe871477a82214534b84062dd5763">next</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:abc2fe871477a82214534b84062dd5763"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the index of the next point at which the text matches the search pattern, starting from the current position The iterator is adjusted so that its current index (as returned by <code>getOffset</code>) is the match position if one was found.  <a href="#abc2fe871477a82214534b84062dd5763">More...</a><br/></td></tr>
<tr class="separator:abc2fe871477a82214534b84062dd5763"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6adda71b217ffa8ea4a74fc72db3e0df"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#a6adda71b217ffa8ea4a74fc72db3e0df">previous</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a6adda71b217ffa8ea4a74fc72db3e0df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the index of the previous point at which the string text matches the search pattern, starting at the current position.  <a href="#a6adda71b217ffa8ea4a74fc72db3e0df">More...</a><br/></td></tr>
<tr class="separator:a6adda71b217ffa8ea4a74fc72db3e0df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad72b74b2fbe16ca0a449919984e85db9"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#ad72b74b2fbe16ca0a449919984e85db9">reset</a> ()</td></tr>
<tr class="memdesc:ad72b74b2fbe16ca0a449919984e85db9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resets the iteration.  <a href="#ad72b74b2fbe16ca0a449919984e85db9">More...</a><br/></td></tr>
<tr class="separator:ad72b74b2fbe16ca0a449919984e85db9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classUObject"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classUObject')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classUObject.html">UObject</a></td></tr>
<tr class="memitem:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUObject.html#ace22cf29a90641ef43350deae5bedb85">~UObject</a> ()</td></tr>
<tr class="memdesc:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#ace22cf29a90641ef43350deae5bedb85">More...</a><br/></td></tr>
<tr class="separator:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b1acc95efd89cb86ec31f2dc947a262 inherit pub_methods_classUObject"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUObject.html#a9b1acc95efd89cb86ec31f2dc947a262">getDynamicClassID</a> () const =0</td></tr>
<tr class="memdesc:a9b1acc95efd89cb86ec31f2dc947a262 inherit pub_methods_classUObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.  <a href="#a9b1acc95efd89cb86ec31f2dc947a262">More...</a><br/></td></tr>
<tr class="separator:a9b1acc95efd89cb86ec31f2dc947a262 inherit pub_methods_classUObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a528076f54b4118e76a1790ba04987e2c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#a528076f54b4118e76a1790ba04987e2c">SearchIterator</a> ()</td></tr>
<tr class="memdesc:a528076f54b4118e76a1790ba04987e2c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor.  <a href="#a528076f54b4118e76a1790ba04987e2c">More...</a><br/></td></tr>
<tr class="separator:a528076f54b4118e76a1790ba04987e2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaec88fe42044008487190bf00a2e4661"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#aaec88fe42044008487190bf00a2e4661">SearchIterator</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;text, <a class="el" href="classBreakIterator.html">BreakIterator</a> *breakiter=<a class="el" href="LETypes_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>)</td></tr>
<tr class="memdesc:aaec88fe42044008487190bf00a2e4661"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor for use by subclasses.  <a href="#aaec88fe42044008487190bf00a2e4661">More...</a><br/></td></tr>
<tr class="separator:aaec88fe42044008487190bf00a2e4661"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a028a9602382aca4555f56df8c964bb04"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#a028a9602382aca4555f56df8c964bb04">SearchIterator</a> (<a class="el" href="classCharacterIterator.html">CharacterIterator</a> &amp;text, <a class="el" href="classBreakIterator.html">BreakIterator</a> *breakiter=<a class="el" href="LETypes_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>)</td></tr>
<tr class="memdesc:a028a9602382aca4555f56df8c964bb04"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor for use by subclasses.  <a href="#a028a9602382aca4555f56df8c964bb04">More...</a><br/></td></tr>
<tr class="separator:a028a9602382aca4555f56df8c964bb04"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada060084cf2fb3ccf7c64cb71488d89e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSearchIterator.html">SearchIterator</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#ada060084cf2fb3ccf7c64cb71488d89e">operator=</a> (const <a class="el" href="classSearchIterator.html">SearchIterator</a> &amp;that)</td></tr>
<tr class="memdesc:ada060084cf2fb3ccf7c64cb71488d89e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator.  <a href="#ada060084cf2fb3ccf7c64cb71488d89e">More...</a><br/></td></tr>
<tr class="separator:ada060084cf2fb3ccf7c64cb71488d89e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18c8f6a8faec99e860e6ee6e41fa630a"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#a18c8f6a8faec99e860e6ee6e41fa630a">handleNext</a> (int32_t position, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)=0</td></tr>
<tr class="memdesc:a18c8f6a8faec99e860e6ee6e41fa630a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Abstract method which subclasses override to provide the mechanism for finding the next match in the target text.  <a href="#a18c8f6a8faec99e860e6ee6e41fa630a">More...</a><br/></td></tr>
<tr class="separator:a18c8f6a8faec99e860e6ee6e41fa630a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa84ddfd9914bfb6857e8450b5571361"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#afa84ddfd9914bfb6857e8450b5571361">handlePrev</a> (int32_t position, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)=0</td></tr>
<tr class="memdesc:afa84ddfd9914bfb6857e8450b5571361"><td class="mdescLeft">&#160;</td><td class="mdescRight">Abstract method which subclasses override to provide the mechanism for finding the previous match in the target text.  <a href="#afa84ddfd9914bfb6857e8450b5571361">More...</a><br/></td></tr>
<tr class="separator:afa84ddfd9914bfb6857e8450b5571361"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d6d2c4af6c45121336b0fa3e06f2e14"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#a2d6d2c4af6c45121336b0fa3e06f2e14">setMatchLength</a> (int32_t length)</td></tr>
<tr class="memdesc:a2d6d2c4af6c45121336b0fa3e06f2e14"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the length of the currently matched string in the text string to be searched.  <a href="#a2d6d2c4af6c45121336b0fa3e06f2e14">More...</a><br/></td></tr>
<tr class="separator:a2d6d2c4af6c45121336b0fa3e06f2e14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a030774198e9befb2ae0c37d85841dd0c"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#a030774198e9befb2ae0c37d85841dd0c">setMatchStart</a> (int32_t position)</td></tr>
<tr class="memdesc:a030774198e9befb2ae0c37d85841dd0c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the offset of the currently matched string in the text string to be searched.  <a href="#a030774198e9befb2ae0c37d85841dd0c">More...</a><br/></td></tr>
<tr class="separator:a030774198e9befb2ae0c37d85841dd0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ef0f691ef79cf6b3a673afb6f0ed2b8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#a2ef0f691ef79cf6b3a673afb6f0ed2b8">setMatchNotFound</a> ()</td></tr>
<tr class="memdesc:a2ef0f691ef79cf6b3a673afb6f0ed2b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">sets match not found  <a href="#a2ef0f691ef79cf6b3a673afb6f0ed2b8">More...</a><br/></td></tr>
<tr class="separator:a2ef0f691ef79cf6b3a673afb6f0ed2b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a37a71b3da6253680b3e24a3e0c3687a5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="search_8h.html#ab9a54441959795454ae0406609767131">USearch</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#a37a71b3da6253680b3e24a3e0c3687a5">m_search_</a></td></tr>
<tr class="memdesc:a37a71b3da6253680b3e24a3e0c3687a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">C search data struct.  <a href="#a37a71b3da6253680b3e24a3e0c3687a5">More...</a><br/></td></tr>
<tr class="separator:a37a71b3da6253680b3e24a3e0c3687a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2fa2bb916a411a0df41f4f99e8e74419"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classBreakIterator.html">BreakIterator</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#a2fa2bb916a411a0df41f4f99e8e74419">m_breakiterator_</a></td></tr>
<tr class="memdesc:a2fa2bb916a411a0df41f4f99e8e74419"><td class="mdescLeft">&#160;</td><td class="mdescRight">Break iterator.  <a href="#a2fa2bb916a411a0df41f4f99e8e74419">More...</a><br/></td></tr>
<tr class="separator:a2fa2bb916a411a0df41f4f99e8e74419"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada31ca7238c22c2d69fd5192fe036d3d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSearchIterator.html#ada31ca7238c22c2d69fd5192fe036d3d">m_text_</a></td></tr>
<tr class="memdesc:ada31ca7238c22c2d69fd5192fe036d3d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unicode string version of the search text.  <a href="#ada31ca7238c22c2d69fd5192fe036d3d">More...</a><br/></td></tr>
<tr class="separator:ada31ca7238c22c2d69fd5192fe036d3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_methods_classUMemory"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classUMemory')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classUMemory.html">UMemory</a></td></tr>
<tr class="memitem:a309b19b5777e2840b85b202aef5a54fb inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a309b19b5777e2840b85b202aef5a54fb">operator new</a> (size_t size)</td></tr>
<tr class="memdesc:a309b19b5777e2840b85b202aef5a54fb inherit pub_static_methods_classUMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for ICU4C C++ memory management.  <a href="#a309b19b5777e2840b85b202aef5a54fb">More...</a><br/></td></tr>
<tr class="separator:a309b19b5777e2840b85b202aef5a54fb inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d0df3571728e7b8a823dbbea6e9b5c5 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a4d0df3571728e7b8a823dbbea6e9b5c5">operator new[]</a> (size_t size)</td></tr>
<tr class="memdesc:a4d0df3571728e7b8a823dbbea6e9b5c5 inherit pub_static_methods_classUMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for ICU4C C++ memory management.  <a href="#a4d0df3571728e7b8a823dbbea6e9b5c5">More...</a><br/></td></tr>
<tr class="separator:a4d0df3571728e7b8a823dbbea6e9b5c5 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adcda65a58813749f8f45c5e6c1ed37e1 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#adcda65a58813749f8f45c5e6c1ed37e1">operator delete</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *p)</td></tr>
<tr class="memdesc:adcda65a58813749f8f45c5e6c1ed37e1 inherit pub_static_methods_classUMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for ICU4C C++ memory management.  <a href="#adcda65a58813749f8f45c5e6c1ed37e1">More...</a><br/></td></tr>
<tr class="separator:adcda65a58813749f8f45c5e6c1ed37e1 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7602a7a8c6fdff21d9fbecea4d899333 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a7602a7a8c6fdff21d9fbecea4d899333">operator delete[]</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *p)</td></tr>
<tr class="memdesc:a7602a7a8c6fdff21d9fbecea4d899333 inherit pub_static_methods_classUMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for ICU4C C++ memory management.  <a href="#a7602a7a8c6fdff21d9fbecea4d899333">More...</a><br/></td></tr>
<tr class="separator:a7602a7a8c6fdff21d9fbecea4d899333 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43b5221fe429f77230b2040f8724c154 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a43b5221fe429f77230b2040f8724c154">operator new</a> (size_t, <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *ptr)</td></tr>
<tr class="memdesc:a43b5221fe429f77230b2040f8724c154 inherit pub_static_methods_classUMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for ICU4C C++ memory management for STL.  <a href="#a43b5221fe429f77230b2040f8724c154">More...</a><br/></td></tr>
<tr class="separator:a43b5221fe429f77230b2040f8724c154 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b746b0cdb49c8f8907773002ea5c4ea inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a9b746b0cdb49c8f8907773002ea5c4ea">operator delete</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *, <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *)</td></tr>
<tr class="memdesc:a9b746b0cdb49c8f8907773002ea5c4ea inherit pub_static_methods_classUMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for ICU4C C++ memory management for STL.  <a href="#a9b746b0cdb49c8f8907773002ea5c4ea">More...</a><br/></td></tr>
<tr class="separator:a9b746b0cdb49c8f8907773002ea5c4ea inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><code><a class="el" href="classSearchIterator.html" title="SearchIterator is an abstract base class that provides methods to search for a pattern within a text ...">SearchIterator</a></code> is an abstract base class that provides methods to search for a pattern within a text string. </p>
<p>Instances of <code><a class="el" href="classSearchIterator.html" title="SearchIterator is an abstract base class that provides methods to search for a pattern within a text ...">SearchIterator</a></code> maintain a current position and scans over the target text, returning the indices the pattern is matched and the length of each match. </p>
<p><code><a class="el" href="classSearchIterator.html" title="SearchIterator is an abstract base class that provides methods to search for a pattern within a text ...">SearchIterator</a></code> defines a protocol for text searching. Subclasses provide concrete implementations of various search algorithms. For example, <code><a class="el" href="classStringSearch.html" title="StringSearch is a SearchIterator that provides language-sensitive text searching based on the compari...">StringSearch</a></code> implements language-sensitive pattern matching based on the comparison rules defined in a <code><a class="el" href="classRuleBasedCollator.html" title="The RuleBasedCollator class provides the simple implementation of Collator, using data-driven tables...">RuleBasedCollator</a></code> object. </p>
<p>Other options for searching includes using a <a class="el" href="classBreakIterator.html" title="The BreakIterator class implements methods for finding the location of boundaries in text...">BreakIterator</a> to restrict the points at which matches are detected. </p>
<p><code><a class="el" href="classSearchIterator.html" title="SearchIterator is an abstract base class that provides methods to search for a pattern within a text ...">SearchIterator</a></code> provides an API that is similar to that of other text iteration classes such as <code><a class="el" href="classBreakIterator.html" title="The BreakIterator class implements methods for finding the location of boundaries in text...">BreakIterator</a></code>. Using this class, it is easy to scan through text looking for all occurances of a given pattern. The following example uses a <code><a class="el" href="classStringSearch.html" title="StringSearch is a SearchIterator that provides language-sensitive text searching based on the compari...">StringSearch</a></code> object to find all instances of "fox" in the target string. Any other subclass of <code><a class="el" href="classSearchIterator.html" title="SearchIterator is an abstract base class that provides methods to search for a pattern within a text ...">SearchIterator</a></code> can be used in an identical manner. </p>
<pre><code>
<a class="el" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> target("The quick brown fox jumped over the lazy fox");
<a class="el" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> pattern("fox");</code></pre><pre><code><a class="el" href="classSearchIterator.html" title="SearchIterator is an abstract base class that provides methods to search for a pattern within a text ...">SearchIterator</a> *iter  = new <a class="el" href="classStringSearch.html" title="StringSearch is a SearchIterator that provides language-sensitive text searching based on the compari...">StringSearch(pattern, target)</a>;
UErrorCode      error = U_ZERO_ERROR;
for (int pos = iter-&gt;first(error); pos != USEARCH_DONE; 
                              pos = iter-&gt;next(error)) {
    printf("Found match at %d pos, length is %d\n", pos, 
                                            iter.getMatchLength());
}
</code></pre><dl class="section see"><dt>See Also</dt><dd><a class="el" href="classStringSearch.html" title="StringSearch is a SearchIterator that provides language-sensitive text searching based on the compari...">StringSearch</a> </dd>
<dd>
<a class="el" href="classRuleBasedCollator.html" title="The RuleBasedCollator class provides the simple implementation of Collator, using data-driven tables...">RuleBasedCollator</a> </dd></dl>

<p>Definition at line <a class="el" href="search_8h_source.html#l00079">79</a> of file <a class="el" href="search_8h_source.html">search.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ace7cb7b0e085eaffc03f6229f1aeab3f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SearchIterator::SearchIterator </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classSearchIterator.html">SearchIterator</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copy constructor that creates a <a class="el" href="classSearchIterator.html" title="SearchIterator is an abstract base class that provides methods to search for a pattern within a text ...">SearchIterator</a> instance with the same behavior, and iterating over the same text. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">other</td><td>the <a class="el" href="classSearchIterator.html" title="SearchIterator is an abstract base class that provides methods to search for a pattern within a text ...">SearchIterator</a> instance to be copied. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002780">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ac088b4c1be49860879d4a7a37e71681f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual SearchIterator::~SearchIterator </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Destructor. </p>
<p>Cleans up the search iterator data struct. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002781">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a528076f54b4118e76a1790ba04987e2c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">SearchIterator::SearchIterator </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default constructor. </p>
<p>Initializes data to the default values. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002807">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="aaec88fe42044008487190bf00a2e4661"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">SearchIterator::SearchIterator </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classBreakIterator.html">BreakIterator</a> *&#160;</td>
          <td class="paramname"><em>breakiter</em> = <code><a class="el" href="LETypes_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructor for use by subclasses. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">text</td><td>The target text to be searched. </td></tr>
    <tr><td class="paramname">breakiter</td><td>A <a class="el" href="classBreakIterator.html">BreakIterator</a> that is used to restrict the points at which matches are detected. If <code>handleNext</code> or <code>handlePrev</code> finds a match, but the match's start or end index is not a boundary as determined by the <code><a class="el" href="classBreakIterator.html" title="The BreakIterator class implements methods for finding the location of boundaries in text...">BreakIterator</a></code>, the match is rejected and <code>handleNext</code> or <code>handlePrev</code> is called again. If this parameter is <code>NULL</code>, no break detection is attempted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classSearchIterator.html#a18c8f6a8faec99e860e6ee6e41fa630a" title="Abstract method which subclasses override to provide the mechanism for finding the next match in the ...">handleNext</a> </dd>
<dd>
<a class="el" href="classSearchIterator.html#afa84ddfd9914bfb6857e8450b5571361" title="Abstract method which subclasses override to provide the mechanism for finding the previous match in ...">handlePrev</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002808">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a028a9602382aca4555f56df8c964bb04"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">SearchIterator::SearchIterator </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCharacterIterator.html">CharacterIterator</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classBreakIterator.html">BreakIterator</a> *&#160;</td>
          <td class="paramname"><em>breakiter</em> = <code><a class="el" href="LETypes_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructor for use by subclasses. </p>
<p>Note: No parsing of the text within the <code><a class="el" href="classCharacterIterator.html" title="Abstract class that defines an API for iteration on text objects. ">CharacterIterator</a></code> will be done during searching for this version. The block of text in <code><a class="el" href="classCharacterIterator.html" title="Abstract class that defines an API for iteration on text objects. ">CharacterIterator</a></code> will be used as it is. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">text</td><td>The target text to be searched. </td></tr>
    <tr><td class="paramname">breakiter</td><td>A <a class="el" href="classBreakIterator.html">BreakIterator</a> that is used to restrict the points at which matches are detected. If <code>handleNext</code> or <code>handlePrev</code> finds a match, but the match's start or end index is not a boundary as determined by the <code><a class="el" href="classBreakIterator.html" title="The BreakIterator class implements methods for finding the location of boundaries in text...">BreakIterator</a></code>, the match is rejected and <code>handleNext</code> or <code>handlePrev</code> is called again. If this parameter is <code>NULL</code>, no break detection is attempted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classSearchIterator.html#a18c8f6a8faec99e860e6ee6e41fa630a" title="Abstract method which subclasses override to provide the mechanism for finding the next match in the ...">handleNext</a> </dd>
<dd>
<a class="el" href="classSearchIterator.html#afa84ddfd9914bfb6857e8450b5571361" title="Abstract method which subclasses override to provide the mechanism for finding the previous match in ...">handlePrev</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002809">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ad4b0624d1dd56a45f1b11b39f569e185"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t SearchIterator::first </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the first index at which the string text matches the search pattern. </p>
<p>The iterator is adjusted so that its current index (as returned by <code>getOffset</code>) is the match position if one was found. If a match is not found, <code>USEARCH_DONE</code> will be returned and the iterator will be adjusted to the index USEARCH_DONE </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>for errors if it occurs </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The character index of the first match, or <code>USEARCH_DONE</code> if there are no matches. </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classSearchIterator.html#a405b15d976003735d48fe1c534a5045d" title="Return the current index in the text being searched. ">getOffset</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002797">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a6b8596ad970537354cb4dd68d1103a9d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t SearchIterator::following </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>position</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the first index greater than <code>position</code> at which the string text matches the search pattern. </p>
<p>The iterator is adjusted so that its current index (as returned by <code>getOffset</code>) is the match position if one was found. If a match is not found, <code>USEARCH_DONE</code> will be returned and the iterator will be adjusted to the index USEARCH_DONE </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">position</td><td>where search if to start from. If position is less than or greater than the text range for searching, an U_INDEX_OUTOFBOUNDS_ERROR will be returned </td></tr>
    <tr><td class="paramname">status</td><td>for errors if it occurs </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The character index of the first match following <code>position</code>, or <code>USEARCH_DONE</code> if there are no matches. </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classSearchIterator.html#a405b15d976003735d48fe1c534a5045d" title="Return the current index in the text being searched. ">getOffset</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002798">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a91aa5cc02700fc13ac0ae6b9fa3ec1b5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="usearch_8h.html#afbe777746540a229c0a2ff3323e292d1">USearchAttributeValue</a> SearchIterator::getAttribute </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="usearch_8h.html#aa382f146f1968a9d1dc182100b23ac03">USearchAttribute</a>&#160;</td>
          <td class="paramname"><em>attribute</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the text searching attributes. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">attribute</td><td>text attribute (enum USearchAttribute) to be retrieve </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>text attribute value </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002785">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="af9586c922b1360ad177ae2d1a649d480"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classBreakIterator.html">BreakIterator</a>* SearchIterator::getBreakIterator </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the <a class="el" href="classBreakIterator.html" title="The BreakIterator class implements methods for finding the location of boundaries in text...">BreakIterator</a> that is used to restrict the points at which matches are detected. </p>
<p>This will be the same object that was passed to the constructor or to <code>setBreakIterator</code>. Note that <code>NULL</code> is a legal value; it means that break detection should not be attempted. </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classBreakIterator.html" title="The BreakIterator class implements methods for finding the location of boundaries in text...">BreakIterator</a> used to restrict matchings. </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classSearchIterator.html#a5999b2f5d0759a054ef0d9fbfae8598b" title="Set the BreakIterator that will be used to restrict the points at which matches are detected...">setBreakIterator</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002790">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a149e2eb5d6b1c719e26256981826ca02"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t SearchIterator::getMatchedLength </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the length of text in the string which matches the search pattern. </p>
<p>This call returns a valid result only after a successful call to <code>first</code>, <code>next</code>, <code>previous</code>, or <code>last</code>. Just after construction, or after a searching method returns <code>USEARCH_DONE</code>, this method will return 0. </p>
<dl class="section return"><dt>Returns</dt><dd>The length of the match in the target text, or 0 if there is no match currently. </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classSearchIterator.html#ad4b0624d1dd56a45f1b11b39f569e185" title="Returns the first index at which the string text matches the search pattern. ">first</a> </dd>
<dd>
<a class="el" href="classSearchIterator.html#abc2fe871477a82214534b84062dd5763" title="Returns the index of the next point at which the text matches the search pattern, starting from the c...">next</a> </dd>
<dd>
<a class="el" href="classSearchIterator.html#a6adda71b217ffa8ea4a74fc72db3e0df" title="Returns the index of the previous point at which the string text matches the search pattern...">previous</a> </dd>
<dd>
<a class="el" href="classSearchIterator.html#aa367405e344b6cb425c47e221293257d" title="Returns the last index in the target text at which it matches the search pattern. ...">last</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002787">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a08250c1400fda7b63d2bbba7074db3a5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t SearchIterator::getMatchedStart </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the index to the match in the text string that was searched. </p>
<p>This call returns a valid result only after a successful call to <code>first</code>, <code>next</code>, <code>previous</code>, or <code>last</code>. Just after construction, or after a searching method returns <code>USEARCH_DONE</code>, this method will return <code>USEARCH_DONE</code>. </p>
<p>Use getMatchedLength to get the matched string length. </p>
<dl class="section return"><dt>Returns</dt><dd>index of a substring within the text string that is being searched. </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classSearchIterator.html#ad4b0624d1dd56a45f1b11b39f569e185" title="Returns the first index at which the string text matches the search pattern. ">first</a> </dd>
<dd>
<a class="el" href="classSearchIterator.html#abc2fe871477a82214534b84062dd5763" title="Returns the index of the next point at which the text matches the search pattern, starting from the c...">next</a> </dd>
<dd>
<a class="el" href="classSearchIterator.html#a6adda71b217ffa8ea4a74fc72db3e0df" title="Returns the index of the previous point at which the string text matches the search pattern...">previous</a> </dd>
<dd>
<a class="el" href="classSearchIterator.html#aa367405e344b6cb425c47e221293257d" title="Returns the last index in the target text at which it matches the search pattern. ...">last</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002786">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ab389210832353fd4ac40319f1e7630a6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> SearchIterator::getMatchedText </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>result</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the text that was matched by the most recent call to <code>first</code>, <code>next</code>, <code>previous</code>, or <code>last</code>. </p>
<p>If the iterator is not pointing at a valid match (e.g. just after construction or after <code>USEARCH_DONE</code> has been returned, returns an empty string. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">result</td><td>stores the matched string or an empty string if a match is not found. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classSearchIterator.html#ad4b0624d1dd56a45f1b11b39f569e185" title="Returns the first index at which the string text matches the search pattern. ">first</a> </dd>
<dd>
<a class="el" href="classSearchIterator.html#abc2fe871477a82214534b84062dd5763" title="Returns the index of the next point at which the text matches the search pattern, starting from the c...">next</a> </dd>
<dd>
<a class="el" href="classSearchIterator.html#a6adda71b217ffa8ea4a74fc72db3e0df" title="Returns the index of the previous point at which the string text matches the search pattern...">previous</a> </dd>
<dd>
<a class="el" href="classSearchIterator.html#aa367405e344b6cb425c47e221293257d" title="Returns the last index in the target text at which it matches the search pattern. ...">last</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002788">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a405b15d976003735d48fe1c534a5045d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t SearchIterator::getOffset </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the current index in the text being searched. </p>
<p>If the iteration has gone past the end of the text (or past the beginning for a backwards search), USEARCH_DONE is returned. </p>
<dl class="section return"><dt>Returns</dt><dd>current index in the text being searched. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002783">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implemented in <a class="el" href="classStringSearch.html#a36072e965203eb7272bc050a0c5e6e6b">StringSearch</a>.</p>

</div>
</div>
<a class="anchor" id="a1b343bf29465ac7be05493cbf9000534"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classUnicodeString.html">UnicodeString</a>&amp; SearchIterator::getText </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return the string text to be searched. </p>
<dl class="section return"><dt>Returns</dt><dd>text string to be searched. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002793">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a18c8f6a8faec99e860e6ee6e41fa630a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t SearchIterator::handleNext </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>position</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Abstract method which subclasses override to provide the mechanism for finding the next match in the target text. </p>
<p>This allows different subclasses to provide different search algorithms. </p>
<p>If a match is found, the implementation should return the index at which the match starts and should call <code>setMatchLength</code> with the number of characters in the target text that make up the match. If no match is found, the method should return USEARCH_DONE. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">position</td><td>The index in the target text at which the search should start. </td></tr>
    <tr><td class="paramname">status</td><td>for error codes if it occurs. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>index at which the match starts, else if match is not found USEARCH_DONE is returned </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classSearchIterator.html#a2d6d2c4af6c45121336b0fa3e06f2e14" title="Sets the length of the currently matched string in the text string to be searched. ">setMatchLength</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002811">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implemented in <a class="el" href="classStringSearch.html#af72f5e342a08ab606435ae49dd41d23b">StringSearch</a>.</p>

</div>
</div>
<a class="anchor" id="afa84ddfd9914bfb6857e8450b5571361"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t SearchIterator::handlePrev </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>position</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Abstract method which subclasses override to provide the mechanism for finding the previous match in the target text. </p>
<p>This allows different subclasses to provide different search algorithms. </p>
<p>If a match is found, the implementation should return the index at which the match starts and should call <code>setMatchLength</code> with the number of characters in the target text that make up the match. If no match is found, the method should return USEARCH_DONE. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">position</td><td>The index in the target text at which the search should start. </td></tr>
    <tr><td class="paramname">status</td><td>for error codes if it occurs. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>index at which the match starts, else if match is not found USEARCH_DONE is returned </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classSearchIterator.html#a2d6d2c4af6c45121336b0fa3e06f2e14" title="Sets the length of the currently matched string in the text string to be searched. ">setMatchLength</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002812">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implemented in <a class="el" href="classStringSearch.html#aaeb4d82bf1a5917a2fd5819d179d050a">StringSearch</a>.</p>

</div>
</div>
<a class="anchor" id="aa367405e344b6cb425c47e221293257d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t SearchIterator::last </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the last index in the target text at which it matches the search pattern. </p>
<p>The iterator is adjusted so that its current index (as returned by <code>getOffset</code>) is the match position if one was found. If a match is not found, <code>USEARCH_DONE</code> will be returned and the iterator will be adjusted to the index USEARCH_DONE. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>for errors if it occurs </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The index of the first match, or <code>USEARCH_DONE</code> if there are no matches. </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classSearchIterator.html#a405b15d976003735d48fe1c534a5045d" title="Return the current index in the text being searched. ">getOffset</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002799">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="abc2fe871477a82214534b84062dd5763"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t SearchIterator::next </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the index of the next point at which the text matches the search pattern, starting from the current position The iterator is adjusted so that its current index (as returned by <code>getOffset</code>) is the match position if one was found. </p>
<p>If a match is not found, <code>USEARCH_DONE</code> will be returned and the iterator will be adjusted to a position after the end of the text string. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>for errors if it occurs </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The index of the next match after the current position, or <code>USEARCH_DONE</code> if there are no more matches. </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classSearchIterator.html#a405b15d976003735d48fe1c534a5045d" title="Return the current index in the text being searched. ">getOffset</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002801">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a9fd5b7677b8169e5e5102e621aae31cc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> SearchIterator::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classSearchIterator.html">SearchIterator</a> &amp;&#160;</td>
          <td class="paramname"><em>that</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Not-equal operator. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">that</td><td><a class="el" href="classSearchIterator.html" title="SearchIterator is an abstract base class that provides methods to search for a pattern within a text ...">SearchIterator</a> instance to be compared. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>FALSE if operator== returns TRUE, and vice versa. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002795">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="search_8h_source.html#l00560">560</a> of file <a class="el" href="search_8h_source.html">search.h</a>.</p>

<p>References <a class="el" href="classSearchIterator.html#ac404a3e74b33dcdabda002c4b9438132">operator==()</a>.</p>

</div>
</div>
<a class="anchor" id="ada060084cf2fb3ccf7c64cb71488d89e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classSearchIterator.html">SearchIterator</a>&amp; SearchIterator::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classSearchIterator.html">SearchIterator</a> &amp;&#160;</td>
          <td class="paramname"><em>that</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Assignment operator. </p>
<p>Sets this iterator to have the same behavior, and iterate over the same text, as the one passed in. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">that</td><td>instance to be copied. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002810">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ac404a3e74b33dcdabda002c4b9438132"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> SearchIterator::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classSearchIterator.html">SearchIterator</a> &amp;&#160;</td>
          <td class="paramname"><em>that</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Equality operator. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">that</td><td><a class="el" href="classSearchIterator.html" title="SearchIterator is an abstract base class that provides methods to search for a pattern within a text ...">SearchIterator</a> instance to be compared. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if both BreakIterators are of the same class, have the same behavior, terates over the same text and have the same attributes. FALSE otherwise. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002794">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Reimplemented in <a class="el" href="classStringSearch.html#a21f80025b81629fe6246a642b5f49ec9">StringSearch</a>.</p>

<p>Referenced by <a class="el" href="search_8h_source.html#l00560">operator!=()</a>.</p>

</div>
</div>
<a class="anchor" id="a55f50cb3ef1ffb73746121aeb43b1ae9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t SearchIterator::preceding </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>position</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the first index less than <code>position</code> at which the string text matches the search pattern. </p>
<p>The iterator is adjusted so that its current index (as returned by <code>getOffset</code>) is the match position if one was found. If a match is not found, <code>USEARCH_DONE</code> will be returned and the iterator will be adjusted to the index USEARCH_DONE </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">position</td><td>where search is to start from. If position is less than or greater than the text range for searching, an U_INDEX_OUTOFBOUNDS_ERROR will be returned </td></tr>
    <tr><td class="paramname">status</td><td>for errors if it occurs </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The character index of the first match preceding <code>position</code>, or <code>USEARCH_DONE</code> if there are no matches. </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classSearchIterator.html#a405b15d976003735d48fe1c534a5045d" title="Return the current index in the text being searched. ">getOffset</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002800">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a6adda71b217ffa8ea4a74fc72db3e0df"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t SearchIterator::previous </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the index of the previous point at which the string text matches the search pattern, starting at the current position. </p>
<p>The iterator is adjusted so that its current index (as returned by <code>getOffset</code>) is the match position if one was found. If a match is not found, <code>USEARCH_DONE</code> will be returned and the iterator will be adjusted to the index USEARCH_DONE </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>for errors if it occurs </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The index of the previous match before the current position, or <code>USEARCH_DONE</code> if there are no more matches. </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classSearchIterator.html#a405b15d976003735d48fe1c534a5045d" title="Return the current index in the text being searched. ">getOffset</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002802">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ad72b74b2fbe16ca0a449919984e85db9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> SearchIterator::reset </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Resets the iteration. </p>
<p>Search will begin at the start of the text string if a forward iteration is initiated before a backwards iteration. Otherwise if a backwards iteration is initiated before a forwards iteration, the search will begin at the end of the text string. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002803">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Reimplemented in <a class="el" href="classStringSearch.html#a298259adcc5316a74ac9ce9b22e97c03">StringSearch</a>.</p>

</div>
</div>
<a class="anchor" id="a7dfe65a9875be67e88151a1987053c6e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classSearchIterator.html">SearchIterator</a>* SearchIterator::safeClone </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a copy of <a class="el" href="classSearchIterator.html" title="SearchIterator is an abstract base class that provides methods to search for a pattern within a text ...">SearchIterator</a> with the same behavior, and iterating over the same text, as this one. </p>
<p>Note that all data will be replicated, except for the text string to be searched. </p>
<dl class="section return"><dt>Returns</dt><dd>cloned object </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002796">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implemented in <a class="el" href="classStringSearch.html#a4b33f73a68dceee80574f86f421798f4">StringSearch</a>.</p>

</div>
</div>
<a class="anchor" id="ad82645422603995508e3d70990de5fd8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> SearchIterator::setAttribute </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="usearch_8h.html#aa382f146f1968a9d1dc182100b23ac03">USearchAttribute</a>&#160;</td>
          <td class="paramname"><em>attribute</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="usearch_8h.html#afbe777746540a229c0a2ff3323e292d1">USearchAttributeValue</a>&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the text searching attributes located in the enum USearchAttribute with values from the enum USearchAttributeValue. </p>
<p>USEARCH_DEFAULT can be used for all attributes for resetting. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">attribute</td><td>text attribute (enum USearchAttribute) to be set </td></tr>
    <tr><td class="paramname">value</td><td>text attribute value </td></tr>
    <tr><td class="paramname">status</td><td>for errors if it occurs </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002784">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a5999b2f5d0759a054ef0d9fbfae8598b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> SearchIterator::setBreakIterator </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classBreakIterator.html">BreakIterator</a> *&#160;</td>
          <td class="paramname"><em>breakiter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the <a class="el" href="classBreakIterator.html" title="The BreakIterator class implements methods for finding the location of boundaries in text...">BreakIterator</a> that will be used to restrict the points at which matches are detected. </p>
<p>The user is responsible for deleting the breakiterator. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">breakiter</td><td>A <a class="el" href="classBreakIterator.html" title="The BreakIterator class implements methods for finding the location of boundaries in text...">BreakIterator</a> that will be used to restrict the points at which matches are detected. If a match is found, but the match's start or end index is not a boundary as determined by the <code><a class="el" href="classBreakIterator.html" title="The BreakIterator class implements methods for finding the location of boundaries in text...">BreakIterator</a></code>, the match will be rejected and another will be searched for. If this parameter is <code>NULL</code>, no break detection is attempted. </td></tr>
    <tr><td class="paramname">status</td><td>for errors if it occurs </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classBreakIterator.html" title="The BreakIterator class implements methods for finding the location of boundaries in text...">BreakIterator</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002789">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a2d6d2c4af6c45121336b0fa3e06f2e14"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> SearchIterator::setMatchLength </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>length</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Sets the length of the currently matched string in the text string to be searched. </p>
<p>Subclasses' <code>handleNext</code> and <code>handlePrev</code> methods should call this when they find a match in the target text. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">length</td><td>length of the matched text. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classSearchIterator.html#a18c8f6a8faec99e860e6ee6e41fa630a" title="Abstract method which subclasses override to provide the mechanism for finding the next match in the ...">handleNext</a> </dd>
<dd>
<a class="el" href="classSearchIterator.html#afa84ddfd9914bfb6857e8450b5571361" title="Abstract method which subclasses override to provide the mechanism for finding the previous match in ...">handlePrev</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002813">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a2ef0f691ef79cf6b3a673afb6f0ed2b8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> SearchIterator::setMatchNotFound </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>sets match not found </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002815">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a030774198e9befb2ae0c37d85841dd0c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> SearchIterator::setMatchStart </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>position</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Sets the offset of the currently matched string in the text string to be searched. </p>
<p>Subclasses' <code>handleNext</code> and <code>handlePrev</code> methods should call this when they find a match in the target text. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">position</td><td>start offset of the matched text. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classSearchIterator.html#a18c8f6a8faec99e860e6ee6e41fa630a" title="Abstract method which subclasses override to provide the mechanism for finding the next match in the ...">handleNext</a> </dd>
<dd>
<a class="el" href="classSearchIterator.html#afa84ddfd9914bfb6857e8450b5571361" title="Abstract method which subclasses override to provide the mechanism for finding the previous match in ...">handlePrev</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002814">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a051291e515560612b18fd5c58b2fc523"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> SearchIterator::setOffset </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>position</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Sets the index to point to the given position, and clears any state that's affected. </p>
<p>This method takes the argument index and sets the position in the text string accordingly without checking if the index is pointing to a valid starting point to begin searching. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">position</td><td>within the text to be set. If position is less than or greater than the text range for searching, an U_INDEX_OUTOFBOUNDS_ERROR will be returned </td></tr>
    <tr><td class="paramname">status</td><td>for errors if it occurs </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002782">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implemented in <a class="el" href="classStringSearch.html#a6cdb73b15960f85ef3b046a551a61ecf">StringSearch</a>.</p>

</div>
</div>
<a class="anchor" id="a14a7f30bf44acdebd78559ec47424d7f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> SearchIterator::setText </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the string text to be searched. </p>
<p>Text iteration will hence begin at the start of the text string. This method is useful if you want to re-use an iterator to search for the same pattern within a different body of text. The user is responsible for deleting the text. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">text</td><td>string to be searched. </td></tr>
    <tr><td class="paramname">status</td><td>for errors. If the text length is 0, an U_ILLEGAL_ARGUMENT_ERROR is returned. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002791">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Reimplemented in <a class="el" href="classStringSearch.html#a703c9716ef58efb5911229eaa2ed7e2a">StringSearch</a>.</p>

</div>
</div>
<a class="anchor" id="a104395a4fb609992e1e170c98080366c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> SearchIterator::setText </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCharacterIterator.html">CharacterIterator</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the string text to be searched. </p>
<p>Text iteration will hence begin at the start of the text string. This method is useful if you want to re-use an iterator to search for the same pattern within a different body of text. </p>
<p>Note: No parsing of the text within the <code><a class="el" href="classCharacterIterator.html" title="Abstract class that defines an API for iteration on text objects. ">CharacterIterator</a></code> will be done during searching for this version. The block of text in <code><a class="el" href="classCharacterIterator.html" title="Abstract class that defines an API for iteration on text objects. ">CharacterIterator</a></code> will be used as it is. The user is responsible for deleting the text. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">text</td><td>string iterator to be searched. </td></tr>
    <tr><td class="paramname">status</td><td>for errors if any. If the text length is 0 then an U_ILLEGAL_ARGUMENT_ERROR is returned. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002792">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Reimplemented in <a class="el" href="classStringSearch.html#a755fec7f70c3f7f9e2cb06985839ac43">StringSearch</a>.</p>

</div>
</div>
<h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="a2fa2bb916a411a0df41f4f99e8e74419"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classBreakIterator.html">BreakIterator</a>* SearchIterator::m_breakiterator_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Break iterator. </p>
<p>Currently the C++ breakiterator does not have getRules etc to reproduce another in C. Hence we keep the original around and do the verification at the end of the match. The user is responsible for deleting this break iterator. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002805">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="search_8h_source.html#l00419">419</a> of file <a class="el" href="search_8h_source.html">search.h</a>.</p>

</div>
</div>
<a class="anchor" id="a37a71b3da6253680b3e24a3e0c3687a5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="search_8h.html#ab9a54441959795454ae0406609767131">USearch</a>* SearchIterator::m_search_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>C search data struct. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002804">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="search_8h_source.html#l00409">409</a> of file <a class="el" href="search_8h_source.html">search.h</a>.</p>

</div>
</div>
<a class="anchor" id="ada31ca7238c22c2d69fd5192fe036d3d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a> SearchIterator::m_text_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Unicode string version of the search text. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002806">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="search_8h_source.html#l00425">425</a> of file <a class="el" href="search_8h_source.html">search.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="search_8h_source.html">search.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit