Sophie

Sophie

distrib > Mageia > 6 > armv5tl > media > core-release > by-pkgid > 3a4e91bde08970529a0aa07935652fe8 > files > 875

icu-doc-58.2-3.mga6.noarch.rpm

<!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.11"/>
<title>ICU 58.2: 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="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 id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ICU 58.2
   &#160;<span id="projectnumber">58.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
  <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><a href="namespaces.html"><span>Namespaces</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>
    </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>
</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 &lt;<a class="el" href="uiter_8h_source.html">uiter.h</a>&gt;</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 void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structUCharIterator.html#a33f323cfae0faa809f047874d2021fe6">context</a></td></tr>
<tr class="memdesc:a33f323cfae0faa809f047874d2021fe6"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
<tr class="memitem:a52856eb702c1198d0d49e8a4de0d8629"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structUCharIterator.html#a52856eb702c1198d0d49e8a4de0d8629">length</a></td></tr>
<tr class="memdesc:a52856eb702c1198d0d49e8a4de0d8629"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
<tr class="memitem:acbc6d2bf546d7e98744e2f0d776bec72"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structUCharIterator.html#acbc6d2bf546d7e98744e2f0d776bec72">start</a></td></tr>
<tr class="memdesc:acbc6d2bf546d7e98744e2f0d776bec72"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
<tr class="memitem:a1dcd0ca0875b1be0ba2f399c6920e6fa"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structUCharIterator.html#a1dcd0ca0875b1be0ba2f399c6920e6fa">index</a></td></tr>
<tr class="memdesc:a1dcd0ca0875b1be0ba2f399c6920e6fa"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
<tr class="memitem:a68042932fad8301133ef8bc82f901305"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structUCharIterator.html#a68042932fad8301133ef8bc82f901305">limit</a></td></tr>
<tr class="memdesc:a68042932fad8301133ef8bc82f901305"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
<tr class="memitem:a5d28abc1c284a02d887651c0594d2181"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structUCharIterator.html#a5d28abc1c284a02d887651c0594d2181">reservedField</a></td></tr>
<tr class="memdesc:a5d28abc1c284a02d887651c0594d2181"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
<tr class="memitem:a3d8274db3ff99ebb6bb2d0784c9cd7ca"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uiter_8h.html#a2c5cdcc035b270eecd9fefd3a8e61eb6">UCharIteratorGetIndex</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structUCharIterator.html#a3d8274db3ff99ebb6bb2d0784c9cd7ca">getIndex</a></td></tr>
<tr class="memdesc:a3d8274db3ff99ebb6bb2d0784c9cd7ca"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
<tr class="memitem:a085355b29925cbf9170e364e9aef7bc5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uiter_8h.html#a96e7ff26382bff30b61e04129dcba777">UCharIteratorMove</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structUCharIterator.html#a085355b29925cbf9170e364e9aef7bc5">move</a></td></tr>
<tr class="memdesc:a085355b29925cbf9170e364e9aef7bc5"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
<tr class="memitem:ac6dc92d309ace93dc07ad9092e807578"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uiter_8h.html#aa64ffc5487dbe1d707c3761bf49ea290">UCharIteratorHasNext</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structUCharIterator.html#ac6dc92d309ace93dc07ad9092e807578">hasNext</a></td></tr>
<tr class="memdesc:ac6dc92d309ace93dc07ad9092e807578"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
<tr class="memitem:a5a5d536cc7275cdba8b6b2487a4f75a6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uiter_8h.html#a2972212270826ec6cc2469e7e757a99b">UCharIteratorHasPrevious</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structUCharIterator.html#a5a5d536cc7275cdba8b6b2487a4f75a6">hasPrevious</a></td></tr>
<tr class="memdesc:a5a5d536cc7275cdba8b6b2487a4f75a6"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
<tr class="memitem:ac247dee1b3e3e6fec6688f9dcb5bc1c6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uiter_8h.html#a1f6bcc32677477c92a0ca50c9758d209">UCharIteratorCurrent</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structUCharIterator.html#ac247dee1b3e3e6fec6688f9dcb5bc1c6">current</a></td></tr>
<tr class="memdesc:ac247dee1b3e3e6fec6688f9dcb5bc1c6"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
<tr class="memitem:aae26243728a62e6a13ed2008972afb50"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uiter_8h.html#a376c5501f8368974019bd238df5bf25f">UCharIteratorNext</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structUCharIterator.html#aae26243728a62e6a13ed2008972afb50">next</a></td></tr>
<tr class="memdesc:aae26243728a62e6a13ed2008972afb50"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
<tr class="memitem:a65cd2a527c6abe69a0f37a368ce51cfb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uiter_8h.html#aa264f21cccaadf857e2ffe8466275305">UCharIteratorPrevious</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structUCharIterator.html#a65cd2a527c6abe69a0f37a368ce51cfb">previous</a></td></tr>
<tr class="memdesc:a65cd2a527c6abe69a0f37a368ce51cfb"><td class="mdescLeft">&#160;</td><td class="mdescRight">(public) Decrement the index and return the code unit from there (pre-decrement, like s[&ndash;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">&#160;</td></tr>
<tr class="memitem:a94b7ab71aadd2cbafa7394c1102cdf2f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uiter_8h.html#acafec86a399b523670cc7575b7c070f6">UCharIteratorReserved</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structUCharIterator.html#a94b7ab71aadd2cbafa7394c1102cdf2f">reservedFn</a></td></tr>
<tr class="memdesc:a94b7ab71aadd2cbafa7394c1102cdf2f"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
<tr class="memitem:adbdac3a7450c4b9344aad58b1e72d1b4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uiter_8h.html#a7e5c6a58e984e535dee8f7a76be33598">UCharIteratorGetState</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structUCharIterator.html#adbdac3a7450c4b9344aad58b1e72d1b4">getState</a></td></tr>
<tr class="memdesc:adbdac3a7450c4b9344aad58b1e72d1b4"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
<tr class="memitem:ad216d787e1125bc81b49686c7700b52f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uiter_8h.html#a092db422640fc07b956d72f0f03fe9c3">UCharIteratorSetState</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structUCharIterator.html#ad216d787e1125bc81b49686c7700b52f">setState</a></td></tr>
<tr class="memdesc:ad216d787e1125bc81b49686c7700b52f"><td class="mdescLeft">&#160;</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">&#160;</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 CharacterIterator, Replaceable, 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#_stable001787">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl>

<p>Definition at line <a class="el" href="uiter_8h_source.html#l00341">341</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 void* 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#_stable001799">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl>

<p>Definition at line <a class="el" href="uiter_8h_source.html#l00347">347</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#a1f6bcc32677477c92a0ca50c9758d209">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#a1f6bcc32677477c92a0ca50c9758d209" title="Function type declaration for UCharIterator.current(). ">UCharIteratorCurrent</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable001809">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl>

<p>Definition at line <a class="el" href="uiter_8h_source.html#l00427">427</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#a2c5cdcc035b270eecd9fefd3a8e61eb6">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#a2c5cdcc035b270eecd9fefd3a8e61eb6" title="Function type declaration for UCharIterator.getIndex(). ">UCharIteratorGetIndex</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable001805">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl>

<p>Definition at line <a class="el" href="uiter_8h_source.html#l00390">390</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#a7e5c6a58e984e535dee8f7a76be33598">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#_stable001813">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

<p>Definition at line <a class="el" href="uiter_8h_source.html#l00464">464</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#aa64ffc5487dbe1d707c3761bf49ea290">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#aa64ffc5487dbe1d707c3761bf49ea290" title="Function type declaration for UCharIterator.hasNext(). ">UCharIteratorHasNext</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable001807">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl>

<p>Definition at line <a class="el" href="uiter_8h_source.html#l00410">410</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#a2972212270826ec6cc2469e7e757a99b">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#a2972212270826ec6cc2469e7e757a99b" title="Function type declaration for UCharIterator.hasPrevious(). ">UCharIteratorHasPrevious</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable001808">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl>

<p>Definition at line <a class="el" href="uiter_8h_source.html#l00418">418</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#_stable001802">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl>

<p>Definition at line <a class="el" href="uiter_8h_source.html#l00368">368</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#_stable001800">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl>

<p>Definition at line <a class="el" href="uiter_8h_source.html#l00354">354</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#_stable001803">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl>

<p>Definition at line <a class="el" href="uiter_8h_source.html#l00375">375</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#a96e7ff26382bff30b61e04129dcba777">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#a96e7ff26382bff30b61e04129dcba777" title="Function type declaration for UCharIterator.move(). ">UCharIteratorMove</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable001806">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl>

<p>Definition at line <a class="el" href="uiter_8h_source.html#l00401">401</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#a376c5501f8368974019bd238df5bf25f">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#a376c5501f8368974019bd238df5bf25f" title="Function type declaration for UCharIterator.next(). ">UCharIteratorNext</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable001810">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl>

<p>Definition at line <a class="el" href="uiter_8h_source.html#l00437">437</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#aa264f21cccaadf857e2ffe8466275305">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[&ndash;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#aa264f21cccaadf857e2ffe8466275305" title="Function type declaration for UCharIterator.previous(). ">UCharIteratorPrevious</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable001811">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl>

<p>Definition at line <a class="el" href="uiter_8h_source.html#l00447">447</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#_stable001804">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl>

<p>Definition at line <a class="el" href="uiter_8h_source.html#l00381">381</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#acafec86a399b523670cc7575b7c070f6">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#acafec86a399b523670cc7575b7c070f6" title="Function type declaration for UCharIterator.reservedFn(). ">UCharIteratorReserved</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable001812">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl>

<p>Definition at line <a class="el" href="uiter_8h_source.html#l00455">455</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#a092db422640fc07b956d72f0f03fe9c3">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#_stable001814">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

<p>Definition at line <a class="el" href="uiter_8h_source.html#l00474">474</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#_stable001801">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl>

<p>Definition at line <a class="el" href="uiter_8h_source.html#l00361">361</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 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>