<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>ICU 3.8: UTransPosition Struct Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.1 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li id="current"><a href="classes.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li> <form action="search.php" method="get"> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td><label> <u>S</u>earch for </label></td> <td><input type="text" name="query" value="" size="20" accesskey="s"/></td> </tr> </table> </form> </li> </ul></div> <div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical List</span></a></li> <li><a href="annotated.html"><span>Data Structures</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> <h1>UTransPosition Struct Reference</h1><!-- doxytag: class="UTransPosition" -->Position structure for <a class="el" href="utrans_8h.html#c22b8fe64729a6c99d750020946adad2">utrans_transIncremental()</a> incremental transliteration. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="utrans_8h-source.html">utrans.h</a>></code> <p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Data Fields</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structUTransPosition.html#c0b101b915a80d9cad00974c66e28c40">contextStart</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Beginning index, inclusive, of the context to be considered for a transliteration operation. <a href="#c0b101b915a80d9cad00974c66e28c40"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structUTransPosition.html#78d09b71320d0b9a1e7720bda8420372">contextLimit</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Ending index, exclusive, of the context to be considered for a transliteration operation. <a href="#78d09b71320d0b9a1e7720bda8420372"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structUTransPosition.html#26113cfb9aa6fd5457e6e9e095f0fc32">start</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Beginning index, inclusive, of the text to be transliteratd. <a href="#26113cfb9aa6fd5457e6e9e095f0fc32"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structUTransPosition.html#ce64783d9d1016f2960cda02b30dbd03">limit</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Ending index, exclusive, of the text to be transliteratd. <a href="#ce64783d9d1016f2960cda02b30dbd03"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Position structure for <a class="el" href="utrans_8h.html#c22b8fe64729a6c99d750020946adad2">utrans_transIncremental()</a> incremental transliteration. <p> This structure defines two substrings of the text being transliterated. The first region, [contextStart, contextLimit), defines what characters the transliterator will read as context. The second region, [start, limit), defines what characters will actually be transliterated. The second region should be a subset of the first.<p> After a transliteration operation, some of the indices in this structure will be modified. See the field descriptions for details.<p> contextStart <= start <= limit <= contextLimit<p> Note: All index values in this structure must be at code point boundaries. That is, none of them may occur between two code units of a surrogate pair. If any index does split a surrogate pair, results are unspecified.<p> <dl compact><dt><b><a class="el" href="stable.html#_stable003302">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p> <p> Definition at line <a class="el" href="utrans_8h-source.html#l00118">118</a> of file <a class="el" href="utrans_8h-source.html">utrans.h</a>.<hr><h2>Field Documentation</h2> <a class="anchor" name="c0b101b915a80d9cad00974c66e28c40"></a><!-- doxytag: member="UTransPosition::contextStart" ref="c0b101b915a80d9cad00974c66e28c40" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> <a class="el" href="structUTransPosition.html#c0b101b915a80d9cad00974c66e28c40">UTransPosition::contextStart</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Beginning index, inclusive, of the context to be considered for a transliteration operation. <p> The transliterator will ignore anything before this index. INPUT/OUTPUT parameter: This parameter is updated by a transliteration operation to reflect the maximum amount of antecontext needed by a transliterator. <dl compact><dt><b><a class="el" href="stable.html#_stable003317">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> <p> Definition at line <a class="el" href="utrans_8h-source.html#l00128">128</a> of file <a class="el" href="utrans_8h-source.html">utrans.h</a>. </div> </div><p> <a class="anchor" name="78d09b71320d0b9a1e7720bda8420372"></a><!-- doxytag: member="UTransPosition::contextLimit" ref="78d09b71320d0b9a1e7720bda8420372" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> <a class="el" href="structUTransPosition.html#78d09b71320d0b9a1e7720bda8420372">UTransPosition::contextLimit</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Ending index, exclusive, of the context to be considered for a transliteration operation. <p> The transliterator will ignore anything at or after this index. INPUT/OUTPUT parameter: This parameter is updated to reflect changes in the length of the text, but points to the same logical position in the text. <dl compact><dt><b><a class="el" href="stable.html#_stable003318">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> <p> Definition at line <a class="el" href="utrans_8h-source.html#l00138">138</a> of file <a class="el" href="utrans_8h-source.html">utrans.h</a>. </div> </div><p> <a class="anchor" name="26113cfb9aa6fd5457e6e9e095f0fc32"></a><!-- doxytag: member="UTransPosition::start" ref="26113cfb9aa6fd5457e6e9e095f0fc32" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> <a class="el" href="structUTransPosition.html#26113cfb9aa6fd5457e6e9e095f0fc32">UTransPosition::start</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Beginning index, inclusive, of the text to be transliteratd. <p> INPUT/OUTPUT parameter: This parameter is advanced past characters that have already been transliterated by a transliteration operation. <dl compact><dt><b><a class="el" href="stable.html#_stable003319">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> <p> Definition at line <a class="el" href="utrans_8h-source.html#l00147">147</a> of file <a class="el" href="utrans_8h-source.html">utrans.h</a>. </div> </div><p> <a class="anchor" name="ce64783d9d1016f2960cda02b30dbd03"></a><!-- doxytag: member="UTransPosition::limit" ref="ce64783d9d1016f2960cda02b30dbd03" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> <a class="el" href="structUTransPosition.html#ce64783d9d1016f2960cda02b30dbd03">UTransPosition::limit</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Ending index, exclusive, of the text to be transliteratd. <p> INPUT/OUTPUT parameter: This parameter is updated to reflect changes in the length of the text, but points to the same logical position in the text. <dl compact><dt><b><a class="el" href="stable.html#_stable003320">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> <p> Definition at line <a class="el" href="utrans_8h-source.html#l00156">156</a> of file <a class="el" href="utrans_8h-source.html">utrans.h</a>. </div> </div><p> <hr>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="utrans_8h-source.html">utrans.h</a></ul> <hr size="1"><address style="align: right;"><small>Generated on Fri Sep 14 12:59:51 2007 for ICU 3.8 by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> </body> </html>