Server IP : 103.119.228.120 / Your IP : 13.59.87.145 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 : |
<!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: UCharIterator Struct 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 Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li class="current"><a href="annotated.html"><span>Data 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 Structures</span></a></li> <li><a href="classes.html"><span>Data Structure Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Data 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"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark"> </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-attribs">Data Fields</a> </div> <div class="headertitle"> <div class="title">UCharIterator Struct Reference</div> </div> </div><!--header--> <div class="contents"> <p>C API for code unit iteration. <a href="structUCharIterator.html#details">More...</a></p> <p><code>#include <<a class="el" href="uiter_8h_source.html">uiter.h</a>></code></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a> Data Fields</h2></td></tr> <tr class="memitem:a33f323cfae0faa809f047874d2021fe6"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structUCharIterator.html#a33f323cfae0faa809f047874d2021fe6">context</a></td></tr> <tr class="memdesc:a33f323cfae0faa809f047874d2021fe6"><td class="mdescLeft"> </td><td class="mdescRight">(protected) Pointer to string or wrapped object or similar. <a href="#a33f323cfae0faa809f047874d2021fe6">More...</a><br/></td></tr> <tr class="separator:a33f323cfae0faa809f047874d2021fe6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a52856eb702c1198d0d49e8a4de0d8629"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structUCharIterator.html#a52856eb702c1198d0d49e8a4de0d8629">length</a></td></tr> <tr class="memdesc:a52856eb702c1198d0d49e8a4de0d8629"><td class="mdescLeft"> </td><td class="mdescRight">(protected) Length of string or similar. <a href="#a52856eb702c1198d0d49e8a4de0d8629">More...</a><br/></td></tr> <tr class="separator:a52856eb702c1198d0d49e8a4de0d8629"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acbc6d2bf546d7e98744e2f0d776bec72"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structUCharIterator.html#acbc6d2bf546d7e98744e2f0d776bec72">start</a></td></tr> <tr class="memdesc:acbc6d2bf546d7e98744e2f0d776bec72"><td class="mdescLeft"> </td><td class="mdescRight">(protected) Start index or similar. <a href="#acbc6d2bf546d7e98744e2f0d776bec72">More...</a><br/></td></tr> <tr class="separator:acbc6d2bf546d7e98744e2f0d776bec72"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1dcd0ca0875b1be0ba2f399c6920e6fa"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structUCharIterator.html#a1dcd0ca0875b1be0ba2f399c6920e6fa">index</a></td></tr> <tr class="memdesc:a1dcd0ca0875b1be0ba2f399c6920e6fa"><td class="mdescLeft"> </td><td class="mdescRight">(protected) Current index or similar. <a href="#a1dcd0ca0875b1be0ba2f399c6920e6fa">More...</a><br/></td></tr> <tr class="separator:a1dcd0ca0875b1be0ba2f399c6920e6fa"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a68042932fad8301133ef8bc82f901305"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structUCharIterator.html#a68042932fad8301133ef8bc82f901305">limit</a></td></tr> <tr class="memdesc:a68042932fad8301133ef8bc82f901305"><td class="mdescLeft"> </td><td class="mdescRight">(protected) Limit index or similar. <a href="#a68042932fad8301133ef8bc82f901305">More...</a><br/></td></tr> <tr class="separator:a68042932fad8301133ef8bc82f901305"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5d28abc1c284a02d887651c0594d2181"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structUCharIterator.html#a5d28abc1c284a02d887651c0594d2181">reservedField</a></td></tr> <tr class="memdesc:a5d28abc1c284a02d887651c0594d2181"><td class="mdescLeft"> </td><td class="mdescRight">(protected) Used by UTF-8 iterators and possibly others. <a href="#a5d28abc1c284a02d887651c0594d2181">More...</a><br/></td></tr> <tr class="separator:a5d28abc1c284a02d887651c0594d2181"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3d8274db3ff99ebb6bb2d0784c9cd7ca"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uiter_8h.html#a1e20dbf7ee31665308060414ab33896d">UCharIteratorGetIndex</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structUCharIterator.html#a3d8274db3ff99ebb6bb2d0784c9cd7ca">getIndex</a></td></tr> <tr class="memdesc:a3d8274db3ff99ebb6bb2d0784c9cd7ca"><td class="mdescLeft"> </td><td class="mdescRight">(public) Returns the current position or the start or limit index of the iteration range. <a href="#a3d8274db3ff99ebb6bb2d0784c9cd7ca">More...</a><br/></td></tr> <tr class="separator:a3d8274db3ff99ebb6bb2d0784c9cd7ca"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a085355b29925cbf9170e364e9aef7bc5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uiter_8h.html#a685b93cd5dd64a1c28ff243de0970e66">UCharIteratorMove</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structUCharIterator.html#a085355b29925cbf9170e364e9aef7bc5">move</a></td></tr> <tr class="memdesc:a085355b29925cbf9170e364e9aef7bc5"><td class="mdescLeft"> </td><td class="mdescRight">(public) Moves the current position relative to the start or limit of the iteration range, or relative to the current position itself. <a href="#a085355b29925cbf9170e364e9aef7bc5">More...</a><br/></td></tr> <tr class="separator:a085355b29925cbf9170e364e9aef7bc5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac6dc92d309ace93dc07ad9092e807578"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uiter_8h.html#a8df87a03c91a3e20012949de43c59381">UCharIteratorHasNext</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structUCharIterator.html#ac6dc92d309ace93dc07ad9092e807578">hasNext</a></td></tr> <tr class="memdesc:ac6dc92d309ace93dc07ad9092e807578"><td class="mdescLeft"> </td><td class="mdescRight">(public) Check if <a class="el" href="structUCharIterator.html#ac247dee1b3e3e6fec6688f9dcb5bc1c6" title="(public) Return the code unit at the current position, or U_SENTINEL if there is none (index is at th...">current()</a> and <a class="el" href="structUCharIterator.html#aae26243728a62e6a13ed2008972afb50" title="(public) Return the code unit at the current index and increment the index (post-increment, like s[i++]), or return U_SENTINEL if there is none (index is at the limit). ">next()</a> can still return another code unit. <a href="#ac6dc92d309ace93dc07ad9092e807578">More...</a><br/></td></tr> <tr class="separator:ac6dc92d309ace93dc07ad9092e807578"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5a5d536cc7275cdba8b6b2487a4f75a6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uiter_8h.html#a238ebeaecab0965abb28c6732b151ed1">UCharIteratorHasPrevious</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structUCharIterator.html#a5a5d536cc7275cdba8b6b2487a4f75a6">hasPrevious</a></td></tr> <tr class="memdesc:a5a5d536cc7275cdba8b6b2487a4f75a6"><td class="mdescLeft"> </td><td class="mdescRight">(public) Check if <a class="el" href="structUCharIterator.html#a65cd2a527c6abe69a0f37a368ce51cfb" title="(public) Decrement the index and return the code unit from there (pre-decrement, like s[–i])...">previous()</a> can still return another code unit. <a href="#a5a5d536cc7275cdba8b6b2487a4f75a6">More...</a><br/></td></tr> <tr class="separator:a5a5d536cc7275cdba8b6b2487a4f75a6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac247dee1b3e3e6fec6688f9dcb5bc1c6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uiter_8h.html#ae4162b85c1ce61e161e0d6832fb5ae25">UCharIteratorCurrent</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structUCharIterator.html#ac247dee1b3e3e6fec6688f9dcb5bc1c6">current</a></td></tr> <tr class="memdesc:ac247dee1b3e3e6fec6688f9dcb5bc1c6"><td class="mdescLeft"> </td><td class="mdescRight">(public) Return the code unit at the current position, or U_SENTINEL if there is none (index is at the limit). <a href="#ac247dee1b3e3e6fec6688f9dcb5bc1c6">More...</a><br/></td></tr> <tr class="separator:ac247dee1b3e3e6fec6688f9dcb5bc1c6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aae26243728a62e6a13ed2008972afb50"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uiter_8h.html#a8e9ad76bae5c0639e7c2dde67982ed73">UCharIteratorNext</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structUCharIterator.html#aae26243728a62e6a13ed2008972afb50">next</a></td></tr> <tr class="memdesc:aae26243728a62e6a13ed2008972afb50"><td class="mdescLeft"> </td><td class="mdescRight">(public) Return the code unit at the current index and increment the index (post-increment, like s[i++]), or return U_SENTINEL if there is none (index is at the limit). <a href="#aae26243728a62e6a13ed2008972afb50">More...</a><br/></td></tr> <tr class="separator:aae26243728a62e6a13ed2008972afb50"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a65cd2a527c6abe69a0f37a368ce51cfb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uiter_8h.html#ae84be008356b2c440211befa29f30af0">UCharIteratorPrevious</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structUCharIterator.html#a65cd2a527c6abe69a0f37a368ce51cfb">previous</a></td></tr> <tr class="memdesc:a65cd2a527c6abe69a0f37a368ce51cfb"><td class="mdescLeft"> </td><td class="mdescRight">(public) Decrement the index and return the code unit from there (pre-decrement, like s[–i]), or return U_SENTINEL if there is none (index is at the start). <a href="#a65cd2a527c6abe69a0f37a368ce51cfb">More...</a><br/></td></tr> <tr class="separator:a65cd2a527c6abe69a0f37a368ce51cfb"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a94b7ab71aadd2cbafa7394c1102cdf2f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uiter_8h.html#a80d5b61426ccc309c318963ecadd9fe0">UCharIteratorReserved</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structUCharIterator.html#a94b7ab71aadd2cbafa7394c1102cdf2f">reservedFn</a></td></tr> <tr class="memdesc:a94b7ab71aadd2cbafa7394c1102cdf2f"><td class="mdescLeft"> </td><td class="mdescRight">(public) Reserved for future use. <a href="#a94b7ab71aadd2cbafa7394c1102cdf2f">More...</a><br/></td></tr> <tr class="separator:a94b7ab71aadd2cbafa7394c1102cdf2f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:adbdac3a7450c4b9344aad58b1e72d1b4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uiter_8h.html#ac89c7dfd00ad111aae63f094cc427b5a">UCharIteratorGetState</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structUCharIterator.html#adbdac3a7450c4b9344aad58b1e72d1b4">getState</a></td></tr> <tr class="memdesc:adbdac3a7450c4b9344aad58b1e72d1b4"><td class="mdescLeft"> </td><td class="mdescRight">(public) Return the state of the iterator, to be restored later with <a class="el" href="structUCharIterator.html#ad216d787e1125bc81b49686c7700b52f" title="(public) Restore the iterator state from the state word from a call to getState(). ">setState()</a>. <a href="#adbdac3a7450c4b9344aad58b1e72d1b4">More...</a><br/></td></tr> <tr class="separator:adbdac3a7450c4b9344aad58b1e72d1b4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad216d787e1125bc81b49686c7700b52f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uiter_8h.html#a51424ac3e57c7d9502f84a048186c99a">UCharIteratorSetState</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structUCharIterator.html#ad216d787e1125bc81b49686c7700b52f">setState</a></td></tr> <tr class="memdesc:ad216d787e1125bc81b49686c7700b52f"><td class="mdescLeft"> </td><td class="mdescRight">(public) Restore the iterator state from the state word from a call to <a class="el" href="structUCharIterator.html#adbdac3a7450c4b9344aad58b1e72d1b4" title="(public) Return the state of the iterator, to be restored later with setState(). ">getState()</a>. <a href="#ad216d787e1125bc81b49686c7700b52f">More...</a><br/></td></tr> <tr class="separator:ad216d787e1125bc81b49686c7700b52f"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>C API for code unit iteration. </p> <p>This can be used as a C wrapper around <a class="el" href="classCharacterIterator.html" title="Abstract class that defines an API for iteration on text objects. ">CharacterIterator</a>, <a class="el" href="classReplaceable.html" title="Replaceable is an abstract base class representing a string of characters that supports the replaceme...">Replaceable</a>, or implemented using simple strings, etc.</p> <p>There are two roles for using <a class="el" href="structUCharIterator.html" title="C API for code unit iteration. ">UCharIterator</a>:</p> <p>A "provider" sets the necessary function pointers and controls the "protected" fields of the <a class="el" href="structUCharIterator.html" title="C API for code unit iteration. ">UCharIterator</a> structure. A "provider" passes a <a class="el" href="structUCharIterator.html" title="C API for code unit iteration. ">UCharIterator</a> into C APIs that need a <a class="el" href="structUCharIterator.html" title="C API for code unit iteration. ">UCharIterator</a> as an abstract, flexible string interface.</p> <p>Implementations of such C APIs are "callers" of <a class="el" href="structUCharIterator.html" title="C API for code unit iteration. ">UCharIterator</a> functions; they only use the "public" function pointers and never access the "protected" fields directly.</p> <p>The <a class="el" href="structUCharIterator.html#ac247dee1b3e3e6fec6688f9dcb5bc1c6" title="(public) Return the code unit at the current position, or U_SENTINEL if there is none (index is at th...">current()</a> and <a class="el" href="structUCharIterator.html#aae26243728a62e6a13ed2008972afb50" title="(public) Return the code unit at the current index and increment the index (post-increment, like s[i++]), or return U_SENTINEL if there is none (index is at the limit). ">next()</a> functions only check the current index against the limit, and <a class="el" href="structUCharIterator.html#a65cd2a527c6abe69a0f37a368ce51cfb" title="(public) Decrement the index and return the code unit from there (pre-decrement, like s[–i])...">previous()</a> only checks the current index against the start, to see if the iterator already reached the end of the iteration range.</p> <p>The assumption - in all iterators - is that the index is moved via the API, which means it won't go out of bounds, or the index is modified by user code that knows enough about the iterator implementation to set valid index values.</p> <p><a class="el" href="structUCharIterator.html" title="C API for code unit iteration. ">UCharIterator</a> functions return code unit values 0..0xffff, or U_SENTINEL if the iteration bounds are reached.</p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001129">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl> <p>Definition at line <a class="el" href="uiter_8h_source.html#l00339">339</a> of file <a class="el" href="uiter_8h_source.html">uiter.h</a>.</p> </div><h2 class="groupheader">Field Documentation</h2> <a class="anchor" id="a33f323cfae0faa809f047874d2021fe6"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>* UCharIterator::context</td> </tr> </table> </div><div class="memdoc"> <p>(protected) Pointer to string or wrapped object or similar. </p> <p>Not used by caller. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001139">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl> <p>Definition at line <a class="el" href="uiter_8h_source.html#l00345">345</a> of file <a class="el" href="uiter_8h_source.html">uiter.h</a>.</p> </div> </div> <a class="anchor" id="ac247dee1b3e3e6fec6688f9dcb5bc1c6"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="uiter_8h.html#ae4162b85c1ce61e161e0d6832fb5ae25">UCharIteratorCurrent</a>* UCharIterator::current</td> </tr> </table> </div><div class="memdoc"> <p>(public) Return the code unit at the current position, or U_SENTINEL if there is none (index is at the limit). </p> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="uiter_8h.html#ae4162b85c1ce61e161e0d6832fb5ae25" title="Function type declaration for UCharIterator.current(). ">UCharIteratorCurrent</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001149">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl> <p>Definition at line <a class="el" href="uiter_8h_source.html#l00425">425</a> of file <a class="el" href="uiter_8h_source.html">uiter.h</a>.</p> </div> </div> <a class="anchor" id="a3d8274db3ff99ebb6bb2d0784c9cd7ca"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="uiter_8h.html#a1e20dbf7ee31665308060414ab33896d">UCharIteratorGetIndex</a>* UCharIterator::getIndex</td> </tr> </table> </div><div class="memdoc"> <p>(public) Returns the current position or the start or limit index of the iteration range. </p> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="uiter_8h.html#a1e20dbf7ee31665308060414ab33896d" title="Function type declaration for UCharIterator.getIndex(). ">UCharIteratorGetIndex</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001145">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl> <p>Definition at line <a class="el" href="uiter_8h_source.html#l00388">388</a> of file <a class="el" href="uiter_8h_source.html">uiter.h</a>.</p> </div> </div> <a class="anchor" id="adbdac3a7450c4b9344aad58b1e72d1b4"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="uiter_8h.html#ac89c7dfd00ad111aae63f094cc427b5a">UCharIteratorGetState</a>* UCharIterator::getState</td> </tr> </table> </div><div class="memdoc"> <p>(public) Return the state of the iterator, to be restored later with <a class="el" href="structUCharIterator.html#ad216d787e1125bc81b49686c7700b52f" title="(public) Restore the iterator state from the state word from a call to getState(). ">setState()</a>. </p> <p>This function pointer is NULL if the iterator does not implement it.</p> <dl class="section see"><dt>See Also</dt><dd>UCharIteratorGet </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001153">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl> <p>Definition at line <a class="el" href="uiter_8h_source.html#l00462">462</a> of file <a class="el" href="uiter_8h_source.html">uiter.h</a>.</p> </div> </div> <a class="anchor" id="ac6dc92d309ace93dc07ad9092e807578"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="uiter_8h.html#a8df87a03c91a3e20012949de43c59381">UCharIteratorHasNext</a>* UCharIterator::hasNext</td> </tr> </table> </div><div class="memdoc"> <p>(public) Check if <a class="el" href="structUCharIterator.html#ac247dee1b3e3e6fec6688f9dcb5bc1c6" title="(public) Return the code unit at the current position, or U_SENTINEL if there is none (index is at th...">current()</a> and <a class="el" href="structUCharIterator.html#aae26243728a62e6a13ed2008972afb50" title="(public) Return the code unit at the current index and increment the index (post-increment, like s[i++]), or return U_SENTINEL if there is none (index is at the limit). ">next()</a> can still return another code unit. </p> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="uiter_8h.html#a8df87a03c91a3e20012949de43c59381" title="Function type declaration for UCharIterator.hasNext(). ">UCharIteratorHasNext</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001147">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl> <p>Definition at line <a class="el" href="uiter_8h_source.html#l00408">408</a> of file <a class="el" href="uiter_8h_source.html">uiter.h</a>.</p> </div> </div> <a class="anchor" id="a5a5d536cc7275cdba8b6b2487a4f75a6"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="uiter_8h.html#a238ebeaecab0965abb28c6732b151ed1">UCharIteratorHasPrevious</a>* UCharIterator::hasPrevious</td> </tr> </table> </div><div class="memdoc"> <p>(public) Check if <a class="el" href="structUCharIterator.html#a65cd2a527c6abe69a0f37a368ce51cfb" title="(public) Decrement the index and return the code unit from there (pre-decrement, like s[–i])...">previous()</a> can still return another code unit. </p> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="uiter_8h.html#a238ebeaecab0965abb28c6732b151ed1" title="Function type declaration for UCharIterator.hasPrevious(). ">UCharIteratorHasPrevious</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001148">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl> <p>Definition at line <a class="el" href="uiter_8h_source.html#l00416">416</a> of file <a class="el" href="uiter_8h_source.html">uiter.h</a>.</p> </div> </div> <a class="anchor" id="a1dcd0ca0875b1be0ba2f399c6920e6fa"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int32_t UCharIterator::index</td> </tr> </table> </div><div class="memdoc"> <p>(protected) Current index or similar. </p> <p>Not used by caller. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001142">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl> <p>Definition at line <a class="el" href="uiter_8h_source.html#l00366">366</a> of file <a class="el" href="uiter_8h_source.html">uiter.h</a>.</p> </div> </div> <a class="anchor" id="a52856eb702c1198d0d49e8a4de0d8629"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int32_t UCharIterator::length</td> </tr> </table> </div><div class="memdoc"> <p>(protected) Length of string or similar. </p> <p>Not used by caller. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001140">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl> <p>Definition at line <a class="el" href="uiter_8h_source.html#l00352">352</a> of file <a class="el" href="uiter_8h_source.html">uiter.h</a>.</p> </div> </div> <a class="anchor" id="a68042932fad8301133ef8bc82f901305"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int32_t UCharIterator::limit</td> </tr> </table> </div><div class="memdoc"> <p>(protected) Limit index or similar. </p> <p>Not used by caller. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001143">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl> <p>Definition at line <a class="el" href="uiter_8h_source.html#l00373">373</a> of file <a class="el" href="uiter_8h_source.html">uiter.h</a>.</p> </div> </div> <a class="anchor" id="a085355b29925cbf9170e364e9aef7bc5"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="uiter_8h.html#a685b93cd5dd64a1c28ff243de0970e66">UCharIteratorMove</a>* UCharIterator::move</td> </tr> </table> </div><div class="memdoc"> <p>(public) Moves the current position relative to the start or limit of the iteration range, or relative to the current position itself. </p> <p>The movement is expressed in numbers of code units forward or backward by specifying a positive or negative delta.</p> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="uiter_8h.html#a685b93cd5dd64a1c28ff243de0970e66" title="Function type declaration for UCharIterator.move(). ">UCharIteratorMove</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001146">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl> <p>Definition at line <a class="el" href="uiter_8h_source.html#l00399">399</a> of file <a class="el" href="uiter_8h_source.html">uiter.h</a>.</p> </div> </div> <a class="anchor" id="aae26243728a62e6a13ed2008972afb50"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="uiter_8h.html#a8e9ad76bae5c0639e7c2dde67982ed73">UCharIteratorNext</a>* UCharIterator::next</td> </tr> </table> </div><div class="memdoc"> <p>(public) Return the code unit at the current index and increment the index (post-increment, like s[i++]), or return U_SENTINEL if there is none (index is at the limit). </p> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="uiter_8h.html#a8e9ad76bae5c0639e7c2dde67982ed73" title="Function type declaration for UCharIterator.next(). ">UCharIteratorNext</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001150">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl> <p>Definition at line <a class="el" href="uiter_8h_source.html#l00435">435</a> of file <a class="el" href="uiter_8h_source.html">uiter.h</a>.</p> </div> </div> <a class="anchor" id="a65cd2a527c6abe69a0f37a368ce51cfb"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="uiter_8h.html#ae84be008356b2c440211befa29f30af0">UCharIteratorPrevious</a>* UCharIterator::previous</td> </tr> </table> </div><div class="memdoc"> <p>(public) Decrement the index and return the code unit from there (pre-decrement, like s[–i]), or return U_SENTINEL if there is none (index is at the start). </p> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="uiter_8h.html#ae84be008356b2c440211befa29f30af0" title="Function type declaration for UCharIterator.previous(). ">UCharIteratorPrevious</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001151">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl> <p>Definition at line <a class="el" href="uiter_8h_source.html#l00445">445</a> of file <a class="el" href="uiter_8h_source.html">uiter.h</a>.</p> </div> </div> <a class="anchor" id="a5d28abc1c284a02d887651c0594d2181"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int32_t UCharIterator::reservedField</td> </tr> </table> </div><div class="memdoc"> <p>(protected) Used by UTF-8 iterators and possibly others. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001144">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl> <p>Definition at line <a class="el" href="uiter_8h_source.html#l00379">379</a> of file <a class="el" href="uiter_8h_source.html">uiter.h</a>.</p> </div> </div> <a class="anchor" id="a94b7ab71aadd2cbafa7394c1102cdf2f"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="uiter_8h.html#a80d5b61426ccc309c318963ecadd9fe0">UCharIteratorReserved</a>* UCharIterator::reservedFn</td> </tr> </table> </div><div class="memdoc"> <p>(public) Reserved for future use. </p> <p>Currently NULL.</p> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="uiter_8h.html#a80d5b61426ccc309c318963ecadd9fe0" title="Function type declaration for UCharIterator.reservedFn(). ">UCharIteratorReserved</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001152">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl> <p>Definition at line <a class="el" href="uiter_8h_source.html#l00453">453</a> of file <a class="el" href="uiter_8h_source.html">uiter.h</a>.</p> </div> </div> <a class="anchor" id="ad216d787e1125bc81b49686c7700b52f"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="uiter_8h.html#a51424ac3e57c7d9502f84a048186c99a">UCharIteratorSetState</a>* UCharIterator::setState</td> </tr> </table> </div><div class="memdoc"> <p>(public) Restore the iterator state from the state word from a call to <a class="el" href="structUCharIterator.html#adbdac3a7450c4b9344aad58b1e72d1b4" title="(public) Return the state of the iterator, to be restored later with setState(). ">getState()</a>. </p> <p>This function pointer is NULL if the iterator does not implement it.</p> <dl class="section see"><dt>See Also</dt><dd>UCharIteratorSet </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001154">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl> <p>Definition at line <a class="el" href="uiter_8h_source.html#l00472">472</a> of file <a class="el" href="uiter_8h_source.html">uiter.h</a>.</p> </div> </div> <a class="anchor" id="acbc6d2bf546d7e98744e2f0d776bec72"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int32_t UCharIterator::start</td> </tr> </table> </div><div class="memdoc"> <p>(protected) Start index or similar. </p> <p>Not used by caller. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable001141">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl> <p>Definition at line <a class="el" href="uiter_8h_source.html#l00359">359</a> of file <a class="el" href="uiter_8h_source.html">uiter.h</a>.</p> </div> </div> <hr/>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="uiter_8h_source.html">uiter.h</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.5 </small></address> </body> </html>