Sophie

Sophie

distrib > Mageia > 6 > armv5tl > media > core-release > by-pkgid > 3a4e91bde08970529a0aa07935652fe8 > files > 1032

icu-doc-58.2-3.mga6.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ICU 58.2: ures.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ICU 58.2
   &#160;<span id="projectnumber">58.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;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&#160;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&#160;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_b2f33c71d4aa5e7af42a1ca61ff5af1b.html">source</a></li><li class="navelem"><a class="el" href="dir_30087b5439e04c85304dbcf15650710b.html">common</a></li><li class="navelem"><a class="el" href="dir_8bf9c54ed6ca2fd1e2117fb037e4ad06.html">unicode</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">ures.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>C API: Resource Bundle.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="utypes_8h_source.html">unicode/utypes.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="uloc_8h_source.html">unicode/uloc.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="localpointer_8h_source.html">unicode/localpointer.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="unistr_8h_source.html">unicode/unistr.h</a>&quot;</code><br />
</div>
<p><a href="ures_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespaceicu"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceicu.html">icu</a></td></tr>
<tr class="memdesc:namespaceicu"><td class="mdescLeft">&#160;</td><td class="mdescRight">File <a class="el" href="coll_8h.html" title="C++ API: Collation Service. ">coll.h</a>. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a7391119e9274be9ba2e6892b48a2bbbe"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a></td></tr>
<tr class="separator:a7391119e9274be9ba2e6892b48a2bbbe"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:a3f1197bf41a6228c38e3fddb58bf96fb"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fb">UResType</a> { <br />
&#160;&#160;<a class="el" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fbab73cbea3085f99defd0538171d343f03">URES_NONE</a> =-1, 
<a class="el" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fbac4db2a063c1c73cc363b0e21891bc480">URES_STRING</a> =0, 
<a class="el" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fba7220aa0da13f4d7a1e62a1856026c271">URES_BINARY</a> =1, 
<a class="el" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fba2cfd36db6917951f177723df3a58e2b4">URES_TABLE</a> =2, 
<br />
&#160;&#160;<a class="el" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fba6890eb4a8669521aace76b4c854d304e">URES_ALIAS</a> =3, 
<a class="el" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fbac71be9c52845b8404c84610320b550ba">URES_INT</a> =7, 
<a class="el" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fbaa2e7a87c3c144d7df2abd973b86512ca">URES_ARRAY</a> =8, 
<a class="el" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fba6c6b406d49cebed764c515d49dcf73b3">URES_INT_VECTOR</a> = 14, 
<br />
&#160;&#160;<a class="el" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fba78e3758a381e62148cc4b0438f3c0777">RES_NONE</a> =URES_NONE, 
<a class="el" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fbad6c0349cb0484769c040d660de1c7445">RES_STRING</a> =URES_STRING, 
<a class="el" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fba2ad74e7a8c734f374bf8b786617fb212">RES_BINARY</a> =URES_BINARY, 
<a class="el" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fbac93b5478e79d51b10747d617765069af">RES_TABLE</a> =URES_TABLE, 
<br />
&#160;&#160;<a class="el" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fbae4f137b23dcc82d1b7c5b19d5453b3a1">RES_ALIAS</a> =URES_ALIAS, 
<a class="el" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fbaf1f3ced984a5ff062dae837b00769e9f">RES_INT</a> =URES_INT, 
<a class="el" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fba2eeb630d6cacdd4cdeae5ae05edfc8bd">RES_ARRAY</a> =URES_ARRAY, 
<a class="el" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fbac5f51dba6417cd88750d7fb32c1cfb7e">RES_INT_VECTOR</a> =URES_INT_VECTOR, 
<br />
&#160;&#160;<a class="el" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fbabb8f79bd6e07400f6870fe51ae24fcef">RES_RESERVED</a> =15, 
<a class="el" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fbaf5e9652169f8062eaaaf8e35accdf0d8">URES_LIMIT</a> = 16
<br />
 }<tr class="memdesc:a3f1197bf41a6228c38e3fddb58bf96fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Numeric constants for types of resource items.  <a href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fb">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a3f1197bf41a6228c38e3fddb58bf96fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ac4d72fc9f7cc63a05f646cabee4be167"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ures_8h.html#ac4d72fc9f7cc63a05f646cabee4be167">ures_open</a> (const char *packageName, const char *locale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:ac4d72fc9f7cc63a05f646cabee4be167"><td class="mdescLeft">&#160;</td><td class="mdescRight">Opens a UResourceBundle, from which users can extract strings by using their corresponding keys.  <a href="#ac4d72fc9f7cc63a05f646cabee4be167">More...</a><br /></td></tr>
<tr class="separator:ac4d72fc9f7cc63a05f646cabee4be167"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a261fcbb263bbe48b13d2b3e2fc2470a0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ures_8h.html#a261fcbb263bbe48b13d2b3e2fc2470a0">ures_openDirect</a> (const char *packageName, const char *locale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:a261fcbb263bbe48b13d2b3e2fc2470a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function does not care what kind of localeID is passed in.  <a href="#a261fcbb263bbe48b13d2b3e2fc2470a0">More...</a><br /></td></tr>
<tr class="separator:a261fcbb263bbe48b13d2b3e2fc2470a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73d8f9711d915ef1888a7e149f64a9ae"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ures_8h.html#a73d8f9711d915ef1888a7e149f64a9ae">ures_openU</a> (const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *packageName, const char *locale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:a73d8f9711d915ef1888a7e149f64a9ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Same as <a class="el" href="ures_8h.html#ac4d72fc9f7cc63a05f646cabee4be167" title="Opens a UResourceBundle, from which users can extract strings by using their corresponding keys...">ures_open()</a> but takes a const UChar *path.  <a href="#a73d8f9711d915ef1888a7e149f64a9ae">More...</a><br /></td></tr>
<tr class="separator:a73d8f9711d915ef1888a7e149f64a9ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09607e48125e46397a843f255640fe2e"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ures_8h.html#a09607e48125e46397a843f255640fe2e">ures_countArrayItems</a> (const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resourceBundle, const char *resourceKey, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *err)</td></tr>
<tr class="memdesc:a09607e48125e46397a843f255640fe2e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of strings/arrays in resource bundles.  <a href="#a09607e48125e46397a843f255640fe2e">More...</a><br /></td></tr>
<tr class="separator:a09607e48125e46397a843f255640fe2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:addb8be0af245c0f745458e7ad925a490"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ures_8h.html#addb8be0af245c0f745458e7ad925a490">ures_close</a> (<a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resourceBundle)</td></tr>
<tr class="memdesc:addb8be0af245c0f745458e7ad925a490"><td class="mdescLeft">&#160;</td><td class="mdescRight">Close a resource bundle, all pointers returned from the various ures_getXXX calls on this particular bundle should be considered invalid henceforth.  <a href="#addb8be0af245c0f745458e7ad925a490">More...</a><br /></td></tr>
<tr class="separator:addb8be0af245c0f745458e7ad925a490"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33679a8207b84dda51bff3e30c04174f"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ures_8h.html#a33679a8207b84dda51bff3e30c04174f">ures_getVersionNumber</a> (const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resourceBundle)</td></tr>
<tr class="memdesc:a33679a8207b84dda51bff3e30c04174f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the version number associated with this ResourceBundle as a string.  <a href="#a33679a8207b84dda51bff3e30c04174f">More...</a><br /></td></tr>
<tr class="separator:a33679a8207b84dda51bff3e30c04174f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2edd739dcbf0062e0c344b4a4e0a26d2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ures_8h.html#a2edd739dcbf0062e0c344b4a4e0a26d2">ures_getVersion</a> (const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resB, <a class="el" href="uversion_8h.html#a61caef96ba86d8e86a4031925ea44e94">UVersionInfo</a> versionInfo)</td></tr>
<tr class="memdesc:a2edd739dcbf0062e0c344b4a4e0a26d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the version number associated with this ResourceBundle as an UVersionInfo array.  <a href="#a2edd739dcbf0062e0c344b4a4e0a26d2">More...</a><br /></td></tr>
<tr class="separator:a2edd739dcbf0062e0c344b4a4e0a26d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82bdc1bb4f0afdb2d263c3589eaa9b62"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ures_8h.html#a82bdc1bb4f0afdb2d263c3589eaa9b62">ures_getLocale</a> (const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resourceBundle, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:a82bdc1bb4f0afdb2d263c3589eaa9b62"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the name of the Locale associated with this ResourceBundle.  <a href="#a82bdc1bb4f0afdb2d263c3589eaa9b62">More...</a><br /></td></tr>
<tr class="separator:a82bdc1bb4f0afdb2d263c3589eaa9b62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39d1e5c7a265c24ebaa684b55a74c0e0"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ures_8h.html#a39d1e5c7a265c24ebaa684b55a74c0e0">ures_getLocaleByType</a> (const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resourceBundle, <a class="el" href="uloc_8h.html#adf053345d343f8d82ae080f7a5871f34">ULocDataLocaleType</a> type, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:a39d1e5c7a265c24ebaa684b55a74c0e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the name of the Locale associated with this ResourceBundle.  <a href="#a39d1e5c7a265c24ebaa684b55a74c0e0">More...</a><br /></td></tr>
<tr class="separator:a39d1e5c7a265c24ebaa684b55a74c0e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41dc0b7aa46942d3034ffce73adf9aea"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ures_8h.html#a41dc0b7aa46942d3034ffce73adf9aea">ures_openFillIn</a> (<a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *r, const char *packageName, const char *localeID, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:a41dc0b7aa46942d3034ffce73adf9aea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Same as <a class="el" href="ures_8h.html#ac4d72fc9f7cc63a05f646cabee4be167" title="Opens a UResourceBundle, from which users can extract strings by using their corresponding keys...">ures_open()</a> but uses the fill-in parameter instead of allocating a bundle, if r!=NULL.  <a href="#a41dc0b7aa46942d3034ffce73adf9aea">More...</a><br /></td></tr>
<tr class="separator:a41dc0b7aa46942d3034ffce73adf9aea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a088b560881f84521caefc1513efc45af"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ures_8h.html#a088b560881f84521caefc1513efc45af">ures_getString</a> (const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resourceBundle, int32_t *len, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:a088b560881f84521caefc1513efc45af"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a string from a string resource type.  <a href="#a088b560881f84521caefc1513efc45af">More...</a><br /></td></tr>
<tr class="separator:a088b560881f84521caefc1513efc45af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1dd8d20a524c70ef8ec9943221f82021"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ures_8h.html#a1dd8d20a524c70ef8ec9943221f82021">ures_getUTF8String</a> (const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resB, char *dest, int32_t *length, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> forceCopy, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:a1dd8d20a524c70ef8ec9943221f82021"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a UTF-8 string from a string resource.  <a href="#a1dd8d20a524c70ef8ec9943221f82021">More...</a><br /></td></tr>
<tr class="separator:a1dd8d20a524c70ef8ec9943221f82021"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d29628c77fb9c5fffa412257aa743cc"><td class="memItemLeft" align="right" valign="top">const uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ures_8h.html#a3d29628c77fb9c5fffa412257aa743cc">ures_getBinary</a> (const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resourceBundle, int32_t *len, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:a3d29628c77fb9c5fffa412257aa743cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a binary data from a binary resource.  <a href="#a3d29628c77fb9c5fffa412257aa743cc">More...</a><br /></td></tr>
<tr class="separator:a3d29628c77fb9c5fffa412257aa743cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae89d1bc77281a8a61896f6615cd506ea"><td class="memItemLeft" align="right" valign="top">const int32_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ures_8h.html#ae89d1bc77281a8a61896f6615cd506ea">ures_getIntVector</a> (const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resourceBundle, int32_t *len, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:ae89d1bc77281a8a61896f6615cd506ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a 32 bit integer array from a resource.  <a href="#ae89d1bc77281a8a61896f6615cd506ea">More...</a><br /></td></tr>
<tr class="separator:ae89d1bc77281a8a61896f6615cd506ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa21170067cf90e1d492b4806f31c6a9c"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ures_8h.html#aa21170067cf90e1d492b4806f31c6a9c">ures_getUInt</a> (const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resourceBundle, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:aa21170067cf90e1d492b4806f31c6a9c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an unsigned integer from a resource.  <a href="#aa21170067cf90e1d492b4806f31c6a9c">More...</a><br /></td></tr>
<tr class="separator:aa21170067cf90e1d492b4806f31c6a9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab718b0e9c6e06a2bbcce9a71e04b185e"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ures_8h.html#ab718b0e9c6e06a2bbcce9a71e04b185e">ures_getInt</a> (const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resourceBundle, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:ab718b0e9c6e06a2bbcce9a71e04b185e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a signed integer from a resource.  <a href="#ab718b0e9c6e06a2bbcce9a71e04b185e">More...</a><br /></td></tr>
<tr class="separator:ab718b0e9c6e06a2bbcce9a71e04b185e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4eb5d79c3799ee8cfe0cbd96322581bd"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ures_8h.html#a4eb5d79c3799ee8cfe0cbd96322581bd">ures_getSize</a> (const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resourceBundle)</td></tr>
<tr class="memdesc:a4eb5d79c3799ee8cfe0cbd96322581bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the size of a resource.  <a href="#a4eb5d79c3799ee8cfe0cbd96322581bd">More...</a><br /></td></tr>
<tr class="separator:a4eb5d79c3799ee8cfe0cbd96322581bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77ac531cd4bdc588efd21b2d9b7e2471"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fb">UResType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ures_8h.html#a77ac531cd4bdc588efd21b2d9b7e2471">ures_getType</a> (const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resourceBundle)</td></tr>
<tr class="memdesc:a77ac531cd4bdc588efd21b2d9b7e2471"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the type of a resource.  <a href="#a77ac531cd4bdc588efd21b2d9b7e2471">More...</a><br /></td></tr>
<tr class="separator:a77ac531cd4bdc588efd21b2d9b7e2471"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c391e946d5d4bc204c1cc7798de6668"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ures_8h.html#a9c391e946d5d4bc204c1cc7798de6668">ures_getKey</a> (const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resourceBundle)</td></tr>
<tr class="memdesc:a9c391e946d5d4bc204c1cc7798de6668"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the key associated with a given resource.  <a href="#a9c391e946d5d4bc204c1cc7798de6668">More...</a><br /></td></tr>
<tr class="separator:a9c391e946d5d4bc204c1cc7798de6668"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0755e4d54d950e32acc785cbc46c431"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ures_8h.html#ab0755e4d54d950e32acc785cbc46c431">ures_resetIterator</a> (<a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resourceBundle)</td></tr>
<tr class="memdesc:ab0755e4d54d950e32acc785cbc46c431"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resets the internal context of a resource so that iteration starts from the first element.  <a href="#ab0755e4d54d950e32acc785cbc46c431">More...</a><br /></td></tr>
<tr class="separator:ab0755e4d54d950e32acc785cbc46c431"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a787089fdc0669fe3ec7f5023b628a642"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ures_8h.html#a787089fdc0669fe3ec7f5023b628a642">ures_hasNext</a> (const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resourceBundle)</td></tr>
<tr class="memdesc:a787089fdc0669fe3ec7f5023b628a642"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether the given resource has another element to iterate over.  <a href="#a787089fdc0669fe3ec7f5023b628a642">More...</a><br /></td></tr>
<tr class="separator:a787089fdc0669fe3ec7f5023b628a642"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04ad67a1b8feaca7b817ce51e4878d1d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ures_8h.html#a04ad67a1b8feaca7b817ce51e4878d1d">ures_getNextResource</a> (<a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resourceBundle, <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *fillIn, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:a04ad67a1b8feaca7b817ce51e4878d1d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the next resource in a given resource or NULL if there are no more resources to iterate over.  <a href="#a04ad67a1b8feaca7b817ce51e4878d1d">More...</a><br /></td></tr>
<tr class="separator:a04ad67a1b8feaca7b817ce51e4878d1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3c74eb748adde7d83bd8a9ac52bb58e"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ures_8h.html#ab3c74eb748adde7d83bd8a9ac52bb58e">ures_getNextString</a> (<a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resourceBundle, int32_t *len, const char **key, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:ab3c74eb748adde7d83bd8a9ac52bb58e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the next string in a given resource or NULL if there are no more resources to iterate over.  <a href="#ab3c74eb748adde7d83bd8a9ac52bb58e">More...</a><br /></td></tr>
<tr class="separator:ab3c74eb748adde7d83bd8a9ac52bb58e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae9284d2a6a4c8169cc2e7c7d89a29e6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ures_8h.html#aae9284d2a6a4c8169cc2e7c7d89a29e6">ures_getByIndex</a> (const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resourceBundle, int32_t indexR, <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *fillIn, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:aae9284d2a6a4c8169cc2e7c7d89a29e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the resource in a given resource at the specified index.  <a href="#aae9284d2a6a4c8169cc2e7c7d89a29e6">More...</a><br /></td></tr>
<tr class="separator:aae9284d2a6a4c8169cc2e7c7d89a29e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ac2f42ee782365ab291f6135e5b0073"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ures_8h.html#a1ac2f42ee782365ab291f6135e5b0073">ures_getStringByIndex</a> (const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resourceBundle, int32_t indexS, int32_t *len, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:a1ac2f42ee782365ab291f6135e5b0073"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the string in a given resource at the specified index.  <a href="#a1ac2f42ee782365ab291f6135e5b0073">More...</a><br /></td></tr>
<tr class="separator:a1ac2f42ee782365ab291f6135e5b0073"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af692a3738524bbf6c30bfa56a2135b5b"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ures_8h.html#af692a3738524bbf6c30bfa56a2135b5b">ures_getUTF8StringByIndex</a> (const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resB, int32_t stringIndex, char *dest, int32_t *pLength, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> forceCopy, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:af692a3738524bbf6c30bfa56a2135b5b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a UTF-8 string from a resource at the specified index.  <a href="#af692a3738524bbf6c30bfa56a2135b5b">More...</a><br /></td></tr>
<tr class="separator:af692a3738524bbf6c30bfa56a2135b5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9cffc29afd81c60f4a3ce2c8dadf8e98"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ures_8h.html#a9cffc29afd81c60f4a3ce2c8dadf8e98">ures_getByKey</a> (const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resourceBundle, const char *key, <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *fillIn, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:a9cffc29afd81c60f4a3ce2c8dadf8e98"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a resource in a given resource that has a given key.  <a href="#a9cffc29afd81c60f4a3ce2c8dadf8e98">More...</a><br /></td></tr>
<tr class="separator:a9cffc29afd81c60f4a3ce2c8dadf8e98"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59b808cfa2bdd08497219849cdeff140"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ures_8h.html#a59b808cfa2bdd08497219849cdeff140">ures_getStringByKey</a> (const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resB, const char *key, int32_t *len, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:a59b808cfa2bdd08497219849cdeff140"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a string in a given resource that has a given key.  <a href="#a59b808cfa2bdd08497219849cdeff140">More...</a><br /></td></tr>
<tr class="separator:a59b808cfa2bdd08497219849cdeff140"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fbb24a527a74807dded377ca0ecd41c"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ures_8h.html#a7fbb24a527a74807dded377ca0ecd41c">ures_getUTF8StringByKey</a> (const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resB, const char *key, char *dest, int32_t *pLength, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> forceCopy, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:a7fbb24a527a74807dded377ca0ecd41c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a UTF-8 string from a resource and a key.  <a href="#a7fbb24a527a74807dded377ca0ecd41c">More...</a><br /></td></tr>
<tr class="separator:a7fbb24a527a74807dded377ca0ecd41c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a185e4edd9f514a6db6f0eb2c4d79ae45"><td class="memItemLeft" align="right" valign="top">UnicodeString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceicu.html#a185e4edd9f514a6db6f0eb2c4d79ae45">icu::ures_getUnicodeString</a> (const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resB, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:a185e4edd9f514a6db6f0eb2c4d79ae45"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the string value from a string resource bundle.  <a href="namespaceicu.html#a185e4edd9f514a6db6f0eb2c4d79ae45">More...</a><br /></td></tr>
<tr class="separator:a185e4edd9f514a6db6f0eb2c4d79ae45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b68095f54a88db29bff6431bfc8d15c"><td class="memItemLeft" align="right" valign="top">UnicodeString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceicu.html#a8b68095f54a88db29bff6431bfc8d15c">icu::ures_getNextUnicodeString</a> (<a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resB, const char **key, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:a8b68095f54a88db29bff6431bfc8d15c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the next string in a resource, or an empty string if there are no more resources to iterate over.  <a href="namespaceicu.html#a8b68095f54a88db29bff6431bfc8d15c">More...</a><br /></td></tr>
<tr class="separator:a8b68095f54a88db29bff6431bfc8d15c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a13d2ba27419ce3145b588b68d8b1ad"><td class="memItemLeft" align="right" valign="top">UnicodeString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceicu.html#a3a13d2ba27419ce3145b588b68d8b1ad">icu::ures_getUnicodeStringByIndex</a> (const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resB, int32_t indexS, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:a3a13d2ba27419ce3145b588b68d8b1ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the string in a given resource array or table at the specified index.  <a href="namespaceicu.html#a3a13d2ba27419ce3145b588b68d8b1ad">More...</a><br /></td></tr>
<tr class="separator:a3a13d2ba27419ce3145b588b68d8b1ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae46616172b8435c67b406e56db09f283"><td class="memItemLeft" align="right" valign="top">UnicodeString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceicu.html#ae46616172b8435c67b406e56db09f283">icu::ures_getUnicodeStringByKey</a> (const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *resB, const char *key, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:ae46616172b8435c67b406e56db09f283"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a string in a resource that has a given key.  <a href="namespaceicu.html#ae46616172b8435c67b406e56db09f283">More...</a><br /></td></tr>
<tr class="separator:ae46616172b8435c67b406e56db09f283"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af546de139ec4fc9fba12a9fa1debcfac"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uenum_8h.html#a32b7253b2148022535be36a9fcdb5a8d">UEnumeration</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ures_8h.html#af546de139ec4fc9fba12a9fa1debcfac">ures_openAvailableLocales</a> (const char *packageName, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:af546de139ec4fc9fba12a9fa1debcfac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a string enumerator, owned by the caller, of all locales located within the specified resource tree.  <a href="#af546de139ec4fc9fba12a9fa1debcfac">More...</a><br /></td></tr>
<tr class="separator:af546de139ec4fc9fba12a9fa1debcfac"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>C API: Resource Bundle. </p>
<h2>C API: Resource Bundle</h2>
<p>C API representing a collection of resource information pertaining to a given locale. A resource bundle provides a way of accessing locale- specific information in a data file. You create a resource bundle that manages the resources for a given locale and then ask it for individual resources. </p>
<p>Resource bundles in ICU4C are currently defined using text files which conform to the following <a href="http://source.icu-project.org/repos/icu/icuhtml/trunk/design/bnf_rb.txt">BNF definition</a>. More on resource bundle concepts and syntax can be found in the <a href="http://icu-project.org/userguide/ResourceManagement.html">Users Guide</a>. </p>

<p>Definition in file <a class="el" href="ures_8h_source.html">ures.h</a>.</p>
</div><h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="a7391119e9274be9ba2e6892b48a2bbbe"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002308">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="ures_8h_source.html#l00059">59</a> of file <a class="el" href="ures_8h_source.html">ures.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="a3f1197bf41a6228c38e3fddb58bf96fb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fb">UResType</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Numeric constants for types of resource items. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ures_8h.html#a77ac531cd4bdc588efd21b2d9b7e2471" title="Returns the type of a resource. ">ures_getType</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002309">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a3f1197bf41a6228c38e3fddb58bf96fbab73cbea3085f99defd0538171d343f03"></a>URES_NONE&#160;</td><td class="fielddoc">
<p>Resource type constant for "no resource". </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002336">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a3f1197bf41a6228c38e3fddb58bf96fbac4db2a063c1c73cc363b0e21891bc480"></a>URES_STRING&#160;</td><td class="fielddoc">
<p>Resource type constant for 16-bit Unicode strings. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002337">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a3f1197bf41a6228c38e3fddb58bf96fba7220aa0da13f4d7a1e62a1856026c271"></a>URES_BINARY&#160;</td><td class="fielddoc">
<p>Resource type constant for binary data. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002338">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a3f1197bf41a6228c38e3fddb58bf96fba2cfd36db6917951f177723df3a58e2b4"></a>URES_TABLE&#160;</td><td class="fielddoc">
<p>Resource type constant for tables of key-value pairs. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002339">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a3f1197bf41a6228c38e3fddb58bf96fba6890eb4a8669521aace76b4c854d304e"></a>URES_ALIAS&#160;</td><td class="fielddoc">
<p>Resource type constant for aliases; internally stores a string which identifies the actual resource storing the data (can be in a different resource bundle). </p>
<p>Resolved internally before delivering the actual resource through the API. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable002340">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a3f1197bf41a6228c38e3fddb58bf96fbac71be9c52845b8404c84610320b550ba"></a>URES_INT&#160;</td><td class="fielddoc">
<p>Resource type constant for a single 28-bit integer, interpreted as signed or unsigned by the <a class="el" href="ures_8h.html#ab718b0e9c6e06a2bbcce9a71e04b185e" title="Returns a signed integer from a resource. ">ures_getInt()</a> or <a class="el" href="ures_8h.html#aa21170067cf90e1d492b4806f31c6a9c" title="Returns an unsigned integer from a resource. ">ures_getUInt()</a> function. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ures_8h.html#ab718b0e9c6e06a2bbcce9a71e04b185e" title="Returns a signed integer from a resource. ">ures_getInt</a> </dd>
<dd>
<a class="el" href="ures_8h.html#aa21170067cf90e1d492b4806f31c6a9c" title="Returns an unsigned integer from a resource. ">ures_getUInt</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002341">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a3f1197bf41a6228c38e3fddb58bf96fbaa2e7a87c3c144d7df2abd973b86512ca"></a>URES_ARRAY&#160;</td><td class="fielddoc">
<p>Resource type constant for arrays of resources. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002342">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a3f1197bf41a6228c38e3fddb58bf96fba6c6b406d49cebed764c515d49dcf73b3"></a>URES_INT_VECTOR&#160;</td><td class="fielddoc">
<p>Resource type constant for vectors of 32-bit integers. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ures_8h.html#ae89d1bc77281a8a61896f6615cd506ea" title="Returns a 32 bit integer array from a resource. ">ures_getIntVector</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002343">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a3f1197bf41a6228c38e3fddb58bf96fba78e3758a381e62148cc4b0438f3c0777"></a>RES_NONE&#160;</td><td class="fielddoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000116">Deprecated:</a></b></dt><dd>ICU 2.6 Use the URES_ constant instead.</dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a3f1197bf41a6228c38e3fddb58bf96fbad6c0349cb0484769c040d660de1c7445"></a>RES_STRING&#160;</td><td class="fielddoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000117">Deprecated:</a></b></dt><dd>ICU 2.6 Use the URES_ constant instead.</dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a3f1197bf41a6228c38e3fddb58bf96fba2ad74e7a8c734f374bf8b786617fb212"></a>RES_BINARY&#160;</td><td class="fielddoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000118">Deprecated:</a></b></dt><dd>ICU 2.6 Use the URES_ constant instead.</dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a3f1197bf41a6228c38e3fddb58bf96fbac93b5478e79d51b10747d617765069af"></a>RES_TABLE&#160;</td><td class="fielddoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000119">Deprecated:</a></b></dt><dd>ICU 2.6 Use the URES_ constant instead.</dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a3f1197bf41a6228c38e3fddb58bf96fbae4f137b23dcc82d1b7c5b19d5453b3a1"></a>RES_ALIAS&#160;</td><td class="fielddoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000120">Deprecated:</a></b></dt><dd>ICU 2.6 Use the URES_ constant instead.</dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a3f1197bf41a6228c38e3fddb58bf96fbaf1f3ced984a5ff062dae837b00769e9f"></a>RES_INT&#160;</td><td class="fielddoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000121">Deprecated:</a></b></dt><dd>ICU 2.6 Use the URES_ constant instead.</dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a3f1197bf41a6228c38e3fddb58bf96fba2eeb630d6cacdd4cdeae5ae05edfc8bd"></a>RES_ARRAY&#160;</td><td class="fielddoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000122">Deprecated:</a></b></dt><dd>ICU 2.6 Use the URES_ constant instead.</dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a3f1197bf41a6228c38e3fddb58bf96fbac5f51dba6417cd88750d7fb32c1cfb7e"></a>RES_INT_VECTOR&#160;</td><td class="fielddoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000123">Deprecated:</a></b></dt><dd>ICU 2.6 Use the URES_ constant instead.</dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a3f1197bf41a6228c38e3fddb58bf96fbabb8f79bd6e07400f6870fe51ae24fcef"></a>RES_RESERVED&#160;</td><td class="fielddoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000124">Deprecated:</a></b></dt><dd>ICU 2.6 Not used.</dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a3f1197bf41a6228c38e3fddb58bf96fbaf5e9652169f8062eaaaf8e35accdf0d8"></a>URES_LIMIT&#160;</td><td class="fielddoc">
<p>One more than the highest normal UResType value. </p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000125">Deprecated:</a></b></dt><dd>ICU 58 The numeric value may change over time, see ICU ticket #12420. </dd></dl>
</td></tr>
</table>

<p>Definition at line <a class="el" href="ures_8h_source.html#l00066">66</a> of file <a class="el" href="ures_8h_source.html">ures.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="addb8be0af245c0f745458e7ad925a490"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ures_close </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td>
          <td class="paramname"><em>resourceBundle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Close a resource bundle, all pointers returned from the various ures_getXXX calls on this particular bundle should be considered invalid henceforth. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">resourceBundle</td><td>a pointer to a resourceBundle struct. Can be NULL. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ures_8h.html#ac4d72fc9f7cc63a05f646cabee4be167" title="Opens a UResourceBundle, from which users can extract strings by using their corresponding keys...">ures_open</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002313">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a09607e48125e46397a843f255640fe2e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t ures_countArrayItems </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td>
          <td class="paramname"><em>resourceBundle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>resourceKey</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>err</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the number of strings/arrays in resource bundles. </p>
<p>Better to use ures_getSize, as this function will be deprecated.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">resourceBundle</td><td>resource bundle containing the desired strings </td></tr>
    <tr><td class="paramname">resourceKey</td><td>key tagging the resource </td></tr>
    <tr><td class="paramname">err</td><td>fills in the outgoing error code could be <code>U_MISSING_RESOURCE_ERROR</code> if the key is not found could be a non-failing error e.g.: <code>U_USING_FALLBACK_WARNING</code>,<code>U_USING_FALLBACK_WARNING </code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>: for <b>Arrays</b>: returns the number of resources in the array <b>Tables</b>: returns the number of resources in the table <b>single string</b>: returns 1 </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ures_8h.html#a4eb5d79c3799ee8cfe0cbd96322581bd" title="Returns the size of a resource. ">ures_getSize</a> </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000113">Deprecated:</a></b></dt><dd>ICU 2.8 User ures_getSize instead </dd></dl>

</div>
</div>
<a class="anchor" id="a3d29628c77fb9c5fffa412257aa743cc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const uint8_t* ures_getBinary </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td>
          <td class="paramname"><em>resourceBundle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t *&#160;</td>
          <td class="paramname"><em>len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns a binary data from a binary resource. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">resourceBundle</td><td>a string resource </td></tr>
    <tr><td class="paramname">len</td><td>fills in the length of resulting byte chunk </td></tr>
    <tr><td class="paramname">status</td><td>fills in the outgoing error code could be <code>U_MISSING_RESOURCE_ERROR</code> if the key is not found Always check the value of status. Don't count on returning NULL. could be a non-failing error e.g.: <code>U_USING_FALLBACK_WARNING</code>,<code>U_USING_DEFAULT_WARNING </code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to a chunk of unsigned bytes which live in a memory mapped/DLL file. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ures_8h.html#a088b560881f84521caefc1513efc45af" title="Returns a string from a string resource type. ">ures_getString</a> </dd>
<dd>
<a class="el" href="ures_8h.html#ae89d1bc77281a8a61896f6615cd506ea" title="Returns a 32 bit integer array from a resource. ">ures_getIntVector</a> </dd>
<dd>
<a class="el" href="ures_8h.html#ab718b0e9c6e06a2bbcce9a71e04b185e" title="Returns a signed integer from a resource. ">ures_getInt</a> </dd>
<dd>
<a class="el" href="ures_8h.html#aa21170067cf90e1d492b4806f31c6a9c" title="Returns an unsigned integer from a resource. ">ures_getUInt</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002318">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="aae9284d2a6a4c8169cc2e7c7d89a29e6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a>* ures_getByIndex </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td>
          <td class="paramname"><em>resourceBundle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>indexR</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td>
          <td class="paramname"><em>fillIn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the resource in a given resource at the specified index. </p>
<p>Features a fill-in parameter.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">resourceBundle</td><td>the resource bundle from which to get a sub-resource </td></tr>
    <tr><td class="paramname">indexR</td><td>an index to the wanted resource. </td></tr>
    <tr><td class="paramname">fillIn</td><td>if NULL a new UResourceBundle struct is allocated and must be closed by the caller. Alternatively, you can supply a struct to be filled by this function. </td></tr>
    <tr><td class="paramname">status</td><td>fills in the outgoing error code. Don't count on NULL being returned if an error has occured. Check status instead. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to a UResourceBundle struct. If fill in param was NULL, caller must close it </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002329">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a9cffc29afd81c60f4a3ce2c8dadf8e98"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a>* ures_getByKey </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td>
          <td class="paramname"><em>resourceBundle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td>
          <td class="paramname"><em>fillIn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns a resource in a given resource that has a given key. </p>
<p>This procedure works only with table resources. Features a fill-in parameter.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">resourceBundle</td><td>a resource </td></tr>
    <tr><td class="paramname">key</td><td>a key associated with the wanted resource </td></tr>
    <tr><td class="paramname">fillIn</td><td>if NULL a new UResourceBundle struct is allocated and must be closed by the caller. Alternatively, you can supply a struct to be filled by this function. </td></tr>
    <tr><td class="paramname">status</td><td>fills in the outgoing error code. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to a UResourceBundle struct. If fill in param was NULL, caller must close it </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002332">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ab718b0e9c6e06a2bbcce9a71e04b185e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t ures_getInt </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td>
          <td class="paramname"><em>resourceBundle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns a signed integer from a resource. </p>
<p>This integer is originally 28 bit and the sign gets propagated.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">resourceBundle</td><td>a string resource </td></tr>
    <tr><td class="paramname">status</td><td>fills in the outgoing error code could be <code>U_MISSING_RESOURCE_ERROR</code> if the key is not found could be a non-failing error e.g.: <code>U_USING_FALLBACK_WARNING</code>,<code>U_USING_DEFAULT_WARNING </code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>an integer value </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ures_8h.html#aa21170067cf90e1d492b4806f31c6a9c" title="Returns an unsigned integer from a resource. ">ures_getUInt</a> </dd>
<dd>
<a class="el" href="ures_8h.html#ae89d1bc77281a8a61896f6615cd506ea" title="Returns a 32 bit integer array from a resource. ">ures_getIntVector</a> </dd>
<dd>
<a class="el" href="ures_8h.html#a3d29628c77fb9c5fffa412257aa743cc" title="Returns a binary data from a binary resource. ">ures_getBinary</a> </dd>
<dd>
<a class="el" href="ures_8h.html#a088b560881f84521caefc1513efc45af" title="Returns a string from a string resource type. ">ures_getString</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002321">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ae89d1bc77281a8a61896f6615cd506ea"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const int32_t* ures_getIntVector </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td>
          <td class="paramname"><em>resourceBundle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t *&#160;</td>
          <td class="paramname"><em>len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns a 32 bit integer array from a resource. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">resourceBundle</td><td>an int vector resource </td></tr>
    <tr><td class="paramname">len</td><td>fills in the length of resulting byte chunk </td></tr>
    <tr><td class="paramname">status</td><td>fills in the outgoing error code could be <code>U_MISSING_RESOURCE_ERROR</code> if the key is not found Always check the value of status. Don't count on returning NULL. could be a non-failing error e.g.: <code>U_USING_FALLBACK_WARNING</code>,<code>U_USING_DEFAULT_WARNING </code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to a chunk of integers which live in a memory mapped/DLL file. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ures_8h.html#a3d29628c77fb9c5fffa412257aa743cc" title="Returns a binary data from a binary resource. ">ures_getBinary</a> </dd>
<dd>
<a class="el" href="ures_8h.html#a088b560881f84521caefc1513efc45af" title="Returns a string from a string resource type. ">ures_getString</a> </dd>
<dd>
<a class="el" href="ures_8h.html#ab718b0e9c6e06a2bbcce9a71e04b185e" title="Returns a signed integer from a resource. ">ures_getInt</a> </dd>
<dd>
<a class="el" href="ures_8h.html#aa21170067cf90e1d492b4806f31c6a9c" title="Returns an unsigned integer from a resource. ">ures_getUInt</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002319">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a9c391e946d5d4bc204c1cc7798de6668"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* ures_getKey </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td>
          <td class="paramname"><em>resourceBundle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the key associated with a given resource. </p>
<p>Not all the resources have a key - only those that are members of a table.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">resourceBundle</td><td>a resource </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a key associated to this resource, or NULL if it doesn't have a key </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002324">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a82bdc1bb4f0afdb2d263c3589eaa9b62"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* ures_getLocale </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td>
          <td class="paramname"><em>resourceBundle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return the name of the Locale associated with this ResourceBundle. </p>
<p>This API allows you to query for the real locale of the resource. For example, if you requested "en_US_CALIFORNIA" and only "en_US" bundle exists, "en_US" will be returned. For subresources, the locale where this resource comes from will be returned. If fallback has occured, getLocale will reflect this.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">resourceBundle</td><td>resource bundle in question </td></tr>
    <tr><td class="paramname">status</td><td>just for catching illegal arguments </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A Locale name </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000115">Deprecated:</a></b></dt><dd>ICU 2.8 Use ures_getLocaleByType instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a39d1e5c7a265c24ebaa684b55a74c0e0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* ures_getLocaleByType </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td>
          <td class="paramname"><em>resourceBundle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="uloc_8h.html#adf053345d343f8d82ae080f7a5871f34">ULocDataLocaleType</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return the name of the Locale associated with this ResourceBundle. </p>
<p>You can choose between requested, valid and real locale.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">resourceBundle</td><td>resource bundle in question </td></tr>
    <tr><td class="paramname">type</td><td>You can choose between requested, valid and actual locale. For description see the definition of ULocDataLocaleType in <a class="el" href="uloc_8h.html" title="C API: Locale. ">uloc.h</a> </td></tr>
    <tr><td class="paramname">status</td><td>just for catching illegal arguments </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A Locale name </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002315">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

</div>
</div>
<a class="anchor" id="a04ad67a1b8feaca7b817ce51e4878d1d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a>* ures_getNextResource </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td>
          <td class="paramname"><em>resourceBundle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td>
          <td class="paramname"><em>fillIn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the next resource in a given resource or NULL if there are no more resources to iterate over. </p>
<p>Features a fill-in parameter.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">resourceBundle</td><td>a resource </td></tr>
    <tr><td class="paramname">fillIn</td><td>if NULL a new UResourceBundle struct is allocated and must be closed by the caller. Alternatively, you can supply a struct to be filled by this function. </td></tr>
    <tr><td class="paramname">status</td><td>fills in the outgoing error code. You may still get a non NULL result even if an error occured. Check status instead. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to a UResourceBundle struct. If fill in param was NULL, caller must close it </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002327">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ab3c74eb748adde7d83bd8a9ac52bb58e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a>* ures_getNextString </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td>
          <td class="paramname"><em>resourceBundle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t *&#160;</td>
          <td class="paramname"><em>len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char **&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the next string in a given resource or NULL if there are no more resources to iterate over. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">resourceBundle</td><td>a resource </td></tr>
    <tr><td class="paramname">len</td><td>fill in length of the string </td></tr>
    <tr><td class="paramname">key</td><td>fill in for key associated with this string. NULL if no key </td></tr>
    <tr><td class="paramname">status</td><td>fills in the outgoing error code. If an error occured, we may return NULL, but don't count on it. Check status instead! </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to a zero-terminated UChar array which lives in a memory mapped/DLL file. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002328">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Referenced by <a class="el" href="ures_8h_source.html#l00834">icu::ures_getNextUnicodeString()</a>.</p>

</div>
</div>
<a class="anchor" id="a4eb5d79c3799ee8cfe0cbd96322581bd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t ures_getSize </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td>
          <td class="paramname"><em>resourceBundle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the size of a resource. </p>
<p>Size for scalar types is always 1, and for vector/table types is the number of child resources. </p><dl class="section warning"><dt>Warning</dt><dd>Integer array is treated as a scalar type. There are no APIs to access individual members of an integer array. It is always returned as a whole. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">resourceBundle</td><td>a resource </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>number of resources in a given resource. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002322">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a088b560881f84521caefc1513efc45af"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a>* ures_getString </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td>
          <td class="paramname"><em>resourceBundle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t *&#160;</td>
          <td class="paramname"><em>len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns a string from a string resource type. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">resourceBundle</td><td>a string resource </td></tr>
    <tr><td class="paramname">len</td><td>fills in the length of resulting string </td></tr>
    <tr><td class="paramname">status</td><td>fills in the outgoing error code could be <code>U_MISSING_RESOURCE_ERROR</code> if the key is not found Always check the value of status. Don't count on returning NULL. could be a non-failing error e.g.: <code>U_USING_FALLBACK_WARNING</code>,<code>U_USING_DEFAULT_WARNING </code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to a zero-terminated UChar array which lives in a memory mapped/DLL file. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ures_8h.html#a3d29628c77fb9c5fffa412257aa743cc" title="Returns a binary data from a binary resource. ">ures_getBinary</a> </dd>
<dd>
<a class="el" href="ures_8h.html#ae89d1bc77281a8a61896f6615cd506ea" title="Returns a 32 bit integer array from a resource. ">ures_getIntVector</a> </dd>
<dd>
<a class="el" href="ures_8h.html#ab718b0e9c6e06a2bbcce9a71e04b185e" title="Returns a signed integer from a resource. ">ures_getInt</a> </dd>
<dd>
<a class="el" href="ures_8h.html#aa21170067cf90e1d492b4806f31c6a9c" title="Returns an unsigned integer from a resource. ">ures_getUInt</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002316">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Referenced by <a class="el" href="ures_8h_source.html#l00809">icu::ures_getUnicodeString()</a>.</p>

</div>
</div>
<a class="anchor" id="a1ac2f42ee782365ab291f6135e5b0073"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a>* ures_getStringByIndex </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td>
          <td class="paramname"><em>resourceBundle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>indexS</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t *&#160;</td>
          <td class="paramname"><em>len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the string in a given resource at the specified index. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">resourceBundle</td><td>a resource </td></tr>
    <tr><td class="paramname">indexS</td><td>an index to the wanted string. </td></tr>
    <tr><td class="paramname">len</td><td>fill in length of the string </td></tr>
    <tr><td class="paramname">status</td><td>fills in the outgoing error code. If an error occured, we may return NULL, but don't count on it. Check status instead! </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to a zero-terminated UChar array which lives in a memory mapped/DLL file. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002330">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Referenced by <a class="el" href="ures_8h_source.html#l00856">icu::ures_getUnicodeStringByIndex()</a>.</p>

</div>
</div>
<a class="anchor" id="a59b808cfa2bdd08497219849cdeff140"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a>* ures_getStringByKey </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td>
          <td class="paramname"><em>resB</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t *&#160;</td>
          <td class="paramname"><em>len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns a string in a given resource that has a given key. </p>
<p>This procedure works only with table resources.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">resB</td><td>a resource </td></tr>
    <tr><td class="paramname">key</td><td>a key associated with the wanted string </td></tr>
    <tr><td class="paramname">len</td><td>fill in length of the string </td></tr>
    <tr><td class="paramname">status</td><td>fills in the outgoing error code. If an error occured, we may return NULL, but don't count on it. Check status instead! </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to a zero-terminated UChar array which lives in a memory mapped/DLL file. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002333">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Referenced by <a class="el" href="ures_8h_source.html#l00879">icu::ures_getUnicodeStringByKey()</a>.</p>

</div>
</div>
<a class="anchor" id="a77ac531cd4bdc588efd21b2d9b7e2471"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fb">UResType</a> ures_getType </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td>
          <td class="paramname"><em>resourceBundle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the type of a resource. </p>
<p>Available types are defined in enum UResType</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">resourceBundle</td><td>a resource </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>type of the given resource. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fb" title="Numeric constants for types of resource items. ">UResType</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002323">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="aa21170067cf90e1d492b4806f31c6a9c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t ures_getUInt </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td>
          <td class="paramname"><em>resourceBundle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns an unsigned integer from a resource. </p>
<p>This integer is originally 28 bits.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">resourceBundle</td><td>a string resource </td></tr>
    <tr><td class="paramname">status</td><td>fills in the outgoing error code could be <code>U_MISSING_RESOURCE_ERROR</code> if the key is not found could be a non-failing error e.g.: <code>U_USING_FALLBACK_WARNING</code>,<code>U_USING_DEFAULT_WARNING </code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>an integer value </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ures_8h.html#ab718b0e9c6e06a2bbcce9a71e04b185e" title="Returns a signed integer from a resource. ">ures_getInt</a> </dd>
<dd>
<a class="el" href="ures_8h.html#ae89d1bc77281a8a61896f6615cd506ea" title="Returns a 32 bit integer array from a resource. ">ures_getIntVector</a> </dd>
<dd>
<a class="el" href="ures_8h.html#a3d29628c77fb9c5fffa412257aa743cc" title="Returns a binary data from a binary resource. ">ures_getBinary</a> </dd>
<dd>
<a class="el" href="ures_8h.html#a088b560881f84521caefc1513efc45af" title="Returns a string from a string resource type. ">ures_getString</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002320">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a1dd8d20a524c70ef8ec9943221f82021"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* ures_getUTF8String </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td>
          <td class="paramname"><em>resB</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t *&#160;</td>
          <td class="paramname"><em>length</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td>
          <td class="paramname"><em>forceCopy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns a UTF-8 string from a string resource. </p>
<p>The UTF-8 string may be returnable directly as a pointer, or it may need to be copied, or transformed from UTF-16 using <a class="el" href="ustring_8h.html#a0ca7af2cf47b116454eed92331594afa" title="Convert a UTF-16 string to UTF-8. ">u_strToUTF8()</a> or equivalent.</p>
<p>If forceCopy==TRUE, then the string is always written to the dest buffer and dest is returned.</p>
<p>If forceCopy==FALSE, then the string is returned as a pointer if possible, without needing a dest buffer (it can be NULL). If the string needs to be copied or transformed, then it may be placed into dest at an arbitrary offset.</p>
<p>If the string is to be written to dest, then U_BUFFER_OVERFLOW_ERROR and U_STRING_NOT_TERMINATED_WARNING are set if appropriate, as usual.</p>
<p>If the string is transformed from UTF-16, then a conversion error may occur if an unpaired surrogate is encountered. If the function is successful, then the output UTF-8 string is always well-formed.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">resB</td><td>Resource bundle. </td></tr>
    <tr><td class="paramname">dest</td><td>Destination buffer. Can be NULL only if capacity=*length==0. </td></tr>
    <tr><td class="paramname">length</td><td>Input: Capacity of destination buffer. Output: Actual length of the UTF-8 string, not counting the terminating NUL, even in case of U_BUFFER_OVERFLOW_ERROR. Can be NULL, meaning capacity=0 and the string length is not returned to the caller. </td></tr>
    <tr><td class="paramname">forceCopy</td><td>If TRUE, then the output string will always be written to dest, with U_BUFFER_OVERFLOW_ERROR and U_STRING_NOT_TERMINATED_WARNING set if appropriate. If FALSE, then the dest buffer may or may not contain a copy of the string. dest may or may not be modified. If a copy needs to be written, then the UErrorCode parameter indicates overflow etc. as usual. </td></tr>
    <tr><td class="paramname">status</td><td>Pointer to a standard ICU error code. Its input value must pass the <a class="el" href="utypes_8h.html#a527f2c69e6b2e3b2c53ad8a99fb36711" title="Does the error code indicate success? ">U_SUCCESS()</a> test, or else the function returns immediately. Check for <a class="el" href="utypes_8h.html#a4d202200b6aa6f3c965ea370e0c8155f" title="Does the error code indicate a failure? ">U_FAILURE()</a> on output or use with function chaining. (See User Guide for details.) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The pointer to the UTF-8 string. It may be dest, or at some offset from dest (only if !forceCopy), or in unrelated memory. Always NUL-terminated unless the string was written to dest and length==capacity (in which case U_STRING_NOT_TERMINATED_WARNING is set).</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ures_8h.html#a088b560881f84521caefc1513efc45af" title="Returns a string from a string resource type. ">ures_getString</a> </dd>
<dd>
<a class="el" href="ustring_8h.html#a0ca7af2cf47b116454eed92331594afa" title="Convert a UTF-16 string to UTF-8. ">u_strToUTF8</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002317">Stable:</a></b></dt><dd>ICU 3.6 </dd></dl>

</div>
</div>
<a class="anchor" id="af692a3738524bbf6c30bfa56a2135b5b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* ures_getUTF8StringByIndex </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td>
          <td class="paramname"><em>resB</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>stringIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t *&#160;</td>
          <td class="paramname"><em>pLength</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td>
          <td class="paramname"><em>forceCopy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns a UTF-8 string from a resource at the specified index. </p>
<p>The UTF-8 string may be returnable directly as a pointer, or it may need to be copied, or transformed from UTF-16 using <a class="el" href="ustring_8h.html#a0ca7af2cf47b116454eed92331594afa" title="Convert a UTF-16 string to UTF-8. ">u_strToUTF8()</a> or equivalent.</p>
<p>If forceCopy==TRUE, then the string is always written to the dest buffer and dest is returned.</p>
<p>If forceCopy==FALSE, then the string is returned as a pointer if possible, without needing a dest buffer (it can be NULL). If the string needs to be copied or transformed, then it may be placed into dest at an arbitrary offset.</p>
<p>If the string is to be written to dest, then U_BUFFER_OVERFLOW_ERROR and U_STRING_NOT_TERMINATED_WARNING are set if appropriate, as usual.</p>
<p>If the string is transformed from UTF-16, then a conversion error may occur if an unpaired surrogate is encountered. If the function is successful, then the output UTF-8 string is always well-formed.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">resB</td><td>Resource bundle. </td></tr>
    <tr><td class="paramname">stringIndex</td><td>An index to the wanted string. </td></tr>
    <tr><td class="paramname">dest</td><td>Destination buffer. Can be NULL only if capacity=*length==0. </td></tr>
    <tr><td class="paramname">pLength</td><td>Input: Capacity of destination buffer. Output: Actual length of the UTF-8 string, not counting the terminating NUL, even in case of U_BUFFER_OVERFLOW_ERROR. Can be NULL, meaning capacity=0 and the string length is not returned to the caller. </td></tr>
    <tr><td class="paramname">forceCopy</td><td>If TRUE, then the output string will always be written to dest, with U_BUFFER_OVERFLOW_ERROR and U_STRING_NOT_TERMINATED_WARNING set if appropriate. If FALSE, then the dest buffer may or may not contain a copy of the string. dest may or may not be modified. If a copy needs to be written, then the UErrorCode parameter indicates overflow etc. as usual. </td></tr>
    <tr><td class="paramname">status</td><td>Pointer to a standard ICU error code. Its input value must pass the <a class="el" href="utypes_8h.html#a527f2c69e6b2e3b2c53ad8a99fb36711" title="Does the error code indicate success? ">U_SUCCESS()</a> test, or else the function returns immediately. Check for <a class="el" href="utypes_8h.html#a4d202200b6aa6f3c965ea370e0c8155f" title="Does the error code indicate a failure? ">U_FAILURE()</a> on output or use with function chaining. (See User Guide for details.) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The pointer to the UTF-8 string. It may be dest, or at some offset from dest (only if !forceCopy), or in unrelated memory. Always NUL-terminated unless the string was written to dest and length==capacity (in which case U_STRING_NOT_TERMINATED_WARNING is set).</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ures_8h.html#a1ac2f42ee782365ab291f6135e5b0073" title="Returns the string in a given resource at the specified index. ">ures_getStringByIndex</a> </dd>
<dd>
<a class="el" href="ustring_8h.html#a0ca7af2cf47b116454eed92331594afa" title="Convert a UTF-16 string to UTF-8. ">u_strToUTF8</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002331">Stable:</a></b></dt><dd>ICU 3.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a7fbb24a527a74807dded377ca0ecd41c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* ures_getUTF8StringByKey </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td>
          <td class="paramname"><em>resB</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t *&#160;</td>
          <td class="paramname"><em>pLength</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td>
          <td class="paramname"><em>forceCopy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns a UTF-8 string from a resource and a key. </p>
<p>This function works only with table resources.</p>
<p>The UTF-8 string may be returnable directly as a pointer, or it may need to be copied, or transformed from UTF-16 using <a class="el" href="ustring_8h.html#a0ca7af2cf47b116454eed92331594afa" title="Convert a UTF-16 string to UTF-8. ">u_strToUTF8()</a> or equivalent.</p>
<p>If forceCopy==TRUE, then the string is always written to the dest buffer and dest is returned.</p>
<p>If forceCopy==FALSE, then the string is returned as a pointer if possible, without needing a dest buffer (it can be NULL). If the string needs to be copied or transformed, then it may be placed into dest at an arbitrary offset.</p>
<p>If the string is to be written to dest, then U_BUFFER_OVERFLOW_ERROR and U_STRING_NOT_TERMINATED_WARNING are set if appropriate, as usual.</p>
<p>If the string is transformed from UTF-16, then a conversion error may occur if an unpaired surrogate is encountered. If the function is successful, then the output UTF-8 string is always well-formed.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">resB</td><td>Resource bundle. </td></tr>
    <tr><td class="paramname">key</td><td>A key associated with the wanted resource </td></tr>
    <tr><td class="paramname">dest</td><td>Destination buffer. Can be NULL only if capacity=*length==0. </td></tr>
    <tr><td class="paramname">pLength</td><td>Input: Capacity of destination buffer. Output: Actual length of the UTF-8 string, not counting the terminating NUL, even in case of U_BUFFER_OVERFLOW_ERROR. Can be NULL, meaning capacity=0 and the string length is not returned to the caller. </td></tr>
    <tr><td class="paramname">forceCopy</td><td>If TRUE, then the output string will always be written to dest, with U_BUFFER_OVERFLOW_ERROR and U_STRING_NOT_TERMINATED_WARNING set if appropriate. If FALSE, then the dest buffer may or may not contain a copy of the string. dest may or may not be modified. If a copy needs to be written, then the UErrorCode parameter indicates overflow etc. as usual. </td></tr>
    <tr><td class="paramname">status</td><td>Pointer to a standard ICU error code. Its input value must pass the <a class="el" href="utypes_8h.html#a527f2c69e6b2e3b2c53ad8a99fb36711" title="Does the error code indicate success? ">U_SUCCESS()</a> test, or else the function returns immediately. Check for <a class="el" href="utypes_8h.html#a4d202200b6aa6f3c965ea370e0c8155f" title="Does the error code indicate a failure? ">U_FAILURE()</a> on output or use with function chaining. (See User Guide for details.) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The pointer to the UTF-8 string. It may be dest, or at some offset from dest (only if !forceCopy), or in unrelated memory. Always NUL-terminated unless the string was written to dest and length==capacity (in which case U_STRING_NOT_TERMINATED_WARNING is set).</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ures_8h.html#a59b808cfa2bdd08497219849cdeff140" title="Returns a string in a given resource that has a given key. ">ures_getStringByKey</a> </dd>
<dd>
<a class="el" href="ustring_8h.html#a0ca7af2cf47b116454eed92331594afa" title="Convert a UTF-16 string to UTF-8. ">u_strToUTF8</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002334">Stable:</a></b></dt><dd>ICU 3.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a2edd739dcbf0062e0c344b4a4e0a26d2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ures_getVersion </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td>
          <td class="paramname"><em>resB</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="uversion_8h.html#a61caef96ba86d8e86a4031925ea44e94">UVersionInfo</a>&#160;</td>
          <td class="paramname"><em>versionInfo</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return the version number associated with this ResourceBundle as an UVersionInfo array. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">resB</td><td>The resource bundle for which the version is checked. </td></tr>
    <tr><td class="paramname">versionInfo</td><td>A UVersionInfo array that is filled with the version number as specified in the resource bundle or its parent. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002314">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a33679a8207b84dda51bff3e30c04174f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* ures_getVersionNumber </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td>
          <td class="paramname"><em>resourceBundle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return the version number associated with this ResourceBundle as a string. </p>
<p>Please use ures_getVersion as this function is going to be deprecated.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">resourceBundle</td><td>The resource bundle for which the version is checked. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A version number string as specified in the resource bundle or its parent. The caller does not own this string. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ures_8h.html#a2edd739dcbf0062e0c344b4a4e0a26d2" title="Return the version number associated with this ResourceBundle as an UVersionInfo array. ">ures_getVersion</a> </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000114">Deprecated:</a></b></dt><dd>ICU 2.8 Use ures_getVersion instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a787089fdc0669fe3ec7f5023b628a642"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> ures_hasNext </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td>
          <td class="paramname"><em>resourceBundle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Checks whether the given resource has another element to iterate over. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">resourceBundle</td><td>a resource </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if there are more elements, FALSE if there is no more elements </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002326">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ac4d72fc9f7cc63a05f646cabee4be167"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a>* ures_open </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>packageName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>locale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Opens a UResourceBundle, from which users can extract strings by using their corresponding keys. </p>
<p>Note that the caller is responsible of calling <code>ures_close</code> on each succesfully opened resource bundle. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">packageName</td><td>The packageName and locale together point to an ICU udata object, as defined by <code> udata_open( packageName, "res", locale, err) </code> or equivalent. Typically, packageName will refer to a (.dat) file, or to a package registered with <a class="el" href="udata_8h.html#a406559067e309c05fb90b2d532f11835" title="This function bypasses the normal ICU data loading process for application-specific data and allows y...">udata_setAppData()</a>. Using a full file or directory pathname for packageName is deprecated. If NULL, ICU data will be used. </td></tr>
    <tr><td class="paramname">locale</td><td>specifies the locale for which we want to open the resource if NULL, the default locale will be used. If strlen(locale) == 0 root locale will be used.</td></tr>
    <tr><td class="paramname">status</td><td>fills in the outgoing error code. The UErrorCode err parameter is used to return status information to the user. To check whether the construction succeeded or not, you should check the value of <a class="el" href="utypes_8h.html#a527f2c69e6b2e3b2c53ad8a99fb36711" title="Does the error code indicate success? ">U_SUCCESS(err)</a>. If you wish more detailed information, you can check for informational status results which still indicate success. U_USING_FALLBACK_WARNING indicates that a fall back locale was used. For example, 'de_CH' was requested, but nothing was found there, so 'de' was used. U_USING_DEFAULT_WARNING indicates that the default locale data or root locale data was used; neither the requested locale nor any of its fall back locales could be found. Please see the users guide for more information on this topic. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a newly allocated resource bundle. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" 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> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002310">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="af546de139ec4fc9fba12a9fa1debcfac"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="uenum_8h.html#a32b7253b2148022535be36a9fcdb5a8d">UEnumeration</a>* ures_openAvailableLocales </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>packageName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a string enumerator, owned by the caller, of all locales located within the specified resource tree. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">packageName</td><td>name of the tree, such as (NULL) or U_ICUDATA_ALIAS or or "ICUDATA-coll" This call is similar to <a class="el" href="uloc_8h.html#a75df9657cc46472afa94e4cbd4a1529b" title="Gets the specified locale from a list of all available locales. ">uloc_getAvailable()</a>. </td></tr>
    <tr><td class="paramname">status</td><td>error code </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002335">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

<p>Referenced by <a class="el" href="ures_8h_source.html#l00879">icu::ures_getUnicodeStringByKey()</a>.</p>

</div>
</div>
<a class="anchor" id="a261fcbb263bbe48b13d2b3e2fc2470a0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a>* ures_openDirect </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>packageName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>locale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function does not care what kind of localeID is passed in. </p>
<p>It simply opens a bundle with that name. Fallback mechanism is disabled for the new bundle. If the requested bundle contains an %ALIAS directive, the results are undefined. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">packageName</td><td>The packageName and locale together point to an ICU udata object, as defined by <code> udata_open( packageName, "res", locale, err) </code> or equivalent. Typically, packageName will refer to a (.dat) file, or to a package registered with <a class="el" href="udata_8h.html#a406559067e309c05fb90b2d532f11835" title="This function bypasses the normal ICU data loading process for application-specific data and allows y...">udata_setAppData()</a>. Using a full file or directory pathname for packageName is deprecated. If NULL, ICU data will be used. </td></tr>
    <tr><td class="paramname">locale</td><td>specifies the locale for which we want to open the resource if NULL, the default locale will be used. If strlen(locale) == 0 root locale will be used.</td></tr>
    <tr><td class="paramname">status</td><td>fills in the outgoing error code. Either U_ZERO_ERROR or U_MISSING_RESOURCE_ERROR </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a newly allocated resource bundle or NULL if it doesn't exist. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" 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> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002311">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a41dc0b7aa46942d3034ffce73adf9aea"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ures_openFillIn </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>packageName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>localeID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Same as <a class="el" href="ures_8h.html#ac4d72fc9f7cc63a05f646cabee4be167" title="Opens a UResourceBundle, from which users can extract strings by using their corresponding keys...">ures_open()</a> but uses the fill-in parameter instead of allocating a bundle, if r!=NULL. </p>
<p>TODO need to revisit usefulness of this function and usage model for fillIn parameters without knowing sizeof(UResourceBundle) </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">r</td><td>The resourcebundle to open </td></tr>
    <tr><td class="paramname">packageName</td><td>The packageName and locale together point to an ICU udata object, as defined by <code> udata_open( packageName, "res", locale, err) </code> or equivalent. Typically, packageName will refer to a (.dat) file, or to a package registered with <a class="el" href="udata_8h.html#a406559067e309c05fb90b2d532f11835" title="This function bypasses the normal ICU data loading process for application-specific data and allows y...">udata_setAppData()</a>. Using a full file or directory pathname for packageName is deprecated. If NULL, ICU data will be used. </td></tr>
    <tr><td class="paramname">localeID</td><td>specifies the locale for which we want to open the resource </td></tr>
    <tr><td class="paramname">status</td><td>The error code </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a newly allocated resource bundle or NULL if it doesn't exist. </dd></dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000193">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

</div>
</div>
<a class="anchor" id="a73d8f9711d915ef1888a7e149f64a9ae"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a>* ures_openU </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>packageName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>locale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Same as <a class="el" href="ures_8h.html#ac4d72fc9f7cc63a05f646cabee4be167" title="Opens a UResourceBundle, from which users can extract strings by using their corresponding keys...">ures_open()</a> but takes a const UChar *path. </p>
<p>This path will be converted to char * using the default converter, then <a class="el" href="ures_8h.html#ac4d72fc9f7cc63a05f646cabee4be167" title="Opens a UResourceBundle, from which users can extract strings by using their corresponding keys...">ures_open()</a> is called.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">packageName</td><td>The packageName and locale together point to an ICU udata object, as defined by <code> udata_open( packageName, "res", locale, err) </code> or equivalent. Typically, packageName will refer to a (.dat) file, or to a package registered with <a class="el" href="udata_8h.html#a406559067e309c05fb90b2d532f11835" title="This function bypasses the normal ICU data loading process for application-specific data and allows y...">udata_setAppData()</a>. Using a full file or directory pathname for packageName is deprecated. If NULL, ICU data will be used. </td></tr>
    <tr><td class="paramname">locale</td><td>specifies the locale for which we want to open the resource if NULL, the default locale will be used. If strlen(locale) == 0 root locale will be used. </td></tr>
    <tr><td class="paramname">status</td><td>fills in the outgoing error code. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a newly allocated resource bundle. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ures_8h.html#ac4d72fc9f7cc63a05f646cabee4be167" title="Opens a UResourceBundle, from which users can extract strings by using their corresponding keys...">ures_open</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002312">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ab0755e4d54d950e32acc785cbc46c431"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ures_resetIterator </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&#160;</td>
          <td class="paramname"><em>resourceBundle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Resets the internal context of a resource so that iteration starts from the first element. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">resourceBundle</td><td>a resource </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002325">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>