<!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: UTransPosition 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  <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 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><a href="namespaces.html"><span>Namespaces</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> </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> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-attribs">Data Fields</a> </div> <div class="headertitle"> <div class="title">UTransPosition Struct Reference</div> </div> </div><!--header--> <div class="contents"> <p>Position structure for <a class="el" href="utrans_8h.html#ac22b8fe64729a6c99d750020946adad2" title="Transliterate the portion of the UReplaceable text buffer that can be transliterated unambiguosly...">utrans_transIncremental()</a> incremental transliteration. <a href="structUTransPosition.html#details">More...</a></p> <p><code>#include <<a class="el" href="utrans_8h_source.html">utrans.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:ac0b101b915a80d9cad00974c66e28c40"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structUTransPosition.html#ac0b101b915a80d9cad00974c66e28c40">contextStart</a></td></tr> <tr class="memdesc:ac0b101b915a80d9cad00974c66e28c40"><td class="mdescLeft"> </td><td class="mdescRight">Beginning index, inclusive, of the context to be considered for a transliteration operation. <a href="#ac0b101b915a80d9cad00974c66e28c40">More...</a><br /></td></tr> <tr class="separator:ac0b101b915a80d9cad00974c66e28c40"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a78d09b71320d0b9a1e7720bda8420372"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structUTransPosition.html#a78d09b71320d0b9a1e7720bda8420372">contextLimit</a></td></tr> <tr class="memdesc:a78d09b71320d0b9a1e7720bda8420372"><td class="mdescLeft"> </td><td class="mdescRight">Ending index, exclusive, of the context to be considered for a transliteration operation. <a href="#a78d09b71320d0b9a1e7720bda8420372">More...</a><br /></td></tr> <tr class="separator:a78d09b71320d0b9a1e7720bda8420372"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a26113cfb9aa6fd5457e6e9e095f0fc32"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structUTransPosition.html#a26113cfb9aa6fd5457e6e9e095f0fc32">start</a></td></tr> <tr class="memdesc:a26113cfb9aa6fd5457e6e9e095f0fc32"><td class="mdescLeft"> </td><td class="mdescRight">Beginning index, inclusive, of the text to be transliteratd. <a href="#a26113cfb9aa6fd5457e6e9e095f0fc32">More...</a><br /></td></tr> <tr class="separator:a26113cfb9aa6fd5457e6e9e095f0fc32"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ace64783d9d1016f2960cda02b30dbd03"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structUTransPosition.html#ace64783d9d1016f2960cda02b30dbd03">limit</a></td></tr> <tr class="memdesc:ace64783d9d1016f2960cda02b30dbd03"><td class="mdescLeft"> </td><td class="mdescRight">Ending index, exclusive, of the text to be transliteratd. <a href="#ace64783d9d1016f2960cda02b30dbd03">More...</a><br /></td></tr> <tr class="separator:ace64783d9d1016f2960cda02b30dbd03"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Position structure for <a class="el" href="utrans_8h.html#ac22b8fe64729a6c99d750020946adad2" title="Transliterate the portion of the UReplaceable text buffer that can be transliterated unambiguosly...">utrans_transIncremental()</a> incremental transliteration. </p> <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> <p>After a transliteration operation, some of the indices in this structure will be modified. See the field descriptions for details.</p> <p>contextStart <= start <= limit <= contextLimit</p> <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 class="stable"><dt><b><a class="el" href="stable.html#_stable005620">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Definition at line <a class="el" href="utrans_8h_source.html#l00122">122</a> of file <a class="el" href="utrans_8h_source.html">utrans.h</a>.</p> </div><h2 class="groupheader">Field Documentation</h2> <a class="anchor" id="a78d09b71320d0b9a1e7720bda8420372"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int32_t UTransPosition::contextLimit</td> </tr> </table> </div><div class="memdoc"> <p>Ending index, exclusive, of the context to be considered for a transliteration operation. </p> <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. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable005638">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> <p>Definition at line <a class="el" href="utrans_8h_source.html#l00142">142</a> of file <a class="el" href="utrans_8h_source.html">utrans.h</a>.</p> </div> </div> <a class="anchor" id="ac0b101b915a80d9cad00974c66e28c40"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int32_t UTransPosition::contextStart</td> </tr> </table> </div><div class="memdoc"> <p>Beginning index, inclusive, of the context to be considered for a transliteration operation. </p> <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. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable005637">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> <p>Definition at line <a class="el" href="utrans_8h_source.html#l00132">132</a> of file <a class="el" href="utrans_8h_source.html">utrans.h</a>.</p> </div> </div> <a class="anchor" id="ace64783d9d1016f2960cda02b30dbd03"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int32_t UTransPosition::limit</td> </tr> </table> </div><div class="memdoc"> <p>Ending index, exclusive, of the text to be transliteratd. </p> <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. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable005640">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> <p>Definition at line <a class="el" href="utrans_8h_source.html#l00160">160</a> of file <a class="el" href="utrans_8h_source.html">utrans.h</a>.</p> </div> </div> <a class="anchor" id="a26113cfb9aa6fd5457e6e9e095f0fc32"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int32_t UTransPosition::start</td> </tr> </table> </div><div class="memdoc"> <p>Beginning index, inclusive, of the text to be transliteratd. </p> <p>INPUT/OUTPUT parameter: This parameter is advanced past characters that have already been transliterated by a transliteration operation. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable005639">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> <p>Definition at line <a class="el" href="utrans_8h_source.html#l00151">151</a> of file <a class="el" href="utrans_8h_source.html">utrans.h</a>.</p> </div> </div> <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></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.11 </small></address> </body> </html>