<!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"/> <title>ICU 52.1: utrans.h Source File</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 style="padding-left: 0.5em;"> <div id="projectname">ICU 52.1  <span id="projectnumber">52.1</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.1.2 --> <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><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_73bc6a9bb617ea1bc89a10aa59ce84e4.html">i18n</a></li><li class="navelem"><a class="el" href="dir_0119ce638985e8a1561a00fdb5f76ff6.html">unicode</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">utrans.h</div> </div> </div><!--header--> <div class="contents"> <a href="utrans_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">*******************************************************************************</span></div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">* Copyright (C) 1997-2011, International Business Machines</span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">* Corporation and others. All Rights Reserved.</span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">*******************************************************************************</span></div> <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">* Date Name Description</span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">* 06/21/00 aliu Creation.</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">*******************************************************************************</span></div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">*/</span></div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> </div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#ifndef UTRANS_H</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor"></span><span class="preprocessor">#define UTRANS_H</span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include "<a class="code" href="utypes_8h.html" title="Basic definitions for ICU, for both C and C++ APIs.">unicode/utypes.h</a>"</span></div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#if !UCONFIG_NO_TRANSLITERATION</span></div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include "<a class="code" href="localpointer_8h.html" title="C++ API: "Smart pointers" for use with and in ICU4C C++ code.">unicode/localpointer.h</a>"</span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include "<a class="code" href="urep_8h.html" title="C API: Callbacks for UReplaceable.">unicode/urep.h</a>"</span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include "<a class="code" href="parseerr_8h.html" title="C API: Parse Error Information.">unicode/parseerr.h</a>"</span></div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include "<a class="code" href="uenum_8h.html" title="C API: String Enumeration.">unicode/uenum.h</a>"</span></div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment">/********************************************************************</span></div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment"> * General Notes</span></div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment"> ********************************************************************</span></div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment"> */</span></div> <div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="comment">/********************************************************************</span></div> <div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="comment"> * Data Structures</span></div> <div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="comment"> ********************************************************************/</span></div> <div class="line"><a name="l00059"></a><span class="lineno"> 59</span> </div> <div class="line"><a name="l00067"></a><span class="lineno"><a class="code" href="utrans_8h.html#a1230b61c2370123b3f17d88dcdc13154"> 67</a></span> <span class="keyword">typedef</span> <span class="keywordtype">void</span>* <a class="code" href="utrans_8h.html#a1230b61c2370123b3f17d88dcdc13154" title="An opaque transliterator for use in C.">UTransliterator</a>;</div> <div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div> <div class="line"><a name="l00077"></a><span class="lineno"><a class="code" href="utrans_8h.html#a04f480e9e8e40f0d8067521668dc06ec"> 77</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="utrans_8h.html#a04f480e9e8e40f0d8067521668dc06ec" title="Direction constant indicating the direction in a transliterator, e.g., the forward or reverse rules o...">UTransDirection</a> {</div> <div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  </div> <div class="line"><a name="l00085"></a><span class="lineno"><a class="code" href="utrans_8h.html#a04f480e9e8e40f0d8067521668dc06eca112cbaa326ae590fb91ecd99839b6f5f"> 85</a></span>  <a class="code" href="utrans_8h.html#a04f480e9e8e40f0d8067521668dc06eca112cbaa326ae590fb91ecd99839b6f5f" title="UTRANS_FORWARD means from <source> to <target> for a transliterator with ID <source>-<target>.">UTRANS_FORWARD</a>,</div> <div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div> <div class="line"><a name="l00093"></a><span class="lineno"><a class="code" href="utrans_8h.html#a04f480e9e8e40f0d8067521668dc06eca5e10b16d78c21a0df70390998e488c32"> 93</a></span>  <a class="code" href="utrans_8h.html#a04f480e9e8e40f0d8067521668dc06eca5e10b16d78c21a0df70390998e488c32" title="UTRANS_REVERSE means from <target> to <source> for a transliterator with ID <source>-<target>.">UTRANS_REVERSE</a></div> <div class="line"><a name="l00094"></a><span class="lineno"> 94</span> </div> <div class="line"><a name="l00095"></a><span class="lineno"> 95</span> } <a class="code" href="utrans_8h.html#a04f480e9e8e40f0d8067521668dc06ec" title="Direction constant indicating the direction in a transliterator, e.g., the forward or reverse rules o...">UTransDirection</a>;</div> <div class="line"><a name="l00096"></a><span class="lineno"> 96</span> </div> <div class="line"><a name="l00119"></a><span class="lineno"><a class="code" href="structUTransPosition.html"> 119</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structUTransPosition.html" title="Position structure for utrans_transIncremental() incremental transliteration.">UTransPosition</a> {</div> <div class="line"><a name="l00120"></a><span class="lineno"> 120</span> </div> <div class="line"><a name="l00129"></a><span class="lineno"><a class="code" href="structUTransPosition.html#ac0b101b915a80d9cad00974c66e28c40"> 129</a></span>  int32_t <a class="code" href="structUTransPosition.html#ac0b101b915a80d9cad00974c66e28c40" title="Beginning index, inclusive, of the context to be considered for a transliteration operation...">contextStart</a>;</div> <div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  </div> <div class="line"><a name="l00139"></a><span class="lineno"><a class="code" href="structUTransPosition.html#a78d09b71320d0b9a1e7720bda8420372"> 139</a></span>  int32_t <a class="code" href="structUTransPosition.html#a78d09b71320d0b9a1e7720bda8420372" title="Ending index, exclusive, of the context to be considered for a transliteration operation.">contextLimit</a>;</div> <div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  </div> <div class="line"><a name="l00148"></a><span class="lineno"><a class="code" href="structUTransPosition.html#a26113cfb9aa6fd5457e6e9e095f0fc32"> 148</a></span>  int32_t <a class="code" href="structUTransPosition.html#a26113cfb9aa6fd5457e6e9e095f0fc32" title="Beginning index, inclusive, of the text to be transliteratd.">start</a>;</div> <div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  </div> <div class="line"><a name="l00157"></a><span class="lineno"><a class="code" href="structUTransPosition.html#ace64783d9d1016f2960cda02b30dbd03"> 157</a></span>  int32_t <a class="code" href="structUTransPosition.html#ace64783d9d1016f2960cda02b30dbd03" title="Ending index, exclusive, of the text to be transliteratd.">limit</a>;</div> <div class="line"><a name="l00158"></a><span class="lineno"> 158</span> </div> <div class="line"><a name="l00159"></a><span class="lineno"> 159</span> } <a class="code" href="utrans_8h.html#a59df3ae30c9336a6ed2748b5fb0c56d1" title="Position structure for utrans_transIncremental() incremental transliteration.">UTransPosition</a>;</div> <div class="line"><a name="l00160"></a><span class="lineno"> 160</span> </div> <div class="line"><a name="l00161"></a><span class="lineno"> 161</span> <span class="comment">/********************************************************************</span></div> <div class="line"><a name="l00162"></a><span class="lineno"> 162</span> <span class="comment"> * General API</span></div> <div class="line"><a name="l00163"></a><span class="lineno"> 163</span> <span class="comment"> ********************************************************************/</span></div> <div class="line"><a name="l00164"></a><span class="lineno"> 164</span> </div> <div class="line"><a name="l00188"></a><span class="lineno"> 188</span> <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="utrans_8h.html#a1230b61c2370123b3f17d88dcdc13154" title="An opaque transliterator for use in C.">UTransliterator</a>* U_EXPORT2</div> <div class="line"><a name="l00189"></a><span class="lineno"> 189</span> <a class="code" href="utrans_8h.html#a014170af31c08e811a61c6b4109b20c9" title="Open a custom transliterator, given a custom rules string OR a system transliterator, given its ID.">utrans_openU</a>(<span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a> *<span class="keywordtype">id</span>,</div> <div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  int32_t idLength,</div> <div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  <a class="code" href="utrans_8h.html#a04f480e9e8e40f0d8067521668dc06ec" title="Direction constant indicating the direction in a transliterator, e.g., the forward or reverse rules o...">UTransDirection</a> dir,</div> <div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a> *rules,</div> <div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  int32_t rulesLength,</div> <div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  <a class="code" href="structUParseError.html" title="A UParseError struct is used to returned detailed information about parsing errors.">UParseError</a> *parseError,</div> <div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> *pErrorCode);</div> <div class="line"><a name="l00196"></a><span class="lineno"> 196</span> </div> <div class="line"><a name="l00212"></a><span class="lineno"> 212</span> <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="utrans_8h.html#a1230b61c2370123b3f17d88dcdc13154" title="An opaque transliterator for use in C.">UTransliterator</a>* U_EXPORT2 </div> <div class="line"><a name="l00213"></a><span class="lineno"> 213</span> <a class="code" href="utrans_8h.html#a9dbdef3ebe320c3e4da826af27ca8bf5" title="Open an inverse of an existing transliterator.">utrans_openInverse</a>(<span class="keyword">const</span> <a class="code" href="utrans_8h.html#a1230b61c2370123b3f17d88dcdc13154" title="An opaque transliterator for use in C.">UTransliterator</a>* trans,</div> <div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* status);</div> <div class="line"><a name="l00215"></a><span class="lineno"> 215</span> </div> <div class="line"><a name="l00226"></a><span class="lineno"> 226</span> <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="utrans_8h.html#a1230b61c2370123b3f17d88dcdc13154" title="An opaque transliterator for use in C.">UTransliterator</a>* U_EXPORT2 </div> <div class="line"><a name="l00227"></a><span class="lineno"> 227</span> <a class="code" href="utrans_8h.html#ac271881fd04dff0dc71bc1d25c807fae" title="Create a copy of a transliterator.">utrans_clone</a>(<span class="keyword">const</span> <a class="code" href="utrans_8h.html#a1230b61c2370123b3f17d88dcdc13154" title="An opaque transliterator for use in C.">UTransliterator</a>* trans,</div> <div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* status);</div> <div class="line"><a name="l00229"></a><span class="lineno"> 229</span> </div> <div class="line"><a name="l00236"></a><span class="lineno"> 236</span> <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> U_EXPORT2 </div> <div class="line"><a name="l00237"></a><span class="lineno"> 237</span> <a class="code" href="utrans_8h.html#a148066969cc61b36a8cbcc76f7dd02f8" title="Close a transliterator.">utrans_close</a>(<a class="code" href="utrans_8h.html#a1230b61c2370123b3f17d88dcdc13154" title="An opaque transliterator for use in C.">UTransliterator</a>* trans);</div> <div class="line"><a name="l00238"></a><span class="lineno"> 238</span> </div> <div class="line"><a name="l00239"></a><span class="lineno"> 239</span> <span class="preprocessor">#if U_SHOW_CPLUSPLUS_API</span></div> <div class="line"><a name="l00240"></a><span class="lineno"> 240</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00241"></a><span class="lineno"> 241</span> <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></div> <div class="line"><a name="l00242"></a><span class="lineno"> 242</span> </div> <div class="line"><a name="l00252"></a><span class="lineno"> 252</span> <a class="code" href="localpointer_8h.html#a3030f841466c4bbbd465ac9c4b999549" title=""Smart pointer" definition macro, deletes objects via the closeFunction.">U_DEFINE_LOCAL_OPEN_POINTER</a>(<a class="code" href="classLocalUTransliteratorPointer.html" title=""Smart pointer" class, closes a UTransliterator via utrans_close().">LocalUTransliteratorPointer</a>, <a class="code" href="utrans_8h.html#a1230b61c2370123b3f17d88dcdc13154" title="An opaque transliterator for use in C.">UTransliterator</a>, <a class="code" href="utrans_8h.html#a148066969cc61b36a8cbcc76f7dd02f8" title="Close a transliterator.">utrans_close</a>);</div> <div class="line"><a name="l00253"></a><span class="lineno"> 253</span> </div> <div class="line"><a name="l00254"></a><span class="lineno"> 254</span> <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></div> <div class="line"><a name="l00255"></a><span class="lineno"> 255</span> </div> <div class="line"><a name="l00256"></a><span class="lineno"> 256</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00257"></a><span class="lineno"> 257</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00272"></a><span class="lineno"> 272</span> <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="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a> * U_EXPORT2</div> <div class="line"><a name="l00273"></a><span class="lineno"> 273</span> <a class="code" href="utrans_8h.html#a1f2aa5ab7f6dd0fb220602db34975367" title="Return the programmatic identifier for this transliterator.">utrans_getUnicodeID</a>(<span class="keyword">const</span> <a class="code" href="utrans_8h.html#a1230b61c2370123b3f17d88dcdc13154" title="An opaque transliterator for use in C.">UTransliterator</a> *trans,</div> <div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  int32_t *resultLength);</div> <div class="line"><a name="l00275"></a><span class="lineno"> 275</span> </div> <div class="line"><a name="l00290"></a><span class="lineno"> 290</span> <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> U_EXPORT2 </div> <div class="line"><a name="l00291"></a><span class="lineno"> 291</span> <a class="code" href="utrans_8h.html#a1d456df4a9bffef39f2a209283b30c4d" title="Register an open transliterator with the system.">utrans_register</a>(<a class="code" href="utrans_8h.html#a1230b61c2370123b3f17d88dcdc13154" title="An opaque transliterator for use in C.">UTransliterator</a>* adoptedTrans,</div> <div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* status);</div> <div class="line"><a name="l00293"></a><span class="lineno"> 293</span> </div> <div class="line"><a name="l00303"></a><span class="lineno"> 303</span> <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> U_EXPORT2</div> <div class="line"><a name="l00304"></a><span class="lineno"> 304</span> <a class="code" href="utrans_8h.html#a6ee706f8cfbda8f7efbd844415700c74" title="Unregister a transliterator from the system.">utrans_unregisterID</a>(<span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a>* <span class="keywordtype">id</span>, int32_t idLength);</div> <div class="line"><a name="l00305"></a><span class="lineno"> 305</span> </div> <div class="line"><a name="l00324"></a><span class="lineno"> 324</span> <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> U_EXPORT2 </div> <div class="line"><a name="l00325"></a><span class="lineno"> 325</span> <a class="code" href="utrans_8h.html#aa2523d2f0eb13e3011980cb9d9d0bfa0" title="Set the filter used by a transliterator.">utrans_setFilter</a>(<a class="code" href="utrans_8h.html#a1230b61c2370123b3f17d88dcdc13154" title="An opaque transliterator for use in C.">UTransliterator</a>* trans,</div> <div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a>* filterPattern,</div> <div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  int32_t filterPatternLen,</div> <div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* status);</div> <div class="line"><a name="l00329"></a><span class="lineno"> 329</span> </div> <div class="line"><a name="l00337"></a><span class="lineno"> 337</span> <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 U_EXPORT2 </div> <div class="line"><a name="l00338"></a><span class="lineno"> 338</span> <a class="code" href="utrans_8h.html#a9153da8ece577f232fd2a48d4c412577" title="Return the number of system transliterators.">utrans_countAvailableIDs</a>(<span class="keywordtype">void</span>);</div> <div class="line"><a name="l00339"></a><span class="lineno"> 339</span> </div> <div class="line"><a name="l00349"></a><span class="lineno"> 349</span> <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="uenum_8h.html#a32b7253b2148022535be36a9fcdb5a8d" title="structure representing an enumeration object instance">UEnumeration</a> * U_EXPORT2</div> <div class="line"><a name="l00350"></a><span class="lineno"> 350</span> <a class="code" href="utrans_8h.html#a489c970cc731dac45c3bb5cced4ccb52" title="Return a UEnumeration for the available transliterators.">utrans_openIDs</a>(<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> *pErrorCode);</div> <div class="line"><a name="l00351"></a><span class="lineno"> 351</span> </div> <div class="line"><a name="l00352"></a><span class="lineno"> 352</span> <span class="comment">/********************************************************************</span></div> <div class="line"><a name="l00353"></a><span class="lineno"> 353</span> <span class="comment"> * Transliteration API</span></div> <div class="line"><a name="l00354"></a><span class="lineno"> 354</span> <span class="comment"> ********************************************************************/</span></div> <div class="line"><a name="l00355"></a><span class="lineno"> 355</span> </div> <div class="line"><a name="l00379"></a><span class="lineno"> 379</span> <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> U_EXPORT2 </div> <div class="line"><a name="l00380"></a><span class="lineno"> 380</span> <a class="code" href="utrans_8h.html#a183f6e0cd5b9ef82f3be82c1f6a1b20a" title="Transliterate a segment of a UReplaceable string.">utrans_trans</a>(<span class="keyword">const</span> <a class="code" href="utrans_8h.html#a1230b61c2370123b3f17d88dcdc13154" title="An opaque transliterator for use in C.">UTransliterator</a>* trans,</div> <div class="line"><a name="l00381"></a><span class="lineno"> 381</span>  <a class="code" href="urep_8h.html#a22b35ca6677ac47c2f5b0d01ffbead60" title="An opaque replaceable text object.">UReplaceable</a>* rep,</div> <div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  <a class="code" href="structUReplaceableCallbacks.html" title="A set of function pointers that transliterators use to manipulate a UReplaceable.">UReplaceableCallbacks</a>* repFunc,</div> <div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  int32_t start,</div> <div class="line"><a name="l00384"></a><span class="lineno"> 384</span>  int32_t* limit,</div> <div class="line"><a name="l00385"></a><span class="lineno"> 385</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* status);</div> <div class="line"><a name="l00386"></a><span class="lineno"> 386</span> </div> <div class="line"><a name="l00430"></a><span class="lineno"> 430</span> <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> U_EXPORT2 </div> <div class="line"><a name="l00431"></a><span class="lineno"> 431</span> <a class="code" href="utrans_8h.html#ac22b8fe64729a6c99d750020946adad2" title="Transliterate the portion of the UReplaceable text buffer that can be transliterated unambiguosly...">utrans_transIncremental</a>(<span class="keyword">const</span> <a class="code" href="utrans_8h.html#a1230b61c2370123b3f17d88dcdc13154" title="An opaque transliterator for use in C.">UTransliterator</a>* trans,</div> <div class="line"><a name="l00432"></a><span class="lineno"> 432</span>  <a class="code" href="urep_8h.html#a22b35ca6677ac47c2f5b0d01ffbead60" title="An opaque replaceable text object.">UReplaceable</a>* rep,</div> <div class="line"><a name="l00433"></a><span class="lineno"> 433</span>  <a class="code" href="structUReplaceableCallbacks.html" title="A set of function pointers that transliterators use to manipulate a UReplaceable.">UReplaceableCallbacks</a>* repFunc,</div> <div class="line"><a name="l00434"></a><span class="lineno"> 434</span>  <a class="code" href="structUTransPosition.html" title="Position structure for utrans_transIncremental() incremental transliteration.">UTransPosition</a>* pos,</div> <div class="line"><a name="l00435"></a><span class="lineno"> 435</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* status);</div> <div class="line"><a name="l00436"></a><span class="lineno"> 436</span> </div> <div class="line"><a name="l00468"></a><span class="lineno"> 468</span> <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> U_EXPORT2 </div> <div class="line"><a name="l00469"></a><span class="lineno"> 469</span> <a class="code" href="utrans_8h.html#af415d8aa51e79d4494ebb8ef8fc76ae2" title="Transliterate a segment of a UChar* string.">utrans_transUChars</a>(<span class="keyword">const</span> <a class="code" href="utrans_8h.html#a1230b61c2370123b3f17d88dcdc13154" title="An opaque transliterator for use in C.">UTransliterator</a>* trans,</div> <div class="line"><a name="l00470"></a><span class="lineno"> 470</span>  <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a>* text,</div> <div class="line"><a name="l00471"></a><span class="lineno"> 471</span>  int32_t* textLength,</div> <div class="line"><a name="l00472"></a><span class="lineno"> 472</span>  int32_t textCapacity,</div> <div class="line"><a name="l00473"></a><span class="lineno"> 473</span>  int32_t start,</div> <div class="line"><a name="l00474"></a><span class="lineno"> 474</span>  int32_t* limit,</div> <div class="line"><a name="l00475"></a><span class="lineno"> 475</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* status);</div> <div class="line"><a name="l00476"></a><span class="lineno"> 476</span> </div> <div class="line"><a name="l00503"></a><span class="lineno"> 503</span> <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> U_EXPORT2 </div> <div class="line"><a name="l00504"></a><span class="lineno"> 504</span> <a class="code" href="utrans_8h.html#a9c1e78cfd3e397ea4d8218b4e2572735" title="Transliterate the portion of the UChar* text buffer that can be transliterated unambiguosly.">utrans_transIncrementalUChars</a>(<span class="keyword">const</span> <a class="code" href="utrans_8h.html#a1230b61c2370123b3f17d88dcdc13154" title="An opaque transliterator for use in C.">UTransliterator</a>* trans,</div> <div class="line"><a name="l00505"></a><span class="lineno"> 505</span>  <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a>* text,</div> <div class="line"><a name="l00506"></a><span class="lineno"> 506</span>  int32_t* textLength,</div> <div class="line"><a name="l00507"></a><span class="lineno"> 507</span>  int32_t textCapacity,</div> <div class="line"><a name="l00508"></a><span class="lineno"> 508</span>  <a class="code" href="structUTransPosition.html" title="Position structure for utrans_transIncremental() incremental transliteration.">UTransPosition</a>* pos,</div> <div class="line"><a name="l00509"></a><span class="lineno"> 509</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* status);</div> <div class="line"><a name="l00510"></a><span class="lineno"> 510</span> </div> <div class="line"><a name="l00511"></a><span class="lineno"> 511</span> <span class="comment">/* deprecated API ----------------------------------------------------------- */</span></div> <div class="line"><a name="l00512"></a><span class="lineno"> 512</span> </div> <div class="line"><a name="l00513"></a><span class="lineno"> 513</span> <span class="preprocessor">#ifndef U_HIDE_DEPRECATED_API</span></div> <div class="line"><a name="l00514"></a><span class="lineno"> 514</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00515"></a><span class="lineno"> 515</span> <span class="comment">/* see utrans.h documentation for why these functions are deprecated */</span></div> <div class="line"><a name="l00516"></a><span class="lineno"> 516</span> </div> <div class="line"><a name="l00540"></a><span class="lineno"> 540</span> <a class="code" href="umachine_8h.html#a15493bbbc3793fa60b33cad4955430a0" title="This is used to declare a function as a deprecated public ICU C API.">U_DEPRECATED</a> <a class="code" href="utrans_8h.html#a1230b61c2370123b3f17d88dcdc13154" title="An opaque transliterator for use in C.">UTransliterator</a>* U_EXPORT2 </div> <div class="line"><a name="l00541"></a><span class="lineno"> 541</span> <a class="code" href="utrans_8h.html#afaa9d751e1d24617ba1071d8d4c887a3" title="Deprecated, use utrans_openU() instead.">utrans_open</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keywordtype">id</span>,</div> <div class="line"><a name="l00542"></a><span class="lineno"> 542</span>  <a class="code" href="utrans_8h.html#a04f480e9e8e40f0d8067521668dc06ec" title="Direction constant indicating the direction in a transliterator, e.g., the forward or reverse rules o...">UTransDirection</a> dir,</div> <div class="line"><a name="l00543"></a><span class="lineno"> 543</span>  <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a>* rules, <span class="comment">/* may be Null */</span></div> <div class="line"><a name="l00544"></a><span class="lineno"> 544</span>  int32_t rulesLength, <span class="comment">/* -1 if null-terminated */</span> </div> <div class="line"><a name="l00545"></a><span class="lineno"> 545</span>  <a class="code" href="structUParseError.html" title="A UParseError struct is used to returned detailed information about parsing errors.">UParseError</a>* parseError, <span class="comment">/* may be Null */</span></div> <div class="line"><a name="l00546"></a><span class="lineno"> 546</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* status);</div> <div class="line"><a name="l00547"></a><span class="lineno"> 547</span> </div> <div class="line"><a name="l00563"></a><span class="lineno"> 563</span> <a class="code" href="umachine_8h.html#a15493bbbc3793fa60b33cad4955430a0" title="This is used to declare a function as a deprecated public ICU C API.">U_DEPRECATED</a> int32_t U_EXPORT2 </div> <div class="line"><a name="l00564"></a><span class="lineno"> 564</span> <a class="code" href="utrans_8h.html#a5820268446001f80e9cc5fd8c5dc3399" title="Deprecated, use utrans_getUnicodeID() instead.">utrans_getID</a>(<span class="keyword">const</span> <a class="code" href="utrans_8h.html#a1230b61c2370123b3f17d88dcdc13154" title="An opaque transliterator for use in C.">UTransliterator</a>* trans,</div> <div class="line"><a name="l00565"></a><span class="lineno"> 565</span>  <span class="keywordtype">char</span>* buf,</div> <div class="line"><a name="l00566"></a><span class="lineno"> 566</span>  int32_t bufCapacity);</div> <div class="line"><a name="l00567"></a><span class="lineno"> 567</span> </div> <div class="line"><a name="l00577"></a><span class="lineno"> 577</span> <a class="code" href="umachine_8h.html#a15493bbbc3793fa60b33cad4955430a0" title="This is used to declare a function as a deprecated public ICU C API.">U_DEPRECATED</a> <span class="keywordtype">void</span> U_EXPORT2 </div> <div class="line"><a name="l00578"></a><span class="lineno"> 578</span> <a class="code" href="utrans_8h.html#a71b5c2733100e28705a87aa68a99e469" title="Deprecated, use utrans_unregisterID() instead.">utrans_unregister</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keywordtype">id</span>);</div> <div class="line"><a name="l00579"></a><span class="lineno"> 579</span> </div> <div class="line"><a name="l00598"></a><span class="lineno"> 598</span> <a class="code" href="umachine_8h.html#a15493bbbc3793fa60b33cad4955430a0" title="This is used to declare a function as a deprecated public ICU C API.">U_DEPRECATED</a> int32_t U_EXPORT2 </div> <div class="line"><a name="l00599"></a><span class="lineno"> 599</span> <a class="code" href="utrans_8h.html#a7ba86b3ce05c45b22b53cdc718266223" title="Deprecated, use utrans_openIDs() instead.">utrans_getAvailableID</a>(int32_t index,</div> <div class="line"><a name="l00600"></a><span class="lineno"> 600</span>  <span class="keywordtype">char</span>* buf,</div> <div class="line"><a name="l00601"></a><span class="lineno"> 601</span>  int32_t bufCapacity);</div> <div class="line"><a name="l00602"></a><span class="lineno"> 602</span> </div> <div class="line"><a name="l00603"></a><span class="lineno"> 603</span> <span class="preprocessor">#endif </span><span class="comment">/* U_HIDE_DEPRECATED_API */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00604"></a><span class="lineno"> 604</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00605"></a><span class="lineno"> 605</span> <span class="preprocessor">#endif </span><span class="comment">/* #if !UCONFIG_NO_TRANSLITERATION */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00606"></a><span class="lineno"> 606</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00607"></a><span class="lineno"> 607</span> <span class="preprocessor">#endif</span></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Fri Oct 4 2013 14:10:22 for ICU 52.1 by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.1.2 </small></address> </body> </html>