Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > f51238514e2abe817779ad2fe01b0759 > files > 784

icu-doc-4.4-2.1mdv2010.2.i586.rpm

<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!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"/>
<title>ICU 4.4: utext.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.6.1 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.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)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<h1>utext.h</h1><a href="utext_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment">*******************************************************************************</span>
<a name="l00003"></a>00003 <span class="comment">*</span>
<a name="l00004"></a>00004 <span class="comment">*   Copyright (C) 2004-2010, International Business Machines</span>
<a name="l00005"></a>00005 <span class="comment">*   Corporation and others.  All Rights Reserved.</span>
<a name="l00006"></a>00006 <span class="comment">*</span>
<a name="l00007"></a>00007 <span class="comment">*******************************************************************************</span>
<a name="l00008"></a>00008 <span class="comment">*   file name:  utext.h</span>
<a name="l00009"></a>00009 <span class="comment">*   encoding:   US-ASCII</span>
<a name="l00010"></a>00010 <span class="comment">*   tab size:   8 (not used)</span>
<a name="l00011"></a>00011 <span class="comment">*   indentation:4</span>
<a name="l00012"></a>00012 <span class="comment">*</span>
<a name="l00013"></a>00013 <span class="comment">*   created on: 2004oct06</span>
<a name="l00014"></a>00014 <span class="comment">*   created by: Markus W. Scherer</span>
<a name="l00015"></a>00015 <span class="comment">*/</span>
<a name="l00016"></a>00016 
<a name="l00017"></a>00017 <span class="preprocessor">#ifndef __UTEXT_H__</span>
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define __UTEXT_H__</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span>
<a name="l00138"></a>00138 <span class="preprocessor">#include &quot;<a class="code" href="utypes_8h.html" title="Basic definitions for ICU, for both C and C++ APIs.">unicode/utypes.h</a>&quot;</span>
<a name="l00139"></a>00139 <span class="preprocessor">#include &quot;<a class="code" href="uchar_8h.html" title="C API: Unicode Properties.">unicode/uchar.h</a>&quot;</span>
<a name="l00140"></a>00140 <span class="preprocessor">#if U_SHOW_CPLUSPLUS_API</span>
<a name="l00141"></a>00141 <span class="preprocessor"></span><span class="preprocessor">#include &quot;<a class="code" href="localpointer_8h.html" title="C++ API: &amp;quot;Smart pointers&amp;quot; for use with and in ICU4C C++ code.">unicode/localpointer.h</a>&quot;</span>
<a name="l00142"></a>00142 <span class="preprocessor">#include &quot;<a class="code" href="rep_8h.html" title="C++ API: Replaceable String.">unicode/rep.h</a>&quot;</span>
<a name="l00143"></a>00143 <span class="preprocessor">#include &quot;<a class="code" href="unistr_8h.html" title="C++ API: Unicode String.">unicode/unistr.h</a>&quot;</span>
<a name="l00144"></a>00144 <span class="preprocessor">#include &quot;<a class="code" href="chariter_8h.html" title="C++ API: Character Iterator.">unicode/chariter.h</a>&quot;</span>
<a name="l00145"></a>00145 <span class="preprocessor">#endif</span>
<a name="l00146"></a>00146 <span class="preprocessor"></span>
<a name="l00147"></a>00147 
<a name="l00148"></a>00148 <a class="code" href="umachine_8h.html#a82c853d86803ab75c89267be54fbac6a" title="This is used to begin a declaration of a library private ICU C API.">U_CDECL_BEGIN</a>
<a name="l00149"></a>00149 
<a name="l00150"></a>00150 <span class="keyword">struct </span><a class="code" href="structUText.html" title="UText struct.">UText</a>;
<a name="l00151"></a><a class="code" href="utext_8h.html#a8da22111033cc0c063d89cae348ec1e4">00151</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structUText.html" title="UText struct.">UText</a> <a class="code" href="structUText.html" title="UText struct.">UText</a>; 
<a name="l00154"></a>00154 <span class="comment">/***************************************************************************************</span>
<a name="l00155"></a>00155 <span class="comment"> *</span>
<a name="l00156"></a>00156 <span class="comment"> *   C Functions for creating UText wrappers around various kinds of text strings.</span>
<a name="l00157"></a>00157 <span class="comment"> *</span>
<a name="l00158"></a>00158 <span class="comment"> ****************************************************************************************/</span>
<a name="l00159"></a>00159 
<a name="l00160"></a>00160 
<a name="l00181"></a>00181 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <a class="code" href="structUText.html" title="UText struct.">UText</a> * <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00182"></a>00182 <a class="code" href="utext_8h.html#a303eb28b0f98498dfcb063e05ab2695c" title="Close function for UText instances.">utext_close</a>(<a class="code" href="structUText.html" title="UText struct.">UText</a> *ut);
<a name="l00183"></a>00183 
<a name="l00184"></a>00184 <span class="preprocessor">#if U_SHOW_CPLUSPLUS_API</span>
<a name="l00185"></a>00185 <span class="preprocessor"></span>
<a name="l00186"></a>00186 <a class="code" href="uversion_8h.html#a7d9374e037299886d4192b763b4c5e8b" title="This is used to begin a declaration of a public ICU C++ API.">U_NAMESPACE_BEGIN</a>
<a name="l00187"></a>00187 
<a name="l00197"></a>00197 U_DEFINE_LOCAL_OPEN_POINTER(LocalUTextPointer, <a class="code" href="structUText.html" title="UText struct.">UText</a>, <a class="code" href="utext_8h.html#a303eb28b0f98498dfcb063e05ab2695c" title="Close function for UText instances.">utext_close</a>);
<a name="l00198"></a>00198 
<a name="l00199"></a>00199 <a class="code" href="uversion_8h.html#a3da1f00f3b02976ac53c014a3e4c0933" title="This is used to end a declaration of a public ICU C++ API.">U_NAMESPACE_END</a>
<a name="l00200"></a>00200 
<a name="l00201"></a>00201 <span class="preprocessor">#endif</span>
<a name="l00202"></a>00202 <span class="preprocessor"></span>
<a name="l00224"></a>00224 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <a class="code" href="structUText.html" title="UText struct.">UText</a> * <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00225"></a>00225 <a class="code" href="utext_8h.html#a32e9e14644d140c3501a7a09e7ad5864" title="Open a read-only UText implementation for UTF-8 strings.">utext_openUTF8</a>(<a class="code" href="structUText.html" title="UText struct.">UText</a> *ut, <span class="keyword">const</span> <span class="keywordtype">char</span> *s, int64_t length, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status);
<a name="l00226"></a>00226 
<a name="l00227"></a>00227 
<a name="l00242"></a>00242 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <a class="code" href="structUText.html" title="UText struct.">UText</a> * <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00243"></a>00243 <a class="code" href="utext_8h.html#adf311525bdd2a7f155bbe5cbb4c4de15" title="Open a read-only UText for UChar * string.">utext_openUChars</a>(<a class="code" href="structUText.html" title="UText struct.">UText</a> *ut, <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a> *s, int64_t length, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status);
<a name="l00244"></a>00244 
<a name="l00245"></a>00245 
<a name="l00246"></a>00246 <span class="preprocessor">#if U_SHOW_CPLUSPLUS_API</span>
<a name="l00247"></a>00247 <span class="preprocessor"></span>
<a name="l00259"></a>00259 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <a class="code" href="structUText.html" title="UText struct.">UText</a> * <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00260"></a>00260 utext_openUnicodeString(<a class="code" href="structUText.html" title="UText struct.">UText</a> *ut, <a class="code" href="uversion_8h.html#a398d471a6b925791d52b72d7bb700bdd" title="This is used to qualify that a function or class is part of the public ICU C++ API...">U_NAMESPACE_QUALIFIER</a> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> *s, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status);
<a name="l00261"></a>00261 
<a name="l00262"></a>00262 
<a name="l00275"></a>00275 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <a class="code" href="structUText.html" title="UText struct.">UText</a> * <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00276"></a>00276 utext_openConstUnicodeString(<a class="code" href="structUText.html" title="UText struct.">UText</a> *ut, <span class="keyword">const</span> <a class="code" href="uversion_8h.html#a398d471a6b925791d52b72d7bb700bdd" title="This is used to qualify that a function or class is part of the public ICU C++ API...">U_NAMESPACE_QUALIFIER</a> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> *s, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status);
<a name="l00277"></a>00277 
<a name="l00278"></a>00278 
<a name="l00291"></a>00291 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <a class="code" href="structUText.html" title="UText struct.">UText</a> * <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00292"></a>00292 utext_openReplaceable(<a class="code" href="structUText.html" title="UText struct.">UText</a> *ut, <a class="code" href="uversion_8h.html#a398d471a6b925791d52b72d7bb700bdd" title="This is used to qualify that a function or class is part of the public ICU C++ API...">U_NAMESPACE_QUALIFIER</a> <a class="code" href="classReplaceable.html" title="Replaceable is an abstract base class representing a string of characters that supports...">Replaceable</a> *rep, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status);
<a name="l00293"></a>00293 
<a name="l00306"></a>00306 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <a class="code" href="structUText.html" title="UText struct.">UText</a> * <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00307"></a>00307 utext_openCharacterIterator(<a class="code" href="structUText.html" title="UText struct.">UText</a> *ut, <a class="code" href="uversion_8h.html#a398d471a6b925791d52b72d7bb700bdd" title="This is used to qualify that a function or class is part of the public ICU C++ API...">U_NAMESPACE_QUALIFIER</a> <a class="code" href="classCharacterIterator.html" title="Abstract class that defines an API for iteration on text objects.">CharacterIterator</a> *ic, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status);
<a name="l00308"></a>00308 
<a name="l00309"></a>00309 <span class="preprocessor">#endif</span>
<a name="l00310"></a>00310 <span class="preprocessor"></span>
<a name="l00311"></a>00311 
<a name="l00369"></a>00369 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <a class="code" href="structUText.html" title="UText struct.">UText</a> * <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00370"></a>00370 <a class="code" href="utext_8h.html#a8732a0c34ee4764c08f70b7a8d7ca4d4" title="Clone a UText.">utext_clone</a>(<a class="code" href="structUText.html" title="UText struct.">UText</a> *dest, <span class="keyword">const</span> <a class="code" href="structUText.html" title="UText struct.">UText</a> *src, <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> deep, <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> readOnly, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status);
<a name="l00371"></a>00371 
<a name="l00372"></a>00372 
<a name="l00384"></a>00384 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00385"></a>00385 <a class="code" href="utext_8h.html#a592a289ae040b2e610e9aaa9032ce276" title="Compare two UText objects for equality.">utext_equals</a>(<span class="keyword">const</span> <a class="code" href="structUText.html" title="UText struct.">UText</a> *<a class="code" href="structUText.html#af8312bce2b8883ace9917ff06d682321" title="(protected) Integer field reserved for use by the text provider.">a</a>, <span class="keyword">const</span> <a class="code" href="structUText.html" title="UText struct.">UText</a> *<a class="code" href="structUText.html#a04153242e0ccf6401a0b7d882eda7371" title="(protected) Integer field reserved for use by the text provider.">b</a>);
<a name="l00386"></a>00386 
<a name="l00387"></a>00387 
<a name="l00388"></a>00388 <span class="comment">/*****************************************************************************</span>
<a name="l00389"></a>00389 <span class="comment"> *</span>
<a name="l00390"></a>00390 <span class="comment"> *   Functions to work with the text represeted by a UText wrapper</span>
<a name="l00391"></a>00391 <span class="comment"> *</span>
<a name="l00392"></a>00392 <span class="comment"> *****************************************************************************/</span>
<a name="l00393"></a>00393 
<a name="l00405"></a>00405 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int64_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00406"></a>00406 <a class="code" href="utext_8h.html#ab6a809d8168c1ccf30746cd57234a59e" title="Get the length of the text.">utext_nativeLength</a>(<a class="code" href="structUText.html" title="UText struct.">UText</a> *ut);
<a name="l00407"></a>00407 
<a name="l00421"></a>00421 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00422"></a>00422 <a class="code" href="utext_8h.html#a18dd4010f0d9fbe9c920f3ce954990ed" title="Return TRUE if calculating the length of the text could be expensive.">utext_isLengthExpensive</a>(<span class="keyword">const</span> <a class="code" href="structUText.html" title="UText struct.">UText</a> *ut);
<a name="l00423"></a>00423 
<a name="l00449"></a>00449 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <a class="code" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809" title="Define UChar32 as a type for single Unicode code points.">UChar32</a> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00450"></a>00450 <a class="code" href="utext_8h.html#aab911e6df41b5e5a90fd09d2f0aa4fbc" title="Returns the code point at the requested index, or U_SENTINEL (-1) if it is out of...">utext_char32At</a>(<a class="code" href="structUText.html" title="UText struct.">UText</a> *ut, int64_t nativeIndex);
<a name="l00451"></a>00451 
<a name="l00452"></a>00452 
<a name="l00463"></a>00463 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <a class="code" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809" title="Define UChar32 as a type for single Unicode code points.">UChar32</a> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00464"></a>00464 <a class="code" href="utext_8h.html#a890bfd8f4c97a85bb70a22eabb34b716" title="Get the code point at the current iteration position, or U_SENTINEL (-1) if the iteration...">utext_current32</a>(<a class="code" href="structUText.html" title="UText struct.">UText</a> *ut);
<a name="l00465"></a>00465 
<a name="l00466"></a>00466 
<a name="l00485"></a>00485 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <a class="code" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809" title="Define UChar32 as a type for single Unicode code points.">UChar32</a> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00486"></a>00486 <a class="code" href="utext_8h.html#ad4c8e3ba851a3482b2c77cc58cff9ad0" title="Get the code point at the current iteration position of the UText, and advance the...">utext_next32</a>(<a class="code" href="structUText.html" title="UText struct.">UText</a> *ut);
<a name="l00487"></a>00487 
<a name="l00488"></a>00488 
<a name="l00506"></a>00506 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <a class="code" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809" title="Define UChar32 as a type for single Unicode code points.">UChar32</a> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00507"></a>00507 <a class="code" href="utext_8h.html#af762d727316244730b78667d12e26dd6" title="Move the iterator position to the character (code point) whose index precedes the...">utext_previous32</a>(<a class="code" href="structUText.html" title="UText struct.">UText</a> *ut);
<a name="l00508"></a>00508 
<a name="l00509"></a>00509 
<a name="l00528"></a>00528 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <a class="code" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809" title="Define UChar32 as a type for single Unicode code points.">UChar32</a> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00529"></a>00529 <a class="code" href="utext_8h.html#a819b23625de643f71280c076feac31a7" title="Set the iteration index and return the code point at that index.">utext_next32From</a>(<a class="code" href="structUText.html" title="UText struct.">UText</a> *ut, int64_t nativeIndex);
<a name="l00530"></a>00530 
<a name="l00531"></a>00531 
<a name="l00532"></a>00532 
<a name="l00548"></a>00548 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <a class="code" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809" title="Define UChar32 as a type for single Unicode code points.">UChar32</a> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00549"></a>00549 <a class="code" href="utext_8h.html#a7d12867d3baae5beeb34351e172b5cd8" title="Set the iteration index, and return the code point preceding the one specified by...">utext_previous32From</a>(<a class="code" href="structUText.html" title="UText struct.">UText</a> *ut, int64_t nativeIndex);
<a name="l00550"></a>00550 
<a name="l00563"></a>00563 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int64_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00564"></a>00564 <a class="code" href="utext_8h.html#acd28c25814787d3d1620e3edb8f917fd" title="Get the current iterator position, which can range from 0 to the length of the text...">utext_getNativeIndex</a>(<span class="keyword">const</span> <a class="code" href="structUText.html" title="UText struct.">UText</a> *ut);
<a name="l00565"></a>00565 
<a name="l00589"></a>00589 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keywordtype">void</span> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00590"></a>00590 <a class="code" href="utext_8h.html#a530b4bb7f0e577008e4930f2b39ecd8a" title="Set the current iteration position to the nearest code point boundary at or preceding...">utext_setNativeIndex</a>(<a class="code" href="structUText.html" title="UText struct.">UText</a> *ut, int64_t nativeIndex);
<a name="l00591"></a>00591 
<a name="l00608"></a>00608 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00609"></a>00609 <a class="code" href="utext_8h.html#af91afb68d5059ec704d8d6969288c00d" title="Move the iterator postion by delta code points.">utext_moveIndex32</a>(<a class="code" href="structUText.html" title="UText struct.">UText</a> *ut, int32_t delta);
<a name="l00610"></a>00610 
<a name="l00633"></a>00633 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int64_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00634"></a>00634 <a class="code" href="utext_8h.html#a2c703c15aa63fc6555d50feec4f6b3c6" title="Get the native index of the character preceeding the current position.">utext_getPreviousNativeIndex</a>(<a class="code" href="structUText.html" title="UText struct.">UText</a> *ut); 
<a name="l00635"></a>00635 
<a name="l00636"></a>00636 
<a name="l00671"></a>00671 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00672"></a>00672 <a class="code" href="utext_8h.html#aec0833241ef75e474f3dbf4dcf3be9c3" title="Extract text from a UText into a UChar buffer.">utext_extract</a>(<a class="code" href="structUText.html" title="UText struct.">UText</a> *ut,
<a name="l00673"></a>00673              int64_t nativeStart, int64_t nativeLimit,
<a name="l00674"></a>00674              <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a> *dest, int32_t destCapacity,
<a name="l00675"></a>00675              <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status);
<a name="l00676"></a>00676 
<a name="l00677"></a>00677 
<a name="l00704"></a>00704 <a class="code" href="umachine_8h.html#a161dba69f4e479c3626793efc42f94ba" title="This is used to declare a function as an internal ICU C API.">U_INTERNAL</a> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00705"></a>00705 <a class="code" href="utext_8h.html#a5143c3dc59cf1614a50a5873fd49171f" title="Compare two UTexts (binary order).">utext_compare</a>(<a class="code" href="structUText.html" title="UText struct.">UText</a> *s1, int32_t length1,
<a name="l00706"></a>00706               <a class="code" href="structUText.html" title="UText struct.">UText</a> *s2, int32_t length2);    
<a name="l00707"></a>00707 
<a name="l00735"></a>00735 <a class="code" href="umachine_8h.html#a161dba69f4e479c3626793efc42f94ba" title="This is used to declare a function as an internal ICU C API.">U_INTERNAL</a> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00736"></a>00736 <a class="code" href="utext_8h.html#adeaed071bf866b2af77cc5708c98e589" title="Compare two UTexts (binary order).">utext_compareNativeLimit</a>(<a class="code" href="structUText.html" title="UText struct.">UText</a> *s1, int64_t limit1,
<a name="l00737"></a>00737                          <a class="code" href="structUText.html" title="UText struct.">UText</a> *s2, int64_t limit2);    
<a name="l00738"></a>00738 
<a name="l00773"></a>00773 <a class="code" href="umachine_8h.html#a161dba69f4e479c3626793efc42f94ba" title="This is used to declare a function as an internal ICU C API.">U_INTERNAL</a> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00774"></a>00774 <a class="code" href="utext_8h.html#a3f1953865cbbd5c2846166e802701a08" title="Compare two UTexts case-insensitively using full case folding.">utext_caseCompare</a>(<a class="code" href="structUText.html" title="UText struct.">UText</a> *s1, int32_t length1,
<a name="l00775"></a>00775                   <a class="code" href="structUText.html" title="UText struct.">UText</a> *s2, int32_t length2,
<a name="l00776"></a>00776                   uint32_t options, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *pErrorCode);    
<a name="l00777"></a>00777 
<a name="l00814"></a>00814 <a class="code" href="umachine_8h.html#a161dba69f4e479c3626793efc42f94ba" title="This is used to declare a function as an internal ICU C API.">U_INTERNAL</a> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00815"></a>00815 <a class="code" href="utext_8h.html#a0bf112f899232a46c0c02333d44b2289" title="Compare two UTexts case-insensitively using full case folding.">utext_caseCompareNativeLimit</a>(<a class="code" href="structUText.html" title="UText struct.">UText</a> *s1, int64_t limit1,
<a name="l00816"></a>00816                              <a class="code" href="structUText.html" title="UText struct.">UText</a> *s2, int64_t limit2,
<a name="l00817"></a>00817                              uint32_t options, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *pErrorCode);    
<a name="l00818"></a>00818 
<a name="l00819"></a>00819 
<a name="l00820"></a>00820 <span class="comment">/************************************************************************************</span>
<a name="l00821"></a>00821 <span class="comment"> *</span>
<a name="l00822"></a>00822 <span class="comment"> *  #define inline versions of selected performance-critical text access functions</span>
<a name="l00823"></a>00823 <span class="comment"> *          Caution:  do not use auto increment++ or decrement-- expressions</span>
<a name="l00824"></a>00824 <span class="comment"> *                    as parameters to these macros.</span>
<a name="l00825"></a>00825 <span class="comment"> *</span>
<a name="l00826"></a>00826 <span class="comment"> *          For most use, where there is no extreme performance constraint, the</span>
<a name="l00827"></a>00827 <span class="comment"> *          normal, non-inline functions are a better choice.  The resulting code</span>
<a name="l00828"></a>00828 <span class="comment"> *          will be smaller, and, if the need ever arises, easier to debug.</span>
<a name="l00829"></a>00829 <span class="comment"> *</span>
<a name="l00830"></a>00830 <span class="comment"> *          These are implemented as #defines rather than real functions</span>
<a name="l00831"></a>00831 <span class="comment"> *          because there is no fully portable way to do inline functions in plain C.</span>
<a name="l00832"></a>00832 <span class="comment"> *</span>
<a name="l00833"></a>00833 <span class="comment"> ************************************************************************************/</span>
<a name="l00834"></a>00834 
<a name="l00844"></a><a class="code" href="utext_8h.html#afedc50a892711dbf795af1fb8aac40cf">00844</a> <span class="preprocessor">#define UTEXT_CURRENT32(ut)  \</span>
<a name="l00845"></a>00845 <span class="preprocessor">    ((ut)-&gt;chunkOffset &lt; (ut)-&gt;chunkLength &amp;&amp; ((ut)-&gt;chunkContents)[(ut)-&gt;chunkOffset]&lt;0xd800 ? \</span>
<a name="l00846"></a>00846 <span class="preprocessor">    ((ut)-&gt;chunkContents)[((ut)-&gt;chunkOffset)] : utext_current32(ut))</span>
<a name="l00847"></a>00847 <span class="preprocessor"></span>
<a name="l00859"></a><a class="code" href="utext_8h.html#aa4b973aeeb5f10f8aec454545f85b6a2">00859</a> <span class="preprocessor">#define UTEXT_NEXT32(ut)  \</span>
<a name="l00860"></a>00860 <span class="preprocessor">    ((ut)-&gt;chunkOffset &lt; (ut)-&gt;chunkLength &amp;&amp; ((ut)-&gt;chunkContents)[(ut)-&gt;chunkOffset]&lt;0xd800 ? \</span>
<a name="l00861"></a>00861 <span class="preprocessor">    ((ut)-&gt;chunkContents)[((ut)-&gt;chunkOffset)++] : utext_next32(ut))</span>
<a name="l00862"></a>00862 <span class="preprocessor"></span>
<a name="l00873"></a><a class="code" href="utext_8h.html#a8aa3d9bae7b252622fe8e70e87758205">00873</a> <span class="preprocessor">#define UTEXT_PREVIOUS32(ut)  \</span>
<a name="l00874"></a>00874 <span class="preprocessor">    ((ut)-&gt;chunkOffset &gt; 0 &amp;&amp; \</span>
<a name="l00875"></a>00875 <span class="preprocessor">     (ut)-&gt;chunkContents[(ut)-&gt;chunkOffset-1] &lt; 0xd800 ? \</span>
<a name="l00876"></a>00876 <span class="preprocessor">          (ut)-&gt;chunkContents[--((ut)-&gt;chunkOffset)]  :  utext_previous32(ut))</span>
<a name="l00877"></a>00877 <span class="preprocessor"></span>
<a name="l00890"></a><a class="code" href="utext_8h.html#a23a003b461019bea876827b8b24cb364">00890</a> <span class="preprocessor">#define UTEXT_GETNATIVEINDEX(ut)                       \</span>
<a name="l00891"></a>00891 <span class="preprocessor">    ((ut)-&gt;chunkOffset &lt;= (ut)-&gt;nativeIndexingLimit?   \</span>
<a name="l00892"></a>00892 <span class="preprocessor">        (ut)-&gt;chunkNativeStart+(ut)-&gt;chunkOffset :     \</span>
<a name="l00893"></a>00893 <span class="preprocessor">        (ut)-&gt;pFuncs-&gt;mapOffsetToNative(ut))    </span>
<a name="l00894"></a>00894 <span class="preprocessor"></span>
<a name="l00906"></a><a class="code" href="utext_8h.html#a74aa6ff1add5886508657997ca8d4747">00906</a> <span class="preprocessor">#define UTEXT_SETNATIVEINDEX(ut, ix)                       \</span>
<a name="l00907"></a>00907 <span class="preprocessor">    { int64_t __offset = (ix) - (ut)-&gt;chunkNativeStart; \</span>
<a name="l00908"></a>00908 <span class="preprocessor">      if (__offset&gt;=0 &amp;&amp; __offset&lt;=(int64_t)(ut)-&gt;nativeIndexingLimit) { \</span>
<a name="l00909"></a>00909 <span class="preprocessor">          (ut)-&gt;chunkOffset=(int32_t)__offset; \</span>
<a name="l00910"></a>00910 <span class="preprocessor">      } else { \</span>
<a name="l00911"></a>00911 <span class="preprocessor">          utext_setNativeIndex((ut), (ix)); } }</span>
<a name="l00912"></a>00912 <span class="preprocessor"></span>
<a name="l00913"></a>00913 
<a name="l00914"></a>00914 
<a name="l00915"></a>00915 <span class="comment">/************************************************************************************</span>
<a name="l00916"></a>00916 <span class="comment"> *</span>
<a name="l00917"></a>00917 <span class="comment"> *   Functions related to writing or modifying the text.</span>
<a name="l00918"></a>00918 <span class="comment"> *   These will work only with modifiable UTexts.  Attempting to</span>
<a name="l00919"></a>00919 <span class="comment"> *   modify a read-only UText will return an error status.</span>
<a name="l00920"></a>00920 <span class="comment"> *</span>
<a name="l00921"></a>00921 <span class="comment"> ************************************************************************************/</span>
<a name="l00922"></a>00922 
<a name="l00923"></a>00923 
<a name="l00942"></a>00942 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00943"></a>00943 <a class="code" href="utext_8h.html#af67295033b5dc1b2951b8b05e5ce9222" title="Return TRUE if the text can be written (modified) with utext_replace() or utext_copy()...">utext_isWritable</a>(<span class="keyword">const</span> <a class="code" href="structUText.html" title="UText struct.">UText</a> *ut);
<a name="l00944"></a>00944 
<a name="l00945"></a>00945 
<a name="l00954"></a>00954 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00955"></a>00955 <a class="code" href="utext_8h.html#a5ca583f3d6592f6e4d00bd43a9bb4952" title="Test whether there is meta data associated with the text.">utext_hasMetaData</a>(<span class="keyword">const</span> <a class="code" href="structUText.html" title="UText struct.">UText</a> *ut);
<a name="l00956"></a>00956 
<a name="l00957"></a>00957 
<a name="l00985"></a>00985 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00986"></a>00986 <a class="code" href="utext_8h.html#aa781cea4987dda8a7c5f0351e311bf07" title="Replace a range of the original text with a replacement text.">utext_replace</a>(<a class="code" href="structUText.html" title="UText struct.">UText</a> *ut,
<a name="l00987"></a>00987              int64_t nativeStart, int64_t nativeLimit,
<a name="l00988"></a>00988              <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a> *replacementText, int32_t replacementLength,
<a name="l00989"></a>00989              <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status);
<a name="l00990"></a>00990 
<a name="l00991"></a>00991 
<a name="l00992"></a>00992 
<a name="l01025"></a>01025 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keywordtype">void</span> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l01026"></a>01026 <a class="code" href="utext_8h.html#abe74b66b8da9b9de17ea7e59af395c53" title="Copy or move a substring from one position to another within the text, while retaining...">utext_copy</a>(<a class="code" href="structUText.html" title="UText struct.">UText</a> *ut,
<a name="l01027"></a>01027           int64_t nativeStart, int64_t nativeLimit,
<a name="l01028"></a>01028           int64_t destIndex,
<a name="l01029"></a>01029           <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> move,
<a name="l01030"></a>01030           <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status);
<a name="l01031"></a>01031 
<a name="l01032"></a>01032 
<a name="l01054"></a>01054 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keywordtype">void</span> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l01055"></a>01055 <a class="code" href="utext_8h.html#a1ea9abacabf9f48914104dba66d932ff">utext_freeze</a>(<a class="code" href="structUText.html" title="UText struct.">UText</a> *ut);
<a name="l01056"></a>01056 
<a name="l01057"></a>01057 
<a name="l01064"></a>01064 <span class="keyword">enum</span> {
<a name="l01069"></a><a class="code" href="utext_8h.html#a05589fbab0657f08285ebdfe93f5ec9ea752c07f9df260b5b0e234e15eab97f9f">01069</a>     <a class="code" href="utext_8h.html#a05589fbab0657f08285ebdfe93f5ec9ea752c07f9df260b5b0e234e15eab97f9f" title="It is potentially time consuming for the provider to determine the length of the...">UTEXT_PROVIDER_LENGTH_IS_EXPENSIVE</a> = 1,
<a name="l01076"></a><a class="code" href="utext_8h.html#a05589fbab0657f08285ebdfe93f5ec9ea52bb5c9cacd1f46eb87a856c71c073be">01076</a>     <a class="code" href="utext_8h.html#a05589fbab0657f08285ebdfe93f5ec9ea52bb5c9cacd1f46eb87a856c71c073be" title="Text chunks remain valid and usable until the text object is modified or deleted...">UTEXT_PROVIDER_STABLE_CHUNKS</a> = 2,
<a name="l01083"></a><a class="code" href="utext_8h.html#a05589fbab0657f08285ebdfe93f5ec9eac67ce6ecf6bf959645e282f7194fbe3b">01083</a>     <a class="code" href="utext_8h.html#a05589fbab0657f08285ebdfe93f5ec9eac67ce6ecf6bf959645e282f7194fbe3b" title="The provider supports modifying the text via the replace() and copy() functions.">UTEXT_PROVIDER_WRITABLE</a> = 3,
<a name="l01089"></a><a class="code" href="utext_8h.html#a05589fbab0657f08285ebdfe93f5ec9ea40c5cd24aea472f3752b4833b9ce63ca">01089</a>     <a class="code" href="utext_8h.html#a05589fbab0657f08285ebdfe93f5ec9ea40c5cd24aea472f3752b4833b9ce63ca" title="There is meta data associated with the text.">UTEXT_PROVIDER_HAS_META_DATA</a> = 4,
<a name="l01097"></a><a class="code" href="utext_8h.html#a05589fbab0657f08285ebdfe93f5ec9ea75695072a896ec104b5d77598a7429f7">01097</a>      <a class="code" href="utext_8h.html#a05589fbab0657f08285ebdfe93f5ec9ea75695072a896ec104b5d77598a7429f7" title="Text provider owns the text storage.">UTEXT_PROVIDER_OWNS_TEXT</a> = 5
<a name="l01098"></a>01098 };
<a name="l01099"></a>01099 
<a name="l01137"></a>01137 <span class="keyword">typedef</span> <a class="code" href="structUText.html" title="UText struct.">UText</a> * <a class="code" href="utypes_8h.html#a1fae478cb5a46c7e4a0673d267626696" title="Similar to U_CDECL_BEGIN/U_CDECL_END, this qualifier is necessary in callback function...">U_CALLCONV</a>
<a name="l01138"></a><a class="code" href="utext_8h.html#ae29be5a512f69c3a9d871890225d07ec">01138</a> <a class="code" href="utext_8h.html#ae29be5a512f69c3a9d871890225d07ec" title="Function type declaration for UText.clone().">UTextClone</a>(<a class="code" href="structUText.html" title="UText struct.">UText</a> *dest, <span class="keyword">const</span> <a class="code" href="structUText.html" title="UText struct.">UText</a> *src, <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> deep, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status);
<a name="l01139"></a>01139 
<a name="l01140"></a>01140 
<a name="l01149"></a>01149 <span class="keyword">typedef</span> int64_t <a class="code" href="utypes_8h.html#a1fae478cb5a46c7e4a0673d267626696" title="Similar to U_CDECL_BEGIN/U_CDECL_END, this qualifier is necessary in callback function...">U_CALLCONV</a>
<a name="l01150"></a><a class="code" href="utext_8h.html#a36bad470545b3183fff611c91312cc10">01150</a> <a class="code" href="utext_8h.html#a36bad470545b3183fff611c91312cc10" title="Function type declaration for UText.nativeLength().">UTextNativeLength</a>(<a class="code" href="structUText.html" title="UText struct.">UText</a> *ut);
<a name="l01151"></a>01151 
<a name="l01177"></a>01177 <span class="keyword">typedef</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> <a class="code" href="utypes_8h.html#a1fae478cb5a46c7e4a0673d267626696" title="Similar to U_CDECL_BEGIN/U_CDECL_END, this qualifier is necessary in callback function...">U_CALLCONV</a>
<a name="l01178"></a><a class="code" href="utext_8h.html#a829af7190e7cee22c647af949ebb4730">01178</a> <a class="code" href="utext_8h.html#a829af7190e7cee22c647af949ebb4730" title="Function type declaration for UText.access().">UTextAccess</a>(<a class="code" href="structUText.html" title="UText struct.">UText</a> *ut, int64_t nativeIndex, <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> forward);
<a name="l01179"></a>01179 
<a name="l01207"></a>01207 <span class="keyword">typedef</span> int32_t <a class="code" href="utypes_8h.html#a1fae478cb5a46c7e4a0673d267626696" title="Similar to U_CDECL_BEGIN/U_CDECL_END, this qualifier is necessary in callback function...">U_CALLCONV</a>
<a name="l01208"></a><a class="code" href="utext_8h.html#a62d7c17254aee81ba7ccf7acdf79f2dd">01208</a> <a class="code" href="utext_8h.html#a62d7c17254aee81ba7ccf7acdf79f2dd" title="Function type declaration for UText.extract().">UTextExtract</a>(<a class="code" href="structUText.html" title="UText struct.">UText</a> *ut,
<a name="l01209"></a>01209              int64_t nativeStart, int64_t nativeLimit,
<a name="l01210"></a>01210              <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a> *dest, int32_t destCapacity,
<a name="l01211"></a>01211              <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status);
<a name="l01212"></a>01212 
<a name="l01242"></a>01242 <span class="keyword">typedef</span> int32_t <a class="code" href="utypes_8h.html#a1fae478cb5a46c7e4a0673d267626696" title="Similar to U_CDECL_BEGIN/U_CDECL_END, this qualifier is necessary in callback function...">U_CALLCONV</a>
<a name="l01243"></a><a class="code" href="utext_8h.html#a0a84b5d0d434b0f1f71f77841cac3d97">01243</a> <a class="code" href="utext_8h.html#a0a84b5d0d434b0f1f71f77841cac3d97" title="Function type declaration for UText.replace().">UTextReplace</a>(<a class="code" href="structUText.html" title="UText struct.">UText</a> *ut,
<a name="l01244"></a>01244              int64_t nativeStart, int64_t nativeLimit,
<a name="l01245"></a>01245              <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a> *replacementText, int32_t replacmentLength,
<a name="l01246"></a>01246              <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status);
<a name="l01247"></a>01247 
<a name="l01276"></a>01276 <span class="keyword">typedef</span> <span class="keywordtype">void</span> <a class="code" href="utypes_8h.html#a1fae478cb5a46c7e4a0673d267626696" title="Similar to U_CDECL_BEGIN/U_CDECL_END, this qualifier is necessary in callback function...">U_CALLCONV</a>
<a name="l01277"></a><a class="code" href="utext_8h.html#ad017072290f396d7bce8fb0712a232e8">01277</a> <a class="code" href="utext_8h.html#ad017072290f396d7bce8fb0712a232e8" title="Function type declaration for UText.copy().">UTextCopy</a>(<a class="code" href="structUText.html" title="UText struct.">UText</a> *ut,
<a name="l01278"></a>01278           int64_t nativeStart, int64_t nativeLimit,
<a name="l01279"></a>01279           int64_t nativeDest,
<a name="l01280"></a>01280           <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> move,
<a name="l01281"></a>01281           <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status);
<a name="l01282"></a>01282 
<a name="l01296"></a>01296 <span class="keyword">typedef</span> int64_t <a class="code" href="utypes_8h.html#a1fae478cb5a46c7e4a0673d267626696" title="Similar to U_CDECL_BEGIN/U_CDECL_END, this qualifier is necessary in callback function...">U_CALLCONV</a>
<a name="l01297"></a><a class="code" href="utext_8h.html#aa78b6ae4b98958554b7ee15de57e9c30">01297</a> <a class="code" href="utext_8h.html#aa78b6ae4b98958554b7ee15de57e9c30" title="Function type declaration for UText.mapOffsetToNative().">UTextMapOffsetToNative</a>(<span class="keyword">const</span> <a class="code" href="structUText.html" title="UText struct.">UText</a> *ut);
<a name="l01298"></a>01298 
<a name="l01314"></a>01314 <span class="keyword">typedef</span> int32_t <a class="code" href="utypes_8h.html#a1fae478cb5a46c7e4a0673d267626696" title="Similar to U_CDECL_BEGIN/U_CDECL_END, this qualifier is necessary in callback function...">U_CALLCONV</a>
<a name="l01315"></a><a class="code" href="utext_8h.html#ab14d770b0feb53e5c4677f998e6b5ad0">01315</a> <a class="code" href="utext_8h.html#ab14d770b0feb53e5c4677f998e6b5ad0" title="Function type declaration for UText.mapIndexToUTF16().">UTextMapNativeIndexToUTF16</a>(<span class="keyword">const</span> <a class="code" href="structUText.html" title="UText struct.">UText</a> *ut, int64_t nativeIndex);
<a name="l01316"></a>01316 
<a name="l01317"></a>01317 
<a name="l01335"></a>01335 <span class="keyword">typedef</span> <span class="keywordtype">void</span> <a class="code" href="utypes_8h.html#a1fae478cb5a46c7e4a0673d267626696" title="Similar to U_CDECL_BEGIN/U_CDECL_END, this qualifier is necessary in callback function...">U_CALLCONV</a>
<a name="l01336"></a><a class="code" href="utext_8h.html#a689fd4dcd7e392532f979af8b33273b5">01336</a> <a class="code" href="utext_8h.html#a689fd4dcd7e392532f979af8b33273b5" title="Function type declaration for UText.utextClose().">UTextClose</a>(<a class="code" href="structUText.html" title="UText struct.">UText</a> *ut);
<a name="l01337"></a>01337 
<a name="l01338"></a>01338 
<a name="l01348"></a><a class="code" href="structUTextFuncs.html">01348</a> <span class="keyword">struct </span><a class="code" href="structUTextFuncs.html" title="(public) Function dispatch table for UText.">UTextFuncs</a> {
<a name="l01363"></a><a class="code" href="structUTextFuncs.html#a82423256ccf21ad6d407f1a390d826ca">01363</a>     int32_t       <a class="code" href="structUTextFuncs.html#a82423256ccf21ad6d407f1a390d826ca" title="(public) Function table size, sizeof(UTextFuncs) Intended for use should the table...">tableSize</a>;
<a name="l01364"></a>01364 
<a name="l01370"></a><a class="code" href="structUTextFuncs.html#a788850d9f82cf783bbdd731ac5407c2e">01370</a>     int32_t       <a class="code" href="structUTextFuncs.html#a07aae199d0c0c50c843900aac4ab75c6" title="(private) Alignment padding.">reserved1</a>,  <a class="code" href="structUTextFuncs.html#a0a34a019ecb5b8f6c53b640b5b259e94">reserved2</a>,  <a class="code" href="structUTextFuncs.html#a788850d9f82cf783bbdd731ac5407c2e">reserved3</a>;
<a name="l01371"></a>01371 
<a name="l01372"></a>01372 
<a name="l01379"></a><a class="code" href="structUTextFuncs.html#aec491b54b67bc848006b04e4ebce0009">01379</a>     <a class="code" href="utext_8h.html#ae29be5a512f69c3a9d871890225d07ec" title="Function type declaration for UText.clone().">UTextClone</a> *<a class="code" href="structUTextFuncs.html#aec491b54b67bc848006b04e4ebce0009" title="(public) Function pointer for UTextClone">clone</a>;
<a name="l01380"></a>01380 
<a name="l01388"></a><a class="code" href="structUTextFuncs.html#a8a91d3830174aa6a9d2bc7c1c9142ce6">01388</a>     <a class="code" href="utext_8h.html#a36bad470545b3183fff611c91312cc10" title="Function type declaration for UText.nativeLength().">UTextNativeLength</a> *<a class="code" href="structUTextFuncs.html#a8a91d3830174aa6a9d2bc7c1c9142ce6" title="(public) function pointer for UTextLength May be expensive to compute!">nativeLength</a>;
<a name="l01389"></a>01389 
<a name="l01396"></a><a class="code" href="structUTextFuncs.html#a5fc21ad481e4f48fcbec5a6cf5e6f3dc">01396</a>     <a class="code" href="utext_8h.html#a829af7190e7cee22c647af949ebb4730" title="Function type declaration for UText.access().">UTextAccess</a> *<a class="code" href="structUTextFuncs.html#a5fc21ad481e4f48fcbec5a6cf5e6f3dc" title="(public) Function pointer for UTextAccess.">access</a>;
<a name="l01397"></a>01397 
<a name="l01404"></a><a class="code" href="structUTextFuncs.html#a6fd73fbd4bf4e4e87d2589b43ef9b7e1">01404</a>     <a class="code" href="utext_8h.html#a62d7c17254aee81ba7ccf7acdf79f2dd" title="Function type declaration for UText.extract().">UTextExtract</a> *<a class="code" href="structUTextFuncs.html#a6fd73fbd4bf4e4e87d2589b43ef9b7e1" title="(public) Function pointer for UTextExtract.">extract</a>;
<a name="l01405"></a>01405 
<a name="l01412"></a><a class="code" href="structUTextFuncs.html#a8ba9ac339f0e901d87e4568b174943f9">01412</a>     <a class="code" href="utext_8h.html#a0a84b5d0d434b0f1f71f77841cac3d97" title="Function type declaration for UText.replace().">UTextReplace</a> *<a class="code" href="structUTextFuncs.html#a8ba9ac339f0e901d87e4568b174943f9" title="(public) Function pointer for UTextReplace.">replace</a>;
<a name="l01413"></a>01413 
<a name="l01420"></a><a class="code" href="structUTextFuncs.html#acd589b6a5bc19d33777cbd72dbaa80cc">01420</a>     <a class="code" href="utext_8h.html#ad017072290f396d7bce8fb0712a232e8" title="Function type declaration for UText.copy().">UTextCopy</a> *<a class="code" href="structUTextFuncs.html#acd589b6a5bc19d33777cbd72dbaa80cc" title="(public) Function pointer for UTextCopy.">copy</a>;
<a name="l01421"></a>01421 
<a name="l01428"></a><a class="code" href="structUTextFuncs.html#a163661e37ab2a524e246f14fa3b2459d">01428</a>     <a class="code" href="utext_8h.html#aa78b6ae4b98958554b7ee15de57e9c30" title="Function type declaration for UText.mapOffsetToNative().">UTextMapOffsetToNative</a> *<a class="code" href="structUTextFuncs.html#a163661e37ab2a524e246f14fa3b2459d" title="(public) Function pointer for UTextMapOffsetToNative.">mapOffsetToNative</a>;
<a name="l01429"></a>01429 
<a name="l01436"></a><a class="code" href="structUTextFuncs.html#ad64acbdb2322d22c5f102c6c5a540a9d">01436</a>     <a class="code" href="utext_8h.html#ab14d770b0feb53e5c4677f998e6b5ad0" title="Function type declaration for UText.mapIndexToUTF16().">UTextMapNativeIndexToUTF16</a> *<a class="code" href="structUTextFuncs.html#ad64acbdb2322d22c5f102c6c5a540a9d" title="(public) Function pointer for UTextMapNativeIndexToUTF16.">mapNativeIndexToUTF16</a>;
<a name="l01437"></a>01437 
<a name="l01444"></a><a class="code" href="structUTextFuncs.html#aea81a263f231930c5b9e7213b92b1d0d">01444</a>     <a class="code" href="utext_8h.html#a689fd4dcd7e392532f979af8b33273b5" title="Function type declaration for UText.utextClose().">UTextClose</a>  *<a class="code" href="structUTextFuncs.html#aea81a263f231930c5b9e7213b92b1d0d" title="(public) Function pointer for UTextClose.">close</a>;
<a name="l01445"></a>01445 
<a name="l01450"></a><a class="code" href="structUTextFuncs.html#a96977f916c2574cee8a8fe9e2b479d4b">01450</a>     <a class="code" href="utext_8h.html#a689fd4dcd7e392532f979af8b33273b5" title="Function type declaration for UText.utextClose().">UTextClose</a>  *<a class="code" href="structUTextFuncs.html#a96977f916c2574cee8a8fe9e2b479d4b" title="(private) Spare function pointer">spare1</a>;
<a name="l01451"></a>01451     
<a name="l01456"></a><a class="code" href="structUTextFuncs.html#a8e9d4d08bfc0199d46f475c9c9f5372d">01456</a>     <a class="code" href="utext_8h.html#a689fd4dcd7e392532f979af8b33273b5" title="Function type declaration for UText.utextClose().">UTextClose</a>  *<a class="code" href="structUTextFuncs.html#a8e9d4d08bfc0199d46f475c9c9f5372d" title="(private) Spare function pointer">spare2</a>;
<a name="l01457"></a>01457 
<a name="l01462"></a><a class="code" href="structUTextFuncs.html#a7e395e53263ec5d8f0d30fca4343959d">01462</a>     <a class="code" href="utext_8h.html#a689fd4dcd7e392532f979af8b33273b5" title="Function type declaration for UText.utextClose().">UTextClose</a>  *<a class="code" href="structUTextFuncs.html#a7e395e53263ec5d8f0d30fca4343959d" title="(private) Spare function pointer">spare3</a>;
<a name="l01463"></a>01463 
<a name="l01464"></a>01464 };
<a name="l01469"></a><a class="code" href="utext_8h.html#acaf57d3fd11db28583a36df05ec02295">01469</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structUTextFuncs.html" title="(public) Function dispatch table for UText.">UTextFuncs</a> <a class="code" href="structUTextFuncs.html" title="(public) Function dispatch table for UText.">UTextFuncs</a>;
<a name="l01470"></a>01470 
<a name="l01482"></a><a class="code" href="structUText.html">01482</a> <span class="keyword">struct </span><a class="code" href="structUText.html" title="UText struct.">UText</a> {
<a name="l01495"></a><a class="code" href="structUText.html#aa8d7b2a0a7384ea6a01b8228f227db82">01495</a>     uint32_t       <a class="code" href="structUText.html#aa8d7b2a0a7384ea6a01b8228f227db82" title="(private) Magic.">magic</a>;
<a name="l01496"></a>01496 
<a name="l01497"></a>01497 
<a name="l01503"></a><a class="code" href="structUText.html#a5381d111f35bcaecbfef253f102df792">01503</a>     int32_t        <a class="code" href="structUText.html#a5381d111f35bcaecbfef253f102df792" title="(private) Flags for managing the allocation and freeing of memory associated with...">flags</a>;
<a name="l01504"></a>01504 
<a name="l01505"></a>01505 
<a name="l01511"></a><a class="code" href="structUText.html#ac36640ce0a7f5c7b8ae243a8f33e93de">01511</a>     int32_t         <a class="code" href="structUText.html#ac36640ce0a7f5c7b8ae243a8f33e93de" title="Text provider properties.">providerProperties</a>;
<a name="l01512"></a>01512 
<a name="l01519"></a><a class="code" href="structUText.html#a59864b5605f82440de919feba1d64106">01519</a>     int32_t         <a class="code" href="structUText.html#a59864b5605f82440de919feba1d64106" title="(public) sizeOfStruct=sizeof(UText) Allows possible backward compatible extension...">sizeOfStruct</a>;
<a name="l01520"></a>01520     
<a name="l01521"></a>01521     <span class="comment">/* ------ 16 byte alignment boundary -----------  */</span>
<a name="l01522"></a>01522     
<a name="l01523"></a>01523 
<a name="l01529"></a><a class="code" href="structUText.html#a710af36373dd4d00fbd84f4a8429e248">01529</a>     int64_t         <a class="code" href="structUText.html#a710af36373dd4d00fbd84f4a8429e248" title="(protected) Native index of the first character position following the current chunk...">chunkNativeLimit</a>;
<a name="l01530"></a>01530 
<a name="l01535"></a><a class="code" href="structUText.html#a265765aa476617b1b0a9b2f245d6c3f3">01535</a>     int32_t        <a class="code" href="structUText.html#a265765aa476617b1b0a9b2f245d6c3f3" title="(protected) Size in bytes of the extra space (pExtra).">extraSize</a>;
<a name="l01536"></a>01536 
<a name="l01544"></a><a class="code" href="structUText.html#a52dd2b1427fc28e7d98c7e70064cedd5">01544</a>     int32_t         <a class="code" href="structUText.html#a52dd2b1427fc28e7d98c7e70064cedd5" title="(protected) The highest chunk offset where native indexing and chunk (UTF-16) indexing...">nativeIndexingLimit</a>;
<a name="l01545"></a>01545 
<a name="l01546"></a>01546     <span class="comment">/* ---- 16 byte alignment boundary------ */</span>
<a name="l01547"></a>01547     
<a name="l01552"></a><a class="code" href="structUText.html#ae57e342eea4d447634b875f5d19cefef">01552</a>     int64_t         <a class="code" href="structUText.html#ae57e342eea4d447634b875f5d19cefef" title="(protected) Native index of the first character in the text chunk.">chunkNativeStart</a>;
<a name="l01553"></a>01553 
<a name="l01559"></a><a class="code" href="structUText.html#a0e634db596b38d898ea1a11d2a40befd">01559</a>     int32_t         <a class="code" href="structUText.html#a0e634db596b38d898ea1a11d2a40befd" title="(protected) Current iteration position within the text chunk (UTF-16 buffer).">chunkOffset</a>;
<a name="l01560"></a>01560 
<a name="l01565"></a><a class="code" href="structUText.html#abc7bb5d202a4812e7f41733fba6ab256">01565</a>     int32_t         <a class="code" href="structUText.html#abc7bb5d202a4812e7f41733fba6ab256" title="(protected) Length the text chunk (UTF-16 buffer), in UChars.">chunkLength</a>;
<a name="l01566"></a>01566 
<a name="l01567"></a>01567     <span class="comment">/* ---- 16  byte alignment boundary-- */</span>
<a name="l01568"></a>01568     
<a name="l01569"></a>01569 
<a name="l01576"></a><a class="code" href="structUText.html#ac718cf49b95a1f41926230c8132137f6">01576</a>     <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a>    *<a class="code" href="structUText.html#ac718cf49b95a1f41926230c8132137f6" title="(protected) pointer to a chunk of text in UTF-16 format.">chunkContents</a>;
<a name="l01577"></a>01577 
<a name="l01582"></a><a class="code" href="structUText.html#ab56053acd8e0e33243359e7aeb44019f">01582</a>     <span class="keyword">const</span> <a class="code" href="structUTextFuncs.html" title="(public) Function dispatch table for UText.">UTextFuncs</a>     *<a class="code" href="structUText.html#ab56053acd8e0e33243359e7aeb44019f" title="(public) Pointer to Dispatch table for accessing functions for this UText.">pFuncs</a>;
<a name="l01583"></a>01583 
<a name="l01589"></a><a class="code" href="structUText.html#a5ca08431f48c474a57220386bab5b876">01589</a>     <span class="keywordtype">void</span>          *<a class="code" href="structUText.html#a5ca08431f48c474a57220386bab5b876" title="(protected) Pointer to additional space requested by the text provider during the...">pExtra</a>;
<a name="l01590"></a>01590 
<a name="l01597"></a><a class="code" href="structUText.html#aeb9fa867f4b29378c34f5841d32db672">01597</a>     <span class="keyword">const</span> <span class="keywordtype">void</span>   *<a class="code" href="structUText.html#aeb9fa867f4b29378c34f5841d32db672" title="(protected) Pointer to string or text-containin object or similar.">context</a>;
<a name="l01598"></a>01598 
<a name="l01599"></a>01599     <span class="comment">/* --- 16 byte alignment boundary--- */</span>
<a name="l01600"></a>01600 
<a name="l01606"></a><a class="code" href="structUText.html#a1932275255384d6efa47aa0a8c24d60b">01606</a>     <span class="keyword">const</span> <span class="keywordtype">void</span>     *<a class="code" href="structUText.html#a1932275255384d6efa47aa0a8c24d60b" title="(protected) Pointer fields available for use by the text provider.">p</a>; 
<a name="l01612"></a><a class="code" href="structUText.html#acf46098bfe250ee8acb81356dfacc351">01612</a>     <span class="keyword">const</span> <span class="keywordtype">void</span>     *<a class="code" href="structUText.html#acf46098bfe250ee8acb81356dfacc351" title="(protected) Pointer fields available for use by the text provider.">q</a>;
<a name="l01618"></a><a class="code" href="structUText.html#a88cccfe6b055df7e19f210396fec085a">01618</a>     <span class="keyword">const</span> <span class="keywordtype">void</span>     *<a class="code" href="structUText.html#a88cccfe6b055df7e19f210396fec085a" title="(protected) Pointer fields available for use by the text provider.">r</a>;
<a name="l01619"></a>01619 
<a name="l01625"></a><a class="code" href="structUText.html#ae4eb8619332a016551b683853fb83379">01625</a>     <span class="keywordtype">void</span>           *<a class="code" href="structUText.html#ae4eb8619332a016551b683853fb83379" title="Private field reserved for future use by the UText framework itself.">privP</a>;
<a name="l01626"></a>01626 
<a name="l01627"></a>01627 
<a name="l01628"></a>01628     <span class="comment">/* --- 16 byte alignment boundary--- */</span>
<a name="l01629"></a>01629     
<a name="l01630"></a>01630 
<a name="l01636"></a><a class="code" href="structUText.html#af8312bce2b8883ace9917ff06d682321">01636</a>     int64_t         <a class="code" href="structUText.html#af8312bce2b8883ace9917ff06d682321" title="(protected) Integer field reserved for use by the text provider.">a</a>;
<a name="l01637"></a>01637 
<a name="l01643"></a><a class="code" href="structUText.html#a04153242e0ccf6401a0b7d882eda7371">01643</a>     int32_t         <a class="code" href="structUText.html#a04153242e0ccf6401a0b7d882eda7371" title="(protected) Integer field reserved for use by the text provider.">b</a>;
<a name="l01644"></a>01644 
<a name="l01650"></a><a class="code" href="structUText.html#af3da19dd26083eaa72169c30b5397d35">01650</a>     int32_t         <a class="code" href="structUText.html#af3da19dd26083eaa72169c30b5397d35" title="(protected) Integer field reserved for use by the text provider.">c</a>;
<a name="l01651"></a>01651 
<a name="l01652"></a>01652     <span class="comment">/*  ---- 16 byte alignment boundary---- */</span>
<a name="l01653"></a>01653 
<a name="l01654"></a>01654 
<a name="l01660"></a><a class="code" href="structUText.html#a49c540af1306f66196ae5e9da79254d0">01660</a>     int64_t         <a class="code" href="structUText.html#a49c540af1306f66196ae5e9da79254d0" title="Private field reserved for future use by the UText framework itself.">privA</a>;
<a name="l01666"></a><a class="code" href="structUText.html#a91252e56ab96828249a892ec847b61e8">01666</a>     int32_t         <a class="code" href="structUText.html#a91252e56ab96828249a892ec847b61e8" title="Private field reserved for future use by the UText framework itself.">privB</a>;
<a name="l01672"></a><a class="code" href="structUText.html#ac990399966e1a7812056f0382ed14114">01672</a>     int32_t         <a class="code" href="structUText.html#ac990399966e1a7812056f0382ed14114" title="Private field reserved for future use by the UText framework itself.">privC</a>;
<a name="l01673"></a>01673 };
<a name="l01674"></a>01674 
<a name="l01675"></a>01675 
<a name="l01692"></a>01692 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <a class="code" href="structUText.html" title="UText struct.">UText</a> * <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l01693"></a>01693 <a class="code" href="utext_8h.html#a024e9470afd51e1ae247dcbfbbbe8a67" title="Common function for use by Text Provider implementations to allocate and/or initialize...">utext_setup</a>(<a class="code" href="structUText.html" title="UText struct.">UText</a> *ut, int32_t extraSpace, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status);
<a name="l01694"></a>01694 
<a name="l01700"></a>01700 <span class="keyword">enum</span> {
<a name="l01701"></a>01701     UTEXT_MAGIC = 0x345ad82c
<a name="l01702"></a>01702 };
<a name="l01703"></a>01703 
<a name="l01711"></a><a class="code" href="utext_8h.html#a3dc916f710c0d3f17fe2a220384bcc8c">01711</a> <span class="preprocessor">#define UTEXT_INITIALIZER {                                        \</span>
<a name="l01712"></a>01712 <span class="preprocessor">                  UTEXT_MAGIC,          </span><span class="comment">/* magic                */</span> \
<a name="l01713"></a>01713                   0,                    <span class="comment">/* flags                */</span> \
<a name="l01714"></a>01714                   0,                    <span class="comment">/* providerProps        */</span> \
<a name="l01715"></a>01715                   sizeof(UText),        <span class="comment">/* sizeOfStruct         */</span> \
<a name="l01716"></a>01716                   0,                    <span class="comment">/* chunkNativeLimit     */</span> \
<a name="l01717"></a>01717                   0,                    <span class="comment">/* extraSize            */</span> \
<a name="l01718"></a>01718                   0,                    <span class="comment">/* nativeIndexingLimit  */</span> \
<a name="l01719"></a>01719                   0,                    <span class="comment">/* chunkNativeStart     */</span> \
<a name="l01720"></a>01720                   0,                    <span class="comment">/* chunkOffset          */</span> \
<a name="l01721"></a>01721                   0,                    <span class="comment">/* chunkLength          */</span> \
<a name="l01722"></a>01722                   NULL,                 <span class="comment">/* chunkContents        */</span> \
<a name="l01723"></a>01723                   NULL,                 <span class="comment">/* pFuncs               */</span> \
<a name="l01724"></a>01724                   NULL,                 <span class="comment">/* pExtra               */</span> \
<a name="l01725"></a>01725                   NULL,                 <span class="comment">/* context              */</span> \
<a name="l01726"></a>01726                   NULL, NULL, NULL,     <span class="comment">/* p, q, r              */</span> \
<a name="l01727"></a>01727                   NULL,                 <span class="comment">/* privP                */</span> \
<a name="l01728"></a>01728                   0, 0, 0,              <span class="comment">/* a, b, c              */</span> \
<a name="l01729"></a>01729                   0, 0, 0               <span class="comment">/* privA,B,C,           */</span> \
<a name="l01730"></a>01730                   }
<a name="l01731"></a>01731 
<a name="l01732"></a>01732 
<a name="l01733"></a>01733 <a class="code" href="umachine_8h.html#a1a820e5c6cbe8ac1742b654e6bf9ed7d" title="This is used to end a declaration of a library private ICU C API.">U_CDECL_END</a>
<a name="l01734"></a>01734 
<a name="l01735"></a>01735 
<a name="l01736"></a>01736 
<a name="l01737"></a>01737 <span class="preprocessor">#endif</span>
</pre></div></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">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&nbsp;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&nbsp;</span>Defines</a></div>

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

<hr size="1"/><address style="text-align: right;"><small>Generated on 16 Mar 2010 for ICU 4.4 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>