<!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: resbund.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">resbund.h</div> </div> </div><!--header--> <div class="contents"> <a href="resbund_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">*</span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">* Copyright (C) 1996-2013, International Business Machines Corporation</span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">* and others. All Rights Reserved.</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">******************************************************************************</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">* File resbund.h</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">* CREATED BY</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">* Richard Gillam</span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">*</span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">* Modification History:</span></div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">*</span></div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment">* Date Name Description</span></div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment">* 2/5/97 aliu Added scanForLocaleInFile. Added</span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">* constructor which attempts to read resource bundle</span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment">* from a specific file, without searching other files.</span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment">* 2/11/97 aliu Added UErrorCode return values to constructors. Fixed</span></div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment">* infinite loops in scanForFile and scanForLocale.</span></div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment">* Modified getRawResourceData to not delete storage</span></div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment">* in localeData and resourceData which it doesn't own.</span></div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment">* Added Mac compatibility #ifdefs for tellp() and</span></div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment">* ios::nocreate.</span></div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment">* 2/18/97 helena Updated with 100% documentation coverage.</span></div> <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment">* 3/13/97 aliu Rewrote to load in entire resource bundle and store</span></div> <div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment">* it as a Hashtable of ResourceBundleData objects.</span></div> <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment">* Added state table to govern parsing of files.</span></div> <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment">* Modified to load locale index out of new file</span></div> <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment">* distinct from default.txt.</span></div> <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment">* 3/25/97 aliu Modified to support 2-d arrays, needed for timezone</span></div> <div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment">* data. Added support for custom file suffixes. Again,</span></div> <div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment">* needed to support timezone data.</span></div> <div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment">* 4/7/97 aliu Cleaned up.</span></div> <div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment">* 03/02/99 stephen Removed dependency on FILE*.</span></div> <div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment">* 03/29/99 helena Merged Bertrand and Stephen's changes.</span></div> <div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="comment">* 06/11/99 stephen Removed parsing of .txt files.</span></div> <div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="comment">* Reworked to use new binary format.</span></div> <div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="comment">* Cleaned up.</span></div> <div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment">* 06/14/99 stephen Removed methods taking a filename suffix.</span></div> <div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="comment">* 11/09/99 weiv Added getLocale(), fRealLocale, removed fRealLocaleID</span></div> <div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="comment">******************************************************************************</span></div> <div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="comment">*/</span></div> <div class="line"><a name="l00045"></a><span class="lineno"> 45</span> </div> <div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="preprocessor">#ifndef RESBUND_H</span></div> <div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="preprocessor"></span><span class="preprocessor">#define RESBUND_H</span></div> <div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00049"></a><span class="lineno"> 49</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="l00050"></a><span class="lineno"> 50</span> <span class="preprocessor">#include "<a class="code" href="uobject_8h.html" title="C++ API: Common ICU base class UObject.">unicode/uobject.h</a>"</span></div> <div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="preprocessor">#include "<a class="code" href="ures_8h.html" title="C API: Resource Bundle.">unicode/ures.h</a>"</span></div> <div class="line"><a name="l00052"></a><span class="lineno"> 52</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="l00053"></a><span class="lineno"> 53</span> <span class="preprocessor">#include "<a class="code" href="locid_8h.html" title="C++ API: Locale ID object.">unicode/locid.h</a>"</span></div> <div class="line"><a name="l00054"></a><span class="lineno"> 54</span> </div> <div class="line"><a name="l00060"></a><span class="lineno"> 60</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="l00061"></a><span class="lineno"> 61</span> </div> <div class="line"><a name="l00078"></a><span class="lineno"><a class="code" href="classicu_1_1ResourceBundle.html"> 78</a></span> <span class="keyword">class </span><a class="code" href="utypes_8h.html#a559955ec3bc692657c5d8b1c6de8e334" title="Set to export library symbols from inside the common library, and to import them from outside...">U_COMMON_API</a> <a class="code" href="classicu_1_1ResourceBundle.html" title="A class representing a collection of resource information pertaining to a given locale.">ResourceBundle</a> : <span class="keyword">public</span> <a class="code" href="classicu_1_1UObject.html" title="UObject is the common ICU "boilerplate" class.">UObject</a> {</div> <div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <a class="code" href="classicu_1_1ResourceBundle.html" title="A class representing a collection of resource information pertaining to a given locale.">ResourceBundle</a>(<span class="keyword">const</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>& packageName,</div> <div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keyword">const</span> <a class="code" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a>& locale,</div> <div class="line"><a name="l00108"></a><span class="lineno"> 108</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="l00109"></a><span class="lineno"> 109</span> </div> <div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <a class="code" href="classicu_1_1ResourceBundle.html" title="A class representing a collection of resource information pertaining to a given locale.">ResourceBundle</a>(<span class="keyword">const</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>& packageName,</div> <div class="line"><a name="l00122"></a><span class="lineno"> 122</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="l00123"></a><span class="lineno"> 123</span> </div> <div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <a class="code" href="classicu_1_1ResourceBundle.html" title="A class representing a collection of resource information pertaining to a given locale.">ResourceBundle</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> &err);</div> <div class="line"><a name="l00131"></a><span class="lineno"> 131</span> </div> <div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <a class="code" href="classicu_1_1ResourceBundle.html" title="A class representing a collection of resource information pertaining to a given locale.">ResourceBundle</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* packageName,</div> <div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="keyword">const</span> <a class="code" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a>& locale,</div> <div class="line"><a name="l00148"></a><span class="lineno"> 148</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="l00149"></a><span class="lineno"> 149</span> </div> <div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <a class="code" href="classicu_1_1ResourceBundle.html" title="A class representing a collection of resource information pertaining to a given locale.">ResourceBundle</a>(<span class="keyword">const</span> <a class="code" href="classicu_1_1ResourceBundle.html" title="A class representing a collection of resource information pertaining to a given locale.">ResourceBundle</a> &original);</div> <div class="line"><a name="l00157"></a><span class="lineno"> 157</span> </div> <div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <a class="code" href="classicu_1_1ResourceBundle.html" title="A class representing a collection of resource information pertaining to a given locale.">ResourceBundle</a>(<a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *res,</div> <div class="line"><a name="l00168"></a><span class="lineno"> 168</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="l00169"></a><span class="lineno"> 169</span> </div> <div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <a class="code" href="classicu_1_1ResourceBundle.html" title="A class representing a collection of resource information pertaining to a given locale.">ResourceBundle</a>&</div> <div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  operator=(<span class="keyword">const</span> <a class="code" href="classicu_1_1ResourceBundle.html" title="A class representing a collection of resource information pertaining to a given locale.">ResourceBundle</a>& other);</div> <div class="line"><a name="l00178"></a><span class="lineno"> 178</span> </div> <div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="keyword">virtual</span> ~<a class="code" href="classicu_1_1ResourceBundle.html" title="A class representing a collection of resource information pertaining to a given locale.">ResourceBundle</a>();</div> <div class="line"><a name="l00183"></a><span class="lineno"> 183</span> </div> <div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <a class="code" href="classicu_1_1ResourceBundle.html" title="A class representing a collection of resource information pertaining to a given locale.">ResourceBundle</a> *clone() <span class="keyword">const</span>;</div> <div class="line"><a name="l00196"></a><span class="lineno"> 196</span> </div> <div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  int32_t</div> <div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  getSize(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> <div class="line"><a name="l00209"></a><span class="lineno"> 209</span> </div> <div class="line"><a name="l00220"></a><span class="lineno"> 220</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></div> <div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  getString(<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) <span class="keyword">const</span>;</div> <div class="line"><a name="l00222"></a><span class="lineno"> 222</span> </div> <div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  <span class="keyword">const</span> uint8_t*</div> <div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  getBinary(int32_t& len, <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) <span class="keyword">const</span>;</div> <div class="line"><a name="l00237"></a><span class="lineno"> 237</span> </div> <div class="line"><a name="l00238"></a><span class="lineno"> 238</span> </div> <div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  <span class="keyword">const</span> int32_t*</div> <div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  getIntVector(int32_t& len, <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) <span class="keyword">const</span>;</div> <div class="line"><a name="l00252"></a><span class="lineno"> 252</span> </div> <div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  uint32_t</div> <div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  getUInt(<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) <span class="keyword">const</span>;</div> <div class="line"><a name="l00266"></a><span class="lineno"> 266</span> </div> <div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  int32_t</div> <div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  getInt(<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) <span class="keyword">const</span>;</div> <div class="line"><a name="l00280"></a><span class="lineno"> 280</span> </div> <div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a></div> <div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  hasNext(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> <div class="line"><a name="l00289"></a><span class="lineno"> 289</span> </div> <div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  <span class="keywordtype">void</span></div> <div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  resetIterator(<span class="keywordtype">void</span>);</div> <div class="line"><a name="l00297"></a><span class="lineno"> 297</span> </div> <div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>*</div> <div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  getKey(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> <div class="line"><a name="l00307"></a><span class="lineno"> 307</span> </div> <div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>*</div> <div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  getName(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> <div class="line"><a name="l00317"></a><span class="lineno"> 317</span> </div> <div class="line"><a name="l00318"></a><span class="lineno"> 318</span> </div> <div class="line"><a name="l00325"></a><span class="lineno"> 325</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="l00326"></a><span class="lineno"> 326</span>  getType(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> <div class="line"><a name="l00327"></a><span class="lineno"> 327</span> </div> <div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  <a class="code" href="classicu_1_1ResourceBundle.html" title="A class representing a collection of resource information pertaining to a given locale.">ResourceBundle</a></div> <div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  getNext(<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="l00337"></a><span class="lineno"> 337</span> </div> <div class="line"><a name="l00346"></a><span class="lineno"> 346</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></div> <div class="line"><a name="l00347"></a><span class="lineno"> 347</span>  getNextString(<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="l00348"></a><span class="lineno"> 348</span> </div> <div class="line"><a name="l00358"></a><span class="lineno"> 358</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></div> <div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  getNextString(<span class="keyword">const</span> <span class="keywordtype">char</span> ** key,</div> <div class="line"><a name="l00360"></a><span class="lineno"> 360</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="l00361"></a><span class="lineno"> 361</span> </div> <div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  <a class="code" href="classicu_1_1ResourceBundle.html" title="A class representing a collection of resource information pertaining to a given locale.">ResourceBundle</a></div> <div class="line"><a name="l00371"></a><span class="lineno"> 371</span>  <span class="keyword">get</span>(int32_t index,</div> <div class="line"><a name="l00372"></a><span class="lineno"> 372</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) <span class="keyword">const</span>;</div> <div class="line"><a name="l00373"></a><span class="lineno"> 373</span> </div> <div class="line"><a name="l00382"></a><span class="lineno"> 382</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></div> <div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  getStringEx(int32_t index,</div> <div class="line"><a name="l00384"></a><span class="lineno"> 384</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) <span class="keyword">const</span>;</div> <div class="line"><a name="l00385"></a><span class="lineno"> 385</span> </div> <div class="line"><a name="l00395"></a><span class="lineno"> 395</span>  <a class="code" href="classicu_1_1ResourceBundle.html" title="A class representing a collection of resource information pertaining to a given locale.">ResourceBundle</a></div> <div class="line"><a name="l00396"></a><span class="lineno"> 396</span>  <span class="keyword">get</span>(<span class="keyword">const</span> <span class="keywordtype">char</span>* key,</div> <div class="line"><a name="l00397"></a><span class="lineno"> 397</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) <span class="keyword">const</span>;</div> <div class="line"><a name="l00398"></a><span class="lineno"> 398</span> </div> <div class="line"><a name="l00408"></a><span class="lineno"> 408</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></div> <div class="line"><a name="l00409"></a><span class="lineno"> 409</span>  getStringEx(<span class="keyword">const</span> <span class="keywordtype">char</span>* key,</div> <div class="line"><a name="l00410"></a><span class="lineno"> 410</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) <span class="keyword">const</span>;</div> <div class="line"><a name="l00411"></a><span class="lineno"> 411</span> </div> <div class="line"><a name="l00412"></a><span class="lineno"> 412</span> <span class="preprocessor">#ifndef U_HIDE_DEPRECATED_API</span></div> <div class="line"><a name="l00413"></a><span class="lineno"> 413</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00422"></a><span class="lineno"> 422</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>*</div> <div class="line"><a name="l00423"></a><span class="lineno"> 423</span>  getVersionNumber(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> <div class="line"><a name="l00424"></a><span class="lineno"> 424</span> <span class="preprocessor">#endif </span><span class="comment">/* U_HIDE_DEPRECATED_API */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00425"></a><span class="lineno"> 425</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00433"></a><span class="lineno"> 433</span>  <span class="keywordtype">void</span></div> <div class="line"><a name="l00434"></a><span class="lineno"> 434</span>  getVersion(<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) <span class="keyword">const</span>;</div> <div class="line"><a name="l00435"></a><span class="lineno"> 435</span> </div> <div class="line"><a name="l00436"></a><span class="lineno"> 436</span> <span class="preprocessor">#ifndef U_HIDE_DEPRECATED_API</span></div> <div class="line"><a name="l00437"></a><span class="lineno"> 437</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00443"></a><span class="lineno"> 443</span>  <span class="keyword">const</span> <a class="code" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a>&</div> <div class="line"><a name="l00444"></a><span class="lineno"> 444</span>  getLocale(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> <div class="line"><a name="l00445"></a><span class="lineno"> 445</span> <span class="preprocessor">#endif </span><span class="comment">/* U_HIDE_DEPRECATED_API */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00446"></a><span class="lineno"> 446</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00457"></a><span class="lineno"> 457</span>  <span class="keyword">const</span> <a class="code" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a></div> <div class="line"><a name="l00458"></a><span class="lineno"> 458</span>  getLocale(<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, <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) <span class="keyword">const</span>;</div> <div class="line"><a name="l00459"></a><span class="lineno"> 459</span> <span class="preprocessor">#ifndef U_HIDE_INTERNAL_API</span></div> <div class="line"><a name="l00460"></a><span class="lineno"> 460</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00464"></a><span class="lineno"> 464</span>  <a class="code" href="classicu_1_1ResourceBundle.html" title="A class representing a collection of resource information pertaining to a given locale.">ResourceBundle</a></div> <div class="line"><a name="l00465"></a><span class="lineno"> 465</span>  getWithFallback(<span class="keyword">const</span> <span class="keywordtype">char</span>* key, <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="l00466"></a><span class="lineno"> 466</span> <span class="preprocessor">#endif </span><span class="comment">/* U_HIDE_INTERNAL_API */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00467"></a><span class="lineno"> 467</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00472"></a><span class="lineno"> 472</span>  <span class="keyword">virtual</span> <a class="code" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f" title="UClassID is used to identify classes without using the compiler's RTTI.">UClassID</a> <a class="code" href="classicu_1_1UObject.html#a1aa93096e880907080b503ff1fb0f8bc" title="ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.">getDynamicClassID</a>() <span class="keyword">const</span>;</div> <div class="line"><a name="l00473"></a><span class="lineno"> 473</span> </div> <div class="line"><a name="l00479"></a><span class="lineno"> 479</span>  <span class="keyword">static</span> <a class="code" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f" title="UClassID is used to identify classes without using the compiler's RTTI.">UClassID</a> U_EXPORT2 getStaticClassID();</div> <div class="line"><a name="l00480"></a><span class="lineno"> 480</span> </div> <div class="line"><a name="l00481"></a><span class="lineno"> 481</span> <span class="keyword">private</span>:</div> <div class="line"><a name="l00482"></a><span class="lineno"> 482</span>  <a class="code" href="classicu_1_1ResourceBundle.html" title="A class representing a collection of resource information pertaining to a given locale.">ResourceBundle</a>(); <span class="comment">// default constructor not implemented</span></div> <div class="line"><a name="l00483"></a><span class="lineno"> 483</span> </div> <div class="line"><a name="l00484"></a><span class="lineno"> 484</span>  <a class="code" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *fResource;</div> <div class="line"><a name="l00485"></a><span class="lineno"> 485</span>  <span class="keywordtype">void</span> constructForLocale(<span class="keyword">const</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>& path, <span class="keyword">const</span> <a class="code" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a>& locale, <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>& error);</div> <div class="line"><a name="l00486"></a><span class="lineno"> 486</span>  <a class="code" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a> *fLocale;</div> <div class="line"><a name="l00487"></a><span class="lineno"> 487</span> };</div> <div class="line"><a name="l00488"></a><span class="lineno"> 488</span> </div> <div class="line"><a name="l00489"></a><span class="lineno"> 489</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="l00490"></a><span class="lineno"> 490</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:21 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>