<!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: ures.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_bdd9a5d540de89e9fe90efdfc6973a4f.html">common</a></li><li class="navelem"><a class="el" href="dir_f59c6450ff718ff1b085cfd1c36acbd7.html">unicode</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">ures.h</div> </div> </div><!--header--> <div class="contents"> <a href="ures_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-2012, 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">*</span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">* File URES.H (formerly CRESBUND.H)</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">* Modification History:</span></div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">*</span></div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">* Date Name Description</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">* 04/01/97 aliu Creation.</span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">* 02/22/99 damiba overhaul.</span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">* 04/04/99 helena Fixed internal header inclusion.</span></div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">* 04/15/99 Madhu Updated Javadoc </span></div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment">* 06/14/99 stephen Removed functions taking a filename suffix.</span></div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment">* 07/20/99 stephen Language-independent ypedef to void*</span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">* 11/09/99 weiv Added ures_getLocale()</span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment">* 06/24/02 weiv Added support for resource sharing</span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment">******************************************************************************</span></div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment">*/</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="preprocessor">#ifndef URES_H</span></div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor"></span><span class="preprocessor">#define URES_H</span></div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</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="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include "<a class="code" href="uloc_8h.html" title="C API: Locale.">unicode/uloc.h</a>"</span></div> <div class="line"><a name="l00028"></a><span class="lineno"> 28</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="l00029"></a><span class="lineno"> 29</span> </div> <div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="keyword">struct </span><a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a>;</div> <div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div> <div class="line"><a name="l00057"></a><span class="lineno"><a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe"> 57</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> <a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a>;</div> <div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div> <div class="line"><a name="l00064"></a><span class="lineno"><a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fb"> 64</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> {</div> <div class="line"><a name="l00066"></a><span class="lineno"><a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fbab73cbea3085f99defd0538171d343f03"> 66</a></span>  <a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fbab73cbea3085f99defd0538171d343f03" title="Resource type constant for "no resource".">URES_NONE</a>=-1,</div> <div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </div> <div class="line"><a name="l00069"></a><span class="lineno"><a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fbac4db2a063c1c73cc363b0e21891bc480"> 69</a></span>  <a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fbac4db2a063c1c73cc363b0e21891bc480" title="Resource type constant for 16-bit Unicode strings.">URES_STRING</a>=0,</div> <div class="line"><a name="l00070"></a><span class="lineno"> 70</span> </div> <div class="line"><a name="l00072"></a><span class="lineno"><a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fba7220aa0da13f4d7a1e62a1856026c271"> 72</a></span>  <a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fba7220aa0da13f4d7a1e62a1856026c271" title="Resource type constant for binary data.">URES_BINARY</a>=1,</div> <div class="line"><a name="l00073"></a><span class="lineno"> 73</span> </div> <div class="line"><a name="l00075"></a><span class="lineno"><a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fba2cfd36db6917951f177723df3a58e2b4"> 75</a></span>  <a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fba2cfd36db6917951f177723df3a58e2b4" title="Resource type constant for tables of key-value pairs.">URES_TABLE</a>=2,</div> <div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div> <div class="line"><a name="l00084"></a><span class="lineno"><a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fba6890eb4a8669521aace76b4c854d304e"> 84</a></span>  <a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fba6890eb4a8669521aace76b4c854d304e" title="Resource type constant for aliases; internally stores a string which identifies the actual resource s...">URES_ALIAS</a>=3,</div> <div class="line"><a name="l00085"></a><span class="lineno"> 85</span> </div> <div class="line"><a name="l00093"></a><span class="lineno"><a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fbac71be9c52845b8404c84610320b550ba"> 93</a></span>  <a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fbac71be9c52845b8404c84610320b550ba" title="Resource type constant for a single 28-bit integer, interpreted as signed or unsigned by the ures_get...">URES_INT</a>=7,</div> <div class="line"><a name="l00094"></a><span class="lineno"> 94</span> </div> <div class="line"><a name="l00096"></a><span class="lineno"><a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fbaa2e7a87c3c144d7df2abd973b86512ca"> 96</a></span>  <a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fbaa2e7a87c3c144d7df2abd973b86512ca" title="Resource type constant for arrays of resources.">URES_ARRAY</a>=8,</div> <div class="line"><a name="l00097"></a><span class="lineno"> 97</span> </div> <div class="line"><a name="l00103"></a><span class="lineno"><a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fba6c6b406d49cebed764c515d49dcf73b3"> 103</a></span>  <a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fba6c6b406d49cebed764c515d49dcf73b3" title="Resource type constant for vectors of 32-bit integers.">URES_INT_VECTOR</a> = 14,</div> <div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="preprocessor">#ifndef U_HIDE_DEPRECATED_API</span></div> <div class="line"><a name="l00105"></a><span class="lineno"> 105</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00106"></a><span class="lineno"><a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fba78e3758a381e62148cc4b0438f3c0777"> 106</a></span>  <a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fba78e3758a381e62148cc4b0438f3c0777">RES_NONE</a>=<a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fbab73cbea3085f99defd0538171d343f03" title="Resource type constant for "no resource".">URES_NONE</a>,</div> <div class="line"><a name="l00108"></a><span class="lineno"><a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fbad6c0349cb0484769c040d660de1c7445"> 108</a></span>  <a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fbad6c0349cb0484769c040d660de1c7445">RES_STRING</a>=<a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fbac4db2a063c1c73cc363b0e21891bc480" title="Resource type constant for 16-bit Unicode strings.">URES_STRING</a>,</div> <div class="line"><a name="l00110"></a><span class="lineno"><a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fba2ad74e7a8c734f374bf8b786617fb212"> 110</a></span>  <a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fba2ad74e7a8c734f374bf8b786617fb212">RES_BINARY</a>=<a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fba7220aa0da13f4d7a1e62a1856026c271" title="Resource type constant for binary data.">URES_BINARY</a>,</div> <div class="line"><a name="l00112"></a><span class="lineno"><a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fbac93b5478e79d51b10747d617765069af"> 112</a></span>  <a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fbac93b5478e79d51b10747d617765069af">RES_TABLE</a>=<a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fba2cfd36db6917951f177723df3a58e2b4" title="Resource type constant for tables of key-value pairs.">URES_TABLE</a>,</div> <div class="line"><a name="l00114"></a><span class="lineno"><a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fbae4f137b23dcc82d1b7c5b19d5453b3a1"> 114</a></span>  <a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fbae4f137b23dcc82d1b7c5b19d5453b3a1">RES_ALIAS</a>=<a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fba6890eb4a8669521aace76b4c854d304e" title="Resource type constant for aliases; internally stores a string which identifies the actual resource s...">URES_ALIAS</a>,</div> <div class="line"><a name="l00116"></a><span class="lineno"><a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fbaf1f3ced984a5ff062dae837b00769e9f"> 116</a></span>  <a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fbaf1f3ced984a5ff062dae837b00769e9f">RES_INT</a>=<a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fbac71be9c52845b8404c84610320b550ba" title="Resource type constant for a single 28-bit integer, interpreted as signed or unsigned by the ures_get...">URES_INT</a>,</div> <div class="line"><a name="l00118"></a><span class="lineno"><a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fba2eeb630d6cacdd4cdeae5ae05edfc8bd"> 118</a></span>  <a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fba2eeb630d6cacdd4cdeae5ae05edfc8bd">RES_ARRAY</a>=<a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fbaa2e7a87c3c144d7df2abd973b86512ca" title="Resource type constant for arrays of resources.">URES_ARRAY</a>,</div> <div class="line"><a name="l00120"></a><span class="lineno"><a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fbac5f51dba6417cd88750d7fb32c1cfb7e"> 120</a></span>  <a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fbac5f51dba6417cd88750d7fb32c1cfb7e">RES_INT_VECTOR</a>=<a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fba6c6b406d49cebed764c515d49dcf73b3" title="Resource type constant for vectors of 32-bit integers.">URES_INT_VECTOR</a>,</div> <div class="line"><a name="l00122"></a><span class="lineno"><a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fbabb8f79bd6e07400f6870fe51ae24fcef"> 122</a></span>  <a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fbabb8f79bd6e07400f6870fe51ae24fcef">RES_RESERVED</a>=15, </div> <div class="line"><a name="l00123"></a><span class="lineno"> 123</span> <span class="preprocessor">#endif </span><span class="comment">/* U_HIDE_DEPRECATED_API */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00124"></a><span class="lineno"> 124</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  URES_LIMIT = 16</div> <div class="line"><a name="l00126"></a><span class="lineno"> 126</span> } <a class="code" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fb" title="Numeric constants for types of resource items.">UResType</a>;</div> <div class="line"><a name="l00127"></a><span class="lineno"> 127</span> </div> <div class="line"><a name="l00128"></a><span class="lineno"> 128</span> <span class="comment">/*</span></div> <div class="line"><a name="l00129"></a><span class="lineno"> 129</span> <span class="comment"> * Functions to create and destroy resource bundles.</span></div> <div class="line"><a name="l00130"></a><span class="lineno"> 130</span> <span class="comment"> */</span></div> <div class="line"><a name="l00131"></a><span class="lineno"> 131</span> </div> <div class="line"><a name="l00160"></a><span class="lineno"> 160</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="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a>* U_EXPORT2 </div> <div class="line"><a name="l00161"></a><span class="lineno"> 161</span> <a class="code" href="ures_8h.html#ac4d72fc9f7cc63a05f646cabee4be167" title="Opens a UResourceBundle, from which users can extract strings by using their corresponding keys...">ures_open</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* packageName,</div> <div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* locale, </div> <div class="line"><a name="l00163"></a><span class="lineno"> 163</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="l00164"></a><span class="lineno"> 164</span> </div> <div class="line"><a name="l00165"></a><span class="lineno"> 165</span> </div> <div class="line"><a name="l00183"></a><span class="lineno"> 183</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="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a>* U_EXPORT2 </div> <div class="line"><a name="l00184"></a><span class="lineno"> 184</span> <a class="code" href="ures_8h.html#a261fcbb263bbe48b13d2b3e2fc2470a0" title="This function does not care what kind of localeID is passed in.">ures_openDirect</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* packageName, </div> <div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* locale, </div> <div class="line"><a name="l00186"></a><span class="lineno"> 186</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="l00187"></a><span class="lineno"> 187</span> </div> <div class="line"><a name="l00206"></a><span class="lineno"> 206</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="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a>* U_EXPORT2 </div> <div class="line"><a name="l00207"></a><span class="lineno"> 207</span> <a class="code" href="ures_8h.html#a73d8f9711d915ef1888a7e149f64a9ae" title="Same as ures_open() but takes a const UChar *path.">ures_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>* packageName, </div> <div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* locale, </div> <div class="line"><a name="l00209"></a><span class="lineno"> 209</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="l00210"></a><span class="lineno"> 210</span> </div> <div class="line"><a name="l00211"></a><span class="lineno"> 211</span> <span class="preprocessor">#ifndef U_HIDE_DEPRECATED_API</span></div> <div class="line"><a name="l00212"></a><span class="lineno"> 212</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00228"></a><span class="lineno"> 228</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="l00229"></a><span class="lineno"> 229</span> <a class="code" href="ures_8h.html#a09607e48125e46397a843f255640fe2e" title="Returns the number of strings/arrays in resource bundles.">ures_countArrayItems</a>(<span class="keyword">const</span> <a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a>* resourceBundle,</div> <div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* resourceKey,</div> <div class="line"><a name="l00231"></a><span class="lineno"> 231</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>* err);</div> <div class="line"><a name="l00232"></a><span class="lineno"> 232</span> <span class="preprocessor">#endif </span><span class="comment">/* U_HIDE_DEPRECATED_API */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00233"></a><span class="lineno"> 233</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00241"></a><span class="lineno"> 241</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="l00242"></a><span class="lineno"> 242</span> <a class="code" href="ures_8h.html#addb8be0af245c0f745458e7ad925a490" title="Close a resource bundle, all pointers returned from the various ures_getXXX calls on this particular ...">ures_close</a>(<a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a>* resourceBundle);</div> <div class="line"><a name="l00243"></a><span class="lineno"> 243</span> </div> <div class="line"><a name="l00244"></a><span class="lineno"> 244</span> <span class="preprocessor">#if U_SHOW_CPLUSPLUS_API</span></div> <div class="line"><a name="l00245"></a><span class="lineno"> 245</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00246"></a><span class="lineno"> 246</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="l00247"></a><span class="lineno"> 247</span> </div> <div class="line"><a name="l00257"></a><span class="lineno"> 257</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="classLocalUResourceBundlePointer.html" title=""Smart pointer" class, closes a UResourceBundle via ures_close().">LocalUResourceBundlePointer</a>, <a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a>, <a class="code" href="ures_8h.html#addb8be0af245c0f745458e7ad925a490" title="Close a resource bundle, all pointers returned from the various ures_getXXX calls on this particular ...">ures_close</a>);</div> <div class="line"><a name="l00258"></a><span class="lineno"> 258</span> </div> <div class="line"><a name="l00259"></a><span class="lineno"> 259</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="l00260"></a><span class="lineno"> 260</span> </div> <div class="line"><a name="l00261"></a><span class="lineno"> 261</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00262"></a><span class="lineno"> 262</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00263"></a><span class="lineno"> 263</span> <span class="preprocessor">#ifndef U_HIDE_DEPRECATED_API</span></div> <div class="line"><a name="l00264"></a><span class="lineno"> 264</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00274"></a><span class="lineno"> 274</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="keyword">const</span> <span class="keywordtype">char</span>* U_EXPORT2 </div> <div class="line"><a name="l00275"></a><span class="lineno"> 275</span> <a class="code" href="ures_8h.html#a33679a8207b84dda51bff3e30c04174f" title="Return the version number associated with this ResourceBundle as a string.">ures_getVersionNumber</a>(<span class="keyword">const</span> <a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a>* resourceBundle);</div> <div class="line"><a name="l00276"></a><span class="lineno"> 276</span> <span class="preprocessor">#endif </span><span class="comment">/* U_HIDE_DEPRECATED_API */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00277"></a><span class="lineno"> 277</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00287"></a><span class="lineno"> 287</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="l00288"></a><span class="lineno"> 288</span> <a class="code" href="ures_8h.html#a2edd739dcbf0062e0c344b4a4e0a26d2" title="Return the version number associated with this ResourceBundle as an UVersionInfo array.">ures_getVersion</a>(<span class="keyword">const</span> <a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a>* resB, </div> <div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  <a class="code" href="uversion_8h.html#a61caef96ba86d8e86a4031925ea44e94" title="The binary form of a version on ICU APIs is an array of 4 uint8_t.">UVersionInfo</a> versionInfo);</div> <div class="line"><a name="l00290"></a><span class="lineno"> 290</span> </div> <div class="line"><a name="l00291"></a><span class="lineno"> 291</span> <span class="preprocessor">#ifndef U_HIDE_DEPRECATED_API</span></div> <div class="line"><a name="l00292"></a><span class="lineno"> 292</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00304"></a><span class="lineno"> 304</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="keyword">const</span> <span class="keywordtype">char</span>* U_EXPORT2 </div> <div class="line"><a name="l00305"></a><span class="lineno"> 305</span> <a class="code" href="ures_8h.html#a82bdc1bb4f0afdb2d263c3589eaa9b62" title="Return the name of the Locale associated with this ResourceBundle.">ures_getLocale</a>(<span class="keyword">const</span> <a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a>* resourceBundle, </div> <div class="line"><a name="l00306"></a><span class="lineno"> 306</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="l00307"></a><span class="lineno"> 307</span> <span class="preprocessor">#endif </span><span class="comment">/* U_HIDE_DEPRECATED_API */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00308"></a><span class="lineno"> 308</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00321"></a><span class="lineno"> 321</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> <span class="keywordtype">char</span>* U_EXPORT2 </div> <div class="line"><a name="l00322"></a><span class="lineno"> 322</span> <a class="code" href="ures_8h.html#a39d1e5c7a265c24ebaa684b55a74c0e0" title="Return the name of the Locale associated with this ResourceBundle.">ures_getLocaleByType</a>(<span class="keyword">const</span> <a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a>* resourceBundle, </div> <div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  <a class="code" href="uloc_8h.html#adf053345d343f8d82ae080f7a5871f34" title="Constants for *_getLocale() Allow user to select whether she wants information on requested...">ULocDataLocaleType</a> type, </div> <div class="line"><a name="l00324"></a><span class="lineno"> 324</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="l00325"></a><span class="lineno"> 325</span> </div> <div class="line"><a name="l00326"></a><span class="lineno"> 326</span> </div> <div class="line"><a name="l00327"></a><span class="lineno"> 327</span> <span class="preprocessor">#ifndef U_HIDE_INTERNAL_API</span></div> <div class="line"><a name="l00328"></a><span class="lineno"> 328</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00344"></a><span class="lineno"> 344</span> <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> <span class="keywordtype">void</span> U_EXPORT2 </div> <div class="line"><a name="l00345"></a><span class="lineno"> 345</span> <a class="code" href="ures_8h.html#a41dc0b7aa46942d3034ffce73adf9aea" title="Same as ures_open() but uses the fill-in parameter instead of allocating a bundle, if r!=NULL.">ures_openFillIn</a>(<a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *r, </div> <div class="line"><a name="l00346"></a><span class="lineno"> 346</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* packageName,</div> <div class="line"><a name="l00347"></a><span class="lineno"> 347</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* localeID, </div> <div class="line"><a name="l00348"></a><span class="lineno"> 348</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="l00349"></a><span class="lineno"> 349</span> <span class="preprocessor">#endif </span><span class="comment">/* U_HIDE_INTERNAL_API */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00350"></a><span class="lineno"> 350</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00368"></a><span class="lineno"> 368</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="l00369"></a><span class="lineno"> 369</span> <a class="code" href="ures_8h.html#a088b560881f84521caefc1513efc45af" title="Returns a string from a string resource type.">ures_getString</a>(<span class="keyword">const</span> <a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a>* resourceBundle, </div> <div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  int32_t* len, </div> <div class="line"><a name="l00371"></a><span class="lineno"> 371</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="l00372"></a><span class="lineno"> 372</span> </div> <div class="line"><a name="l00420"></a><span class="lineno"> 420</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> <span class="keywordtype">char</span> * U_EXPORT2</div> <div class="line"><a name="l00421"></a><span class="lineno"> 421</span> <a class="code" href="ures_8h.html#a1dd8d20a524c70ef8ec9943221f82021" title="Returns a UTF-8 string from a string resource.">ures_getUTF8String</a>(<span class="keyword">const</span> <a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resB,</div> <div class="line"><a name="l00422"></a><span class="lineno"> 422</span>  <span class="keywordtype">char</span> *dest, int32_t *length,</div> <div class="line"><a name="l00423"></a><span class="lineno"> 423</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> forceCopy,</div> <div class="line"><a name="l00424"></a><span class="lineno"> 424</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="l00425"></a><span class="lineno"> 425</span> </div> <div class="line"><a name="l00443"></a><span class="lineno"> 443</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> uint8_t* U_EXPORT2 </div> <div class="line"><a name="l00444"></a><span class="lineno"> 444</span> <a class="code" href="ures_8h.html#a3d29628c77fb9c5fffa412257aa743cc" title="Returns a binary data from a binary resource.">ures_getBinary</a>(<span class="keyword">const</span> <a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a>* resourceBundle, </div> <div class="line"><a name="l00445"></a><span class="lineno"> 445</span>  int32_t* len, </div> <div class="line"><a name="l00446"></a><span class="lineno"> 446</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="l00447"></a><span class="lineno"> 447</span> </div> <div class="line"><a name="l00465"></a><span class="lineno"> 465</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> int32_t* U_EXPORT2 </div> <div class="line"><a name="l00466"></a><span class="lineno"> 466</span> <a class="code" href="ures_8h.html#ae89d1bc77281a8a61896f6615cd506ea" title="Returns a 32 bit integer array from a resource.">ures_getIntVector</a>(<span class="keyword">const</span> <a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a>* resourceBundle, </div> <div class="line"><a name="l00467"></a><span class="lineno"> 467</span>  int32_t* len, </div> <div class="line"><a name="l00468"></a><span class="lineno"> 468</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="l00469"></a><span class="lineno"> 469</span> </div> <div class="line"><a name="l00486"></a><span class="lineno"> 486</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> uint32_t U_EXPORT2 </div> <div class="line"><a name="l00487"></a><span class="lineno"> 487</span> <a class="code" href="ures_8h.html#aa21170067cf90e1d492b4806f31c6a9c" title="Returns an unsigned integer from a resource.">ures_getUInt</a>(<span class="keyword">const</span> <a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a>* resourceBundle, </div> <div class="line"><a name="l00488"></a><span class="lineno"> 488</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="l00489"></a><span class="lineno"> 489</span> </div> <div class="line"><a name="l00506"></a><span class="lineno"> 506</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="l00507"></a><span class="lineno"> 507</span> <a class="code" href="ures_8h.html#ab718b0e9c6e06a2bbcce9a71e04b185e" title="Returns a signed integer from a resource.">ures_getInt</a>(<span class="keyword">const</span> <a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a>* resourceBundle, </div> <div class="line"><a name="l00508"></a><span class="lineno"> 508</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="l00509"></a><span class="lineno"> 509</span> </div> <div class="line"><a name="l00520"></a><span class="lineno"> 520</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="l00521"></a><span class="lineno"> 521</span> <a class="code" href="ures_8h.html#a4eb5d79c3799ee8cfe0cbd96322581bd" title="Returns the size of a resource.">ures_getSize</a>(<span class="keyword">const</span> <a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resourceBundle);</div> <div class="line"><a name="l00522"></a><span class="lineno"> 522</span> </div> <div class="line"><a name="l00531"></a><span class="lineno"> 531</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="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fb" title="Numeric constants for types of resource items.">UResType</a> U_EXPORT2 </div> <div class="line"><a name="l00532"></a><span class="lineno"> 532</span> <a class="code" href="ures_8h.html#a77ac531cd4bdc588efd21b2d9b7e2471" title="Returns the type of a resource.">ures_getType</a>(<span class="keyword">const</span> <a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resourceBundle);</div> <div class="line"><a name="l00533"></a><span class="lineno"> 533</span> </div> <div class="line"><a name="l00542"></a><span class="lineno"> 542</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> <span class="keywordtype">char</span> * U_EXPORT2 </div> <div class="line"><a name="l00543"></a><span class="lineno"> 543</span> <a class="code" href="ures_8h.html#a9c391e946d5d4bc204c1cc7798de6668" title="Returns the key associated with a given resource.">ures_getKey</a>(<span class="keyword">const</span> <a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resourceBundle);</div> <div class="line"><a name="l00544"></a><span class="lineno"> 544</span> </div> <div class="line"><a name="l00545"></a><span class="lineno"> 545</span> <span class="comment">/* ITERATION API </span></div> <div class="line"><a name="l00546"></a><span class="lineno"> 546</span> <span class="comment"> This API provides means for iterating through a resource</span></div> <div class="line"><a name="l00547"></a><span class="lineno"> 547</span> <span class="comment">*/</span></div> <div class="line"><a name="l00548"></a><span class="lineno"> 548</span> </div> <div class="line"><a name="l00555"></a><span class="lineno"> 555</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="l00556"></a><span class="lineno"> 556</span> <a class="code" href="ures_8h.html#ab0755e4d54d950e32acc785cbc46c431" title="Resets the internal context of a resource so that iteration starts from the first element...">ures_resetIterator</a>(<a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resourceBundle);</div> <div class="line"><a name="l00557"></a><span class="lineno"> 557</span> </div> <div class="line"><a name="l00565"></a><span class="lineno"> 565</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="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> U_EXPORT2 </div> <div class="line"><a name="l00566"></a><span class="lineno"> 566</span> <a class="code" href="ures_8h.html#a787089fdc0669fe3ec7f5023b628a642" title="Checks whether the given resource has another element to iterate over.">ures_hasNext</a>(<span class="keyword">const</span> <a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resourceBundle);</div> <div class="line"><a name="l00567"></a><span class="lineno"> 567</span> </div> <div class="line"><a name="l00580"></a><span class="lineno"> 580</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="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a>* U_EXPORT2 </div> <div class="line"><a name="l00581"></a><span class="lineno"> 581</span> <a class="code" href="ures_8h.html#a04ad67a1b8feaca7b817ce51e4878d1d" title="Returns the next resource in a given resource or NULL if there are no more resources to iterate over...">ures_getNextResource</a>(<a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resourceBundle, </div> <div class="line"><a name="l00582"></a><span class="lineno"> 582</span>  <a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *fillIn, </div> <div class="line"><a name="l00583"></a><span class="lineno"> 583</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="l00584"></a><span class="lineno"> 584</span> </div> <div class="line"><a name="l00597"></a><span class="lineno"> 597</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="l00598"></a><span class="lineno"> 598</span> <a class="code" href="ures_8h.html#ab3c74eb748adde7d83bd8a9ac52bb58e" title="Returns the next string in a given resource or NULL if there are no more resources to iterate over...">ures_getNextString</a>(<a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resourceBundle, </div> <div class="line"><a name="l00599"></a><span class="lineno"> 599</span>  int32_t* len, </div> <div class="line"><a name="l00600"></a><span class="lineno"> 600</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> ** key, </div> <div class="line"><a name="l00601"></a><span class="lineno"> 601</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="l00602"></a><span class="lineno"> 602</span> </div> <div class="line"><a name="l00615"></a><span class="lineno"> 615</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="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a>* U_EXPORT2 </div> <div class="line"><a name="l00616"></a><span class="lineno"> 616</span> <a class="code" href="ures_8h.html#aae9284d2a6a4c8169cc2e7c7d89a29e6" title="Returns the resource in a given resource at the specified index.">ures_getByIndex</a>(<span class="keyword">const</span> <a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resourceBundle, </div> <div class="line"><a name="l00617"></a><span class="lineno"> 617</span>  int32_t indexR, </div> <div class="line"><a name="l00618"></a><span class="lineno"> 618</span>  <a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *fillIn, </div> <div class="line"><a name="l00619"></a><span class="lineno"> 619</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="l00620"></a><span class="lineno"> 620</span> </div> <div class="line"><a name="l00632"></a><span class="lineno"> 632</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="l00633"></a><span class="lineno"> 633</span> <a class="code" href="ures_8h.html#a1ac2f42ee782365ab291f6135e5b0073" title="Returns the string in a given resource at the specified index.">ures_getStringByIndex</a>(<span class="keyword">const</span> <a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resourceBundle, </div> <div class="line"><a name="l00634"></a><span class="lineno"> 634</span>  int32_t indexS, </div> <div class="line"><a name="l00635"></a><span class="lineno"> 635</span>  int32_t* len, </div> <div class="line"><a name="l00636"></a><span class="lineno"> 636</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="l00637"></a><span class="lineno"> 637</span> </div> <div class="line"><a name="l00686"></a><span class="lineno"> 686</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> <span class="keywordtype">char</span> * U_EXPORT2</div> <div class="line"><a name="l00687"></a><span class="lineno"> 687</span> <a class="code" href="ures_8h.html#af692a3738524bbf6c30bfa56a2135b5b" title="Returns a UTF-8 string from a resource at the specified index.">ures_getUTF8StringByIndex</a>(<span class="keyword">const</span> <a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resB,</div> <div class="line"><a name="l00688"></a><span class="lineno"> 688</span>  int32_t stringIndex,</div> <div class="line"><a name="l00689"></a><span class="lineno"> 689</span>  <span class="keywordtype">char</span> *dest, int32_t *pLength,</div> <div class="line"><a name="l00690"></a><span class="lineno"> 690</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> forceCopy,</div> <div class="line"><a name="l00691"></a><span class="lineno"> 691</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="l00692"></a><span class="lineno"> 692</span> </div> <div class="line"><a name="l00705"></a><span class="lineno"> 705</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="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a>* U_EXPORT2 </div> <div class="line"><a name="l00706"></a><span class="lineno"> 706</span> <a class="code" href="ures_8h.html#a9cffc29afd81c60f4a3ce2c8dadf8e98" title="Returns a resource in a given resource that has a given key.">ures_getByKey</a>(<span class="keyword">const</span> <a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resourceBundle, </div> <div class="line"><a name="l00707"></a><span class="lineno"> 707</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* key, </div> <div class="line"><a name="l00708"></a><span class="lineno"> 708</span>  <a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *fillIn, </div> <div class="line"><a name="l00709"></a><span class="lineno"> 709</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="l00710"></a><span class="lineno"> 710</span> </div> <div class="line"><a name="l00723"></a><span class="lineno"> 723</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="l00724"></a><span class="lineno"> 724</span> <a class="code" href="ures_8h.html#a59b808cfa2bdd08497219849cdeff140" title="Returns a string in a given resource that has a given key.">ures_getStringByKey</a>(<span class="keyword">const</span> <a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resB, </div> <div class="line"><a name="l00725"></a><span class="lineno"> 725</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* key, </div> <div class="line"><a name="l00726"></a><span class="lineno"> 726</span>  int32_t* len, </div> <div class="line"><a name="l00727"></a><span class="lineno"> 727</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="l00728"></a><span class="lineno"> 728</span> </div> <div class="line"><a name="l00779"></a><span class="lineno"> 779</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> <span class="keywordtype">char</span> * U_EXPORT2</div> <div class="line"><a name="l00780"></a><span class="lineno"> 780</span> <a class="code" href="ures_8h.html#a7fbb24a527a74807dded377ca0ecd41c" title="Returns a UTF-8 string from a resource and a key.">ures_getUTF8StringByKey</a>(<span class="keyword">const</span> <a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resB,</div> <div class="line"><a name="l00781"></a><span class="lineno"> 781</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *key,</div> <div class="line"><a name="l00782"></a><span class="lineno"> 782</span>  <span class="keywordtype">char</span> *dest, int32_t *pLength,</div> <div class="line"><a name="l00783"></a><span class="lineno"> 783</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> forceCopy,</div> <div class="line"><a name="l00784"></a><span class="lineno"> 784</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="l00785"></a><span class="lineno"> 785</span> </div> <div class="line"><a name="l00786"></a><span class="lineno"> 786</span> <span class="preprocessor">#if U_SHOW_CPLUSPLUS_API</span></div> <div class="line"><a name="l00787"></a><span class="lineno"> 787</span> <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="unistr_8h.html" title="C++ API: Unicode String.">unicode/unistr.h</a>"</span></div> <div class="line"><a name="l00788"></a><span class="lineno"> 788</span> </div> <div class="line"><a name="l00789"></a><span class="lineno"> 789</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="l00801"></a><span class="lineno"> 801</span> <span class="keyword">inline</span> UnicodeString </div> <div class="line"><a name="l00802"></a><span class="lineno"><a class="code" href="namespaceicu.html#a185e4edd9f514a6db6f0eb2c4d79ae45"> 802</a></span> <a class="code" href="namespaceicu.html#a185e4edd9f514a6db6f0eb2c4d79ae45" title="returns a string from a string resource type">ures_getUnicodeString</a>(<span class="keyword">const</span> <a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resB, </div> <div class="line"><a name="l00803"></a><span class="lineno"> 803</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="l00804"></a><span class="lineno"> 804</span> {</div> <div class="line"><a name="l00805"></a><span class="lineno"> 805</span>  int32_t len = 0;</div> <div class="line"><a name="l00806"></a><span class="lineno"> 806</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> *r = <a class="code" href="ures_8h.html#a088b560881f84521caefc1513efc45af" title="Returns a string from a string resource type.">ures_getString</a>(resB, &len, status);</div> <div class="line"><a name="l00807"></a><span class="lineno"> 807</span>  <span class="keywordflow">return</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>(<a class="code" href="umachine_8h.html#aa8cecfc5c5c054d2875c03e77b7be15d" title="The TRUE value of a UBool.">TRUE</a>, r, len);</div> <div class="line"><a name="l00808"></a><span class="lineno"> 808</span> }</div> <div class="line"><a name="l00809"></a><span class="lineno"> 809</span> </div> <div class="line"><a name="l00820"></a><span class="lineno"> 820</span> <span class="keyword">inline</span> UnicodeString </div> <div class="line"><a name="l00821"></a><span class="lineno"><a class="code" href="namespaceicu.html#a8b68095f54a88db29bff6431bfc8d15c"> 821</a></span> <a class="code" href="namespaceicu.html#a8b68095f54a88db29bff6431bfc8d15c" title="Returns the next string in a resource or NULL if there are no more resources to iterate over...">ures_getNextUnicodeString</a>(<a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resB, </div> <div class="line"><a name="l00822"></a><span class="lineno"> 822</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> ** key, </div> <div class="line"><a name="l00823"></a><span class="lineno"> 823</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="l00824"></a><span class="lineno"> 824</span> {</div> <div class="line"><a name="l00825"></a><span class="lineno"> 825</span>  int32_t len = 0;</div> <div class="line"><a name="l00826"></a><span class="lineno"> 826</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>* r = <a class="code" href="ures_8h.html#ab3c74eb748adde7d83bd8a9ac52bb58e" title="Returns the next string in a given resource or NULL if there are no more resources to iterate over...">ures_getNextString</a>(resB, &len, key, status);</div> <div class="line"><a name="l00827"></a><span class="lineno"> 827</span>  <span class="keywordflow">return</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>(<a class="code" href="umachine_8h.html#aa8cecfc5c5c054d2875c03e77b7be15d" title="The TRUE value of a UBool.">TRUE</a>, r, len);</div> <div class="line"><a name="l00828"></a><span class="lineno"> 828</span> }</div> <div class="line"><a name="l00829"></a><span class="lineno"> 829</span> </div> <div class="line"><a name="l00839"></a><span class="lineno"> 839</span> <span class="keyword">inline</span> UnicodeString </div> <div class="line"><a name="l00840"></a><span class="lineno"><a class="code" href="namespaceicu.html#a3a13d2ba27419ce3145b588b68d8b1ad"> 840</a></span> <a class="code" href="namespaceicu.html#a3a13d2ba27419ce3145b588b68d8b1ad" title="Returns the string in a given resource at the specified index.">ures_getUnicodeStringByIndex</a>(<span class="keyword">const</span> <a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resB, </div> <div class="line"><a name="l00841"></a><span class="lineno"> 841</span>  int32_t indexS, </div> <div class="line"><a name="l00842"></a><span class="lineno"> 842</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="l00843"></a><span class="lineno"> 843</span> {</div> <div class="line"><a name="l00844"></a><span class="lineno"> 844</span>  int32_t len = 0;</div> <div class="line"><a name="l00845"></a><span class="lineno"> 845</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>* r = <a class="code" href="ures_8h.html#a1ac2f42ee782365ab291f6135e5b0073" title="Returns the string in a given resource at the specified index.">ures_getStringByIndex</a>(resB, indexS, &len, status);</div> <div class="line"><a name="l00846"></a><span class="lineno"> 846</span>  <span class="keywordflow">return</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>(<a class="code" href="umachine_8h.html#aa8cecfc5c5c054d2875c03e77b7be15d" title="The TRUE value of a UBool.">TRUE</a>, r, len);</div> <div class="line"><a name="l00847"></a><span class="lineno"> 847</span> }</div> <div class="line"><a name="l00848"></a><span class="lineno"> 848</span> </div> <div class="line"><a name="l00859"></a><span class="lineno"> 859</span> <span class="keyword">inline</span> UnicodeString </div> <div class="line"><a name="l00860"></a><span class="lineno"><a class="code" href="namespaceicu.html#ae46616172b8435c67b406e56db09f283"> 860</a></span> <a class="code" href="namespaceicu.html#ae46616172b8435c67b406e56db09f283" title="Returns a string in a resource that has a given key.">ures_getUnicodeStringByKey</a>(<span class="keyword">const</span> <a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resB, </div> <div class="line"><a name="l00861"></a><span class="lineno"> 861</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* key, </div> <div class="line"><a name="l00862"></a><span class="lineno"> 862</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="l00863"></a><span class="lineno"> 863</span> {</div> <div class="line"><a name="l00864"></a><span class="lineno"> 864</span>  int32_t len = 0;</div> <div class="line"><a name="l00865"></a><span class="lineno"> 865</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>* r = <a class="code" href="ures_8h.html#a59b808cfa2bdd08497219849cdeff140" title="Returns a string in a given resource that has a given key.">ures_getStringByKey</a>(resB, key, &len, status);</div> <div class="line"><a name="l00866"></a><span class="lineno"> 866</span>  <span class="keywordflow">return</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>(<a class="code" href="umachine_8h.html#aa8cecfc5c5c054d2875c03e77b7be15d" title="The TRUE value of a UBool.">TRUE</a>, r, len);</div> <div class="line"><a name="l00867"></a><span class="lineno"> 867</span> }</div> <div class="line"><a name="l00868"></a><span class="lineno"> 868</span> </div> <div class="line"><a name="l00869"></a><span class="lineno"> 869</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="l00870"></a><span class="lineno"> 870</span> </div> <div class="line"><a name="l00871"></a><span class="lineno"> 871</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00872"></a><span class="lineno"> 872</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00881"></a><span class="lineno"> 881</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="l00882"></a><span class="lineno"> 882</span> <a class="code" href="ures_8h.html#af546de139ec4fc9fba12a9fa1debcfac" title="Create a string enumerator, owned by the caller, of all locales located within the specified resource...">ures_openAvailableLocales</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *packageName, <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="l00883"></a><span class="lineno"> 883</span> </div> <div class="line"><a name="l00884"></a><span class="lineno"> 884</span> </div> <div class="line"><a name="l00885"></a><span class="lineno"> 885</span> <span class="preprocessor">#endif </span><span class="comment">/*_URES*/</span><span class="preprocessor"></span></div> <div class="line"><a name="l00886"></a><span class="lineno"> 886</span> <span class="preprocessor"></span><span class="comment">/*eof*/</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>