Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-release > by-pkgid > 280da2a01a3d16776505ea3f476de84f > files > 125

icu-doc-3.8.1-2mdv2008.1.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>ICU 3.8: ResourceBundle Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.1 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li id="current"><a href="classes.html"><span>Data&nbsp;Structures</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
    <li>
      <form action="search.php" method="get">
        <table cellspacing="0" cellpadding="0" border="0">
          <tr>
            <td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</label></td>
            <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
          </tr>
        </table>
      </form>
    </li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
  </ul></div>
<h1>ResourceBundle Class Reference</h1><!-- doxytag: class="ResourceBundle" --><!-- doxytag: inherits="UObject" -->A class representing a collection of resource information pertaining to a given locale.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="resbund_8h-source.html">resbund.h</a>&gt;</code>
<p>
<p>Inheritance diagram for ResourceBundle:
<p><center><img src="classResourceBundle.png" usemap="#ResourceBundle_map" border="0" alt=""></center>
<map name="ResourceBundle_map">
<area href="classUObject.html" alt="UObject" shape="rect" coords="0,56,105,80">
<area href="classUMemory.html" alt="UMemory" shape="rect" coords="0,0,105,24">
</map>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#3173cb967dc23efe0a7dc0ec5d2094cf">ResourceBundle</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;packageName, const <a class="el" href="classLocale.html">Locale</a> &amp;locale, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;err)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor.  <a href="#3173cb967dc23efe0a7dc0ec5d2094cf"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#ea1a13c4041def651f3c6feb83b4f09a">ResourceBundle</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;packageName, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;err)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Construct a resource bundle for the default bundle in the specified package.  <a href="#ea1a13c4041def651f3c6feb83b4f09a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#5e30b7896bc18cdf70300b7e536e4fbd">ResourceBundle</a> (<a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;err)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Construct a resource bundle for the ICU default bundle.  <a href="#5e30b7896bc18cdf70300b7e536e4fbd"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#80c6149ee0b93fea134959fa567ac8da">ResourceBundle</a> (const char *packageName, const <a class="el" href="classLocale.html">Locale</a> &amp;locale, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;err)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Standard constructor, onstructs a resource bundle for the locale-specific bundle in the specified package.  <a href="#80c6149ee0b93fea134959fa567ac8da"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#e1afe1d1bbaa2e68da491d93f3f5d0ec">ResourceBundle</a> (const <a class="el" href="classResourceBundle.html">ResourceBundle</a> &amp;original)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copy constructor.  <a href="#e1afe1d1bbaa2e68da491d93f3f5d0ec"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#d4dfcfeb7a8f7700b346b4cee5165575">ResourceBundle</a> (<a class="el" href="ures_8h.html#7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *res, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor from a C UResourceBundle.  <a href="#d4dfcfeb7a8f7700b346b4cee5165575"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classResourceBundle.html">ResourceBundle</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#85e7ab7201f08b0ca5e84b2336af7bd1">operator=</a> (const <a class="el" href="classResourceBundle.html">ResourceBundle</a> &amp;other)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Assignment operator.  <a href="#85e7ab7201f08b0ca5e84b2336af7bd1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#7a5fe8f06f79a7e56aafad177545d2a8">~ResourceBundle</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor.  <a href="#7a5fe8f06f79a7e56aafad177545d2a8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classResourceBundle.html">ResourceBundle</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#d895dc33512731a555e1c75fabe13faf">clone</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Clone this object.  <a href="#d895dc33512731a555e1c75fabe13faf"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#0395affb4c3b4ce8a6a25e1a32c7803a">getSize</a> (void) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the size of a resource.  <a href="#0395affb4c3b4ce8a6a25e1a32c7803a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#936232801dcd4572f23af77d06fe895a">getString</a> (<a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">returns a string from a string resource type  <a href="#936232801dcd4572f23af77d06fe895a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="pwin32_8h.html#ba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#41db4c4eadaaaa61bd85a3b787b17ac5">getBinary</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> &amp;len, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">returns a binary data from a resource.  <a href="#41db4c4eadaaaa61bd85a3b787b17ac5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#b639a5fde88a601d8be190285c24f915">getIntVector</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> &amp;len, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">returns an integer vector from a resource.  <a href="#b639a5fde88a601d8be190285c24f915"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#435d1572bf3f880d55459d9805097f62">uint32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#4e3a35a1a859ef46d25699fa44ff5e4b">getUInt</a> (<a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">returns an unsigned integer from a resource.  <a href="#4e3a35a1a859ef46d25699fa44ff5e4b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#7b322eb42b9aa67069bbda3b6fc8ccf2">getInt</a> (<a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">returns a signed integer from a resource.  <a href="#7b322eb42b9aa67069bbda3b6fc8ccf2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#227a0b773178f633b4a22627ff258c4f">hasNext</a> (void) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Checks whether the resource has another element to iterate over.  <a href="#227a0b773178f633b4a22627ff258c4f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#2d61032aa8129ef6749b6508d30fa5c7">resetIterator</a> (void)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Resets the internal context of a resource so that iteration starts from the first element.  <a href="#2d61032aa8129ef6749b6508d30fa5c7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#23924719214c40e0441bdf604a3e0e61">getKey</a> (void) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the key associated with this resource.  <a href="#23924719214c40e0441bdf604a3e0e61"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#80628c5d772d7c53519a07144b02a28a">getName</a> (void) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the locale ID of the resource bundle as a string.  <a href="#80628c5d772d7c53519a07144b02a28a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="ures_8h.html#3f1197bf41a6228c38e3fddb58bf96fb">UResType</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#0f0e718ef4653a9a5107d9d2a175108d">getType</a> (void) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the type of a resource.  <a href="#0f0e718ef4653a9a5107d9d2a175108d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classResourceBundle.html">ResourceBundle</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#054073116bf7e647705512541e36f778">getNext</a> (<a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the next resource in a given resource or NULL if there are no more resources.  <a href="#054073116bf7e647705512541e36f778"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#efb5faa168e95040428ae502f9103744">getNextString</a> (<a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the next string in a resource or NULL if there are no more resources to iterate over.  <a href="#efb5faa168e95040428ae502f9103744"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#a1a304f61d6877a7bb85649a570db680">getNextString</a> (const char **key, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the next string in a resource or NULL if there are no more resources to iterate over.  <a href="#a1a304f61d6877a7bb85649a570db680"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classResourceBundle.html">ResourceBundle</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#9a1ee45dcf570edebe529e36cbaaccf8">get</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> index, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the resource in a resource at the specified index.  <a href="#9a1ee45dcf570edebe529e36cbaaccf8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#18e5956cc31afb351ce598440bbd0ce5">getStringEx</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> index, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the string in a given resource at the specified index.  <a href="#18e5956cc31afb351ce598440bbd0ce5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classResourceBundle.html">ResourceBundle</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#a53e953a254ac71a95a089c82652b334">get</a> (const char *key, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a resource in a resource that has a given key.  <a href="#a53e953a254ac71a95a089c82652b334"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#37ef2f1ad5eca2bb3ed1bfd2bf235ca7">getStringEx</a> (const char *key, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a string in a resource that has a given key.  <a href="#37ef2f1ad5eca2bb3ed1bfd2bf235ca7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#e4e52f0039001de358097aaed281ddff">getVersionNumber</a> (void) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the version number associated with this <a class="el" href="classResourceBundle.html">ResourceBundle</a> as a string.  <a href="#e4e52f0039001de358097aaed281ddff"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#3322cf30051bc9e53d553b0d571cf193">getVersion</a> (<a class="el" href="uversion_8h.html#61caef96ba86d8e86a4031925ea44e94">UVersionInfo</a> versionInfo) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the version number associated with this <a class="el" href="classResourceBundle.html">ResourceBundle</a> as a UVersionInfo array.  <a href="#3322cf30051bc9e53d553b0d571cf193"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classLocale.html">Locale</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#7f05f16344d4d8bf02d6cfdb6f5e4e02">getLocale</a> (void) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the <a class="el" href="classLocale.html">Locale</a> associated with this <a class="el" href="classResourceBundle.html">ResourceBundle</a>.  <a href="#7f05f16344d4d8bf02d6cfdb6f5e4e02"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classLocale.html">Locale</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#30f4dd524dc91b85efe088158e61bcce">getLocale</a> (<a class="el" href="uloc_8h.html#df053345d343f8d82ae080f7a5871f34">ULocDataLocaleType</a> type, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the <a class="el" href="classLocale.html">Locale</a> associated with this <a class="el" href="classResourceBundle.html">ResourceBundle</a>.  <a href="#30f4dd524dc91b85efe088158e61bcce"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classResourceBundle.html">ResourceBundle</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#4aa335d2093d3d94df3adc8ed6d9f19c">getWithFallback</a> (const char *key, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This API implements multilevel fallback.  <a href="#4aa335d2093d3d94df3adc8ed6d9f19c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="utypes_8h.html#22af10545208a455a6e884008df48e9f">UClassID</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#7fba9f6452f74814b7608f0b2e62c1f8">getDynamicClassID</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for the actual class.  <a href="#7fba9f6452f74814b7608f0b2e62c1f8"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="utypes_8h.html#22af10545208a455a6e884008df48e9f">UClassID</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#580da94da06b75e5425da18dad085781">getStaticClassID</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for this class.  <a href="#580da94da06b75e5425da18dad085781"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A class representing a collection of resource information pertaining to a given locale. 
<p>
A resource bundle provides a way of accessing locale- specfic 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>
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>
The <a class="el" href="classResourceBundle.html">ResourceBundle</a> class is not suitable for subclassing.<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable000267">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>

<p>
Definition at line <a class="el" href="resbund_8h-source.html#l00078">78</a> of file <a class="el" href="resbund_8h-source.html">resbund.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="3173cb967dc23efe0a7dc0ec5d2094cf"></a><!-- doxytag: member="ResourceBundle::ResourceBundle" ref="3173cb967dc23efe0a7dc0ec5d2094cf" args="(const UnicodeString &amp;packageName, const Locale &amp;locale, UErrorCode &amp;err)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ResourceBundle::ResourceBundle           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>packageName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classLocale.html">Locale</a> &amp;&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>err</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructor. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>packageName</em>&nbsp;</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#406559067e309c05fb90b2d532f11835">udata_setAppData()</a>. Using a full file or directory pathname for packageName is deprecated. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>locale</em>&nbsp;</td><td>This is the locale this resource bundle is for. To get resources for the French locale, for example, you would create a <a class="el" href="classResourceBundle.html">ResourceBundle</a> passing Locale::FRENCH for the "locale" parameter, and all subsequent calls to that resource bundle will return resources that pertain to the French locale. If the caller doesn't pass a locale parameter, the default locale for the system (as returned by <a class="el" href="classLocale.html#c12d6326f2d283f5643f6b6caacfe88c">Locale::getDefault()</a>) will be used. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>err</em>&nbsp;</td><td>The Error Code. The UErrorCode&amp; 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#527f2c69e6b2e3b2c53ad8a99fb36711">U_SUCCESS(err)</a>. If you wish more detailed information, you can check for informational error 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 was used; neither the requested locale nor any of its fall back locales could be found. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable000268">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="ea1a13c4041def651f3c6feb83b4f09a"></a><!-- doxytag: member="ResourceBundle::ResourceBundle" ref="ea1a13c4041def651f3c6feb83b4f09a" args="(const UnicodeString &amp;packageName, UErrorCode &amp;err)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ResourceBundle::ResourceBundle           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>err</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Construct a resource bundle for the default bundle in the specified package. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>packageName</em>&nbsp;</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#406559067e309c05fb90b2d532f11835">udata_setAppData()</a>. Using a full file or directory pathname for packageName is deprecated. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>err</em>&nbsp;</td><td>A UErrorCode value </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable000269">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="5e30b7896bc18cdf70300b7e536e4fbd"></a><!-- doxytag: member="ResourceBundle::ResourceBundle" ref="5e30b7896bc18cdf70300b7e536e4fbd" args="(UErrorCode &amp;err)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ResourceBundle::ResourceBundle           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>err</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Construct a resource bundle for the ICU default bundle. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>err</em>&nbsp;</td><td>A UErrorCode value </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable000270">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="80c6149ee0b93fea134959fa567ac8da"></a><!-- doxytag: member="ResourceBundle::ResourceBundle" ref="80c6149ee0b93fea134959fa567ac8da" args="(const char *packageName, const Locale &amp;locale, UErrorCode &amp;err)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ResourceBundle::ResourceBundle           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>packageName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classLocale.html">Locale</a> &amp;&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>err</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Standard constructor, onstructs a resource bundle for the locale-specific bundle in the specified package. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>packageName</em>&nbsp;</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#406559067e309c05fb90b2d532f11835">udata_setAppData()</a>. Using a full file or directory pathname for packageName is deprecated. NULL is used to refer to ICU data. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>locale</em>&nbsp;</td><td>The locale for which to open a resource bundle. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>err</em>&nbsp;</td><td>A UErrorCode value </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable000271">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="e1afe1d1bbaa2e68da491d93f3f5d0ec"></a><!-- doxytag: member="ResourceBundle::ResourceBundle" ref="e1afe1d1bbaa2e68da491d93f3f5d0ec" args="(const ResourceBundle &amp;original)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ResourceBundle::ResourceBundle           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classResourceBundle.html">ResourceBundle</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>original</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Copy constructor. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>original</em>&nbsp;</td><td>The resource bundle to copy. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable000272">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="d4dfcfeb7a8f7700b346b4cee5165575"></a><!-- doxytag: member="ResourceBundle::ResourceBundle" ref="d4dfcfeb7a8f7700b346b4cee5165575" args="(UResourceBundle *res, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ResourceBundle::ResourceBundle           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ures_8h.html#7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *&nbsp;</td>
          <td class="paramname"> <em>res</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructor from a C UResourceBundle. 
<p>
The resource bundle is copied and not adopted. ures_close will still need to be used on the original resource bundle.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>res</em>&nbsp;</td><td>A pointer to the C resource bundle. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>A UErrorCode value. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable000273">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="7a5fe8f06f79a7e56aafad177545d2a8"></a><!-- doxytag: member="ResourceBundle::~ResourceBundle" ref="7a5fe8f06f79a7e56aafad177545d2a8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual ResourceBundle::~ResourceBundle           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Destructor. 
<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable000275">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="85e7ab7201f08b0ca5e84b2336af7bd1"></a><!-- doxytag: member="ResourceBundle::operator=" ref="85e7ab7201f08b0ca5e84b2336af7bd1" args="(const ResourceBundle &amp;other)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classResourceBundle.html">ResourceBundle</a>&amp; ResourceBundle::operator=           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classResourceBundle.html">ResourceBundle</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>other</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Assignment operator. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>other</em>&nbsp;</td><td>The resource bundle to copy. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable000274">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="d895dc33512731a555e1c75fabe13faf"></a><!-- doxytag: member="ResourceBundle::clone" ref="d895dc33512731a555e1c75fabe13faf" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classResourceBundle.html">ResourceBundle</a>* ResourceBundle::clone           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Clone this object. 
<p>
Clones can be used concurrently in multiple threads. If an error occurs, then NULL is returned. The caller must delete the clone.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>a clone of this object</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classResourceBundle.html#7fba9f6452f74814b7608f0b2e62c1f8">getDynamicClassID</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable000276">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

</div>
</div><p>
<a class="anchor" name="0395affb4c3b4ce8a6a25e1a32c7803a"></a><!-- doxytag: member="ResourceBundle::getSize" ref="0395affb4c3b4ce8a6a25e1a32c7803a" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> ResourceBundle::getSize           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the size of a resource. 
<p>
Size for scalar types is always 1, and for vector/table types is the number of child resources. <dl class="warning" compact><dt><b>Warning:</b></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="return" compact><dt><b>Returns:</b></dt><dd>number of resources in a given resource. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable000277">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="936232801dcd4572f23af77d06fe895a"></a><!-- doxytag: member="ResourceBundle::getString" ref="936232801dcd4572f23af77d06fe895a" args="(UErrorCode &amp;status) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a> ResourceBundle::getString           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
returns a string from a string resource type 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</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 warning e.g.: <code>U_USING_FALLBACK_WARNING</code>,<code>U_USING_DEFAULT_WARNING </code> </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>a pointer to a zero-terminated UChar array which lives in a memory mapped/DLL file. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable000278">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="41db4c4eadaaaa61bd85a3b787b17ac5"></a><!-- doxytag: member="ResourceBundle::getBinary" ref="41db4c4eadaaaa61bd85a3b787b17ac5" args="(int32_t &amp;len, UErrorCode &amp;status) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="pwin32_8h.html#ba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>* ResourceBundle::getBinary           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> &amp;&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
returns a binary data from a resource. 
<p>
Can be used at most primitive resource types (binaries, strings, ints)<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>len</em>&nbsp;</td><td>fills in the length of resulting byte chunk </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</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 warning e.g.: <code>U_USING_FALLBACK_WARNING</code>,<code>U_USING_DEFAULT_WARNING </code> </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>a pointer to a chunk of unsigned bytes which live in a memory mapped/DLL file. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable000279">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="b639a5fde88a601d8be190285c24f915"></a><!-- doxytag: member="ResourceBundle::getIntVector" ref="b639a5fde88a601d8be190285c24f915" args="(int32_t &amp;len, UErrorCode &amp;status) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>* ResourceBundle::getIntVector           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> &amp;&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
returns an integer vector from a resource. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>len</em>&nbsp;</td><td>fills in the length of resulting integer vector </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</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 warning e.g.: <code>U_USING_FALLBACK_WARNING</code>,<code>U_USING_DEFAULT_WARNING </code> </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>a pointer to a vector of integers that lives in a memory mapped/DLL file. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable000280">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="4e3a35a1a859ef46d25699fa44ff5e4b"></a><!-- doxytag: member="ResourceBundle::getUInt" ref="4e3a35a1a859ef46d25699fa44ff5e4b" args="(UErrorCode &amp;status) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#435d1572bf3f880d55459d9805097f62">uint32_t</a> ResourceBundle::getUInt           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
returns an unsigned integer from a resource. 
<p>
This integer is originally 28 bits.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</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 warning e.g.: <code>U_USING_FALLBACK_WARNING</code>,<code>U_USING_DEFAULT_WARNING </code> </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>an unsigned integer value </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable000281">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="7b322eb42b9aa67069bbda3b6fc8ccf2"></a><!-- doxytag: member="ResourceBundle::getInt" ref="7b322eb42b9aa67069bbda3b6fc8ccf2" args="(UErrorCode &amp;status) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> ResourceBundle::getInt           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
returns a signed integer from a resource. 
<p>
This integer is originally 28 bit and the sign gets propagated.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</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 warning e.g.: <code>U_USING_FALLBACK_WARNING</code>,<code>U_USING_DEFAULT_WARNING </code> </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>a signed integer value </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable000282">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="227a0b773178f633b4a22627ff258c4f"></a><!-- doxytag: member="ResourceBundle::hasNext" ref="227a0b773178f633b4a22627ff258c4f" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> ResourceBundle::hasNext           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Checks whether the resource has another element to iterate over. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>TRUE if there are more elements, FALSE if there is no more elements </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable000283">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="2d61032aa8129ef6749b6508d30fa5c7"></a><!-- doxytag: member="ResourceBundle::resetIterator" ref="2d61032aa8129ef6749b6508d30fa5c7" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ResourceBundle::resetIterator           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></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 compact><dt><b><a class="el" href="stable.html#_stable000284">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="23924719214c40e0441bdf604a3e0e61"></a><!-- doxytag: member="ResourceBundle::getKey" ref="23924719214c40e0441bdf604a3e0e61" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* ResourceBundle::getKey           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div><p>
<a class="anchor" name="80628c5d772d7c53519a07144b02a28a"></a><!-- doxytag: member="ResourceBundle::getName" ref="80628c5d772d7c53519a07144b02a28a" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* ResourceBundle::getName           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the locale ID of the resource bundle as a string. 
<p>
Same as <a class="el" href="classResourceBundle.html#7f05f16344d4d8bf02d6cfdb6f5e4e02">getLocale()</a>.<a class="el" href="classResourceBundle.html#80628c5d772d7c53519a07144b02a28a">getName()</a> .<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the locale ID of the resource bundle as a string </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable000286">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="0f0e718ef4653a9a5107d9d2a175108d"></a><!-- doxytag: member="ResourceBundle::getType" ref="0f0e718ef4653a9a5107d9d2a175108d" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ures_8h.html#3f1197bf41a6228c38e3fddb58bf96fb">UResType</a> ResourceBundle::getType           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the type of a resource. 
<p>
Available types are defined in enum UResType<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>type of the given resource. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable000287">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="054073116bf7e647705512541e36f778"></a><!-- doxytag: member="ResourceBundle::getNext" ref="054073116bf7e647705512541e36f778" args="(UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classResourceBundle.html">ResourceBundle</a> ResourceBundle::getNext           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the next resource in a given resource or NULL if there are no more resources. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>fills in the outgoing error code </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><a class="el" href="classResourceBundle.html">ResourceBundle</a> object. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable000288">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="efb5faa168e95040428ae502f9103744"></a><!-- doxytag: member="ResourceBundle::getNextString" ref="efb5faa168e95040428ae502f9103744" args="(UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a> ResourceBundle::getNextString           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the next string in a resource or NULL if there are no more resources to iterate over. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>fills in the outgoing error code </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>an <a class="el" href="classUnicodeString.html">UnicodeString</a> object. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable000289">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="a1a304f61d6877a7bb85649a570db680"></a><!-- doxytag: member="ResourceBundle::getNextString" ref="a1a304f61d6877a7bb85649a570db680" args="(const char **key, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a> ResourceBundle::getNextString           </td>
          <td>(</td>
          <td class="paramtype">const char **&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the next string in a resource or NULL if there are no more resources to iterate over. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>key</em>&nbsp;</td><td>fill in for key associated with this string </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>fills in the outgoing error code </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>an <a class="el" href="classUnicodeString.html">UnicodeString</a> object. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable000290">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="9a1ee45dcf570edebe529e36cbaaccf8"></a><!-- doxytag: member="ResourceBundle::get" ref="9a1ee45dcf570edebe529e36cbaaccf8" args="(int32_t index, UErrorCode &amp;status) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classResourceBundle.html">ResourceBundle</a> ResourceBundle::get           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the resource in a resource at the specified index. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>index</em>&nbsp;</td><td>an index to the wanted resource. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>fills in the outgoing error code </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><a class="el" href="classResourceBundle.html">ResourceBundle</a> object. If there is an error, resource is invalid. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable000291">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="18e5956cc31afb351ce598440bbd0ce5"></a><!-- doxytag: member="ResourceBundle::getStringEx" ref="18e5956cc31afb351ce598440bbd0ce5" args="(int32_t index, UErrorCode &amp;status) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a> ResourceBundle::getStringEx           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the string in a given resource at the specified index. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>index</em>&nbsp;</td><td>an index to the wanted string. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>fills in the outgoing error code </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>an <a class="el" href="classUnicodeString.html">UnicodeString</a> object. If there is an error, string is bogus </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable000292">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="a53e953a254ac71a95a089c82652b334"></a><!-- doxytag: member="ResourceBundle::get" ref="a53e953a254ac71a95a089c82652b334" args="(const char *key, UErrorCode &amp;status) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classResourceBundle.html">ResourceBundle</a> ResourceBundle::get           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns a resource in a resource that has a given key. 
<p>
This procedure works only with table resources.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>key</em>&nbsp;</td><td>a key associated with the wanted resource </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>fills in the outgoing error code. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><a class="el" href="classResourceBundle.html">ResourceBundle</a> object. If there is an error, resource is invalid. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable000293">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="37ef2f1ad5eca2bb3ed1bfd2bf235ca7"></a><!-- doxytag: member="ResourceBundle::getStringEx" ref="37ef2f1ad5eca2bb3ed1bfd2bf235ca7" args="(const char *key, UErrorCode &amp;status) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a> ResourceBundle::getStringEx           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns a string in a resource that has a given key. 
<p>
This procedure works only with table resources.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>key</em>&nbsp;</td><td>a key associated with the wanted string </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>fills in the outgoing error code </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>an <a class="el" href="classUnicodeString.html">UnicodeString</a> object. If there is an error, string is bogus </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable000294">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="e4e52f0039001de358097aaed281ddff"></a><!-- doxytag: member="ResourceBundle::getVersionNumber" ref="e4e52f0039001de358097aaed281ddff" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* ResourceBundle::getVersionNumber           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the version number associated with this <a class="el" href="classResourceBundle.html">ResourceBundle</a> as a string. 
<p>
Please use getVersion, as this method is going to be deprecated.<p>
<dl class="return" compact><dt><b>Returns:</b></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="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classResourceBundle.html#3322cf30051bc9e53d553b0d571cf193">getVersion</a> </dd></dl>
<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000001">Deprecated:</a></b></dt><dd>ICU 2.8 Use getVersion instead. </dd></dl>

</div>
</div><p>
<a class="anchor" name="3322cf30051bc9e53d553b0d571cf193"></a><!-- doxytag: member="ResourceBundle::getVersion" ref="3322cf30051bc9e53d553b0d571cf193" args="(UVersionInfo versionInfo) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ResourceBundle::getVersion           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="uversion_8h.html#61caef96ba86d8e86a4031925ea44e94">UVersionInfo</a>&nbsp;</td>
          <td class="paramname"> <em>versionInfo</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the version number associated with this <a class="el" href="classResourceBundle.html">ResourceBundle</a> as a UVersionInfo array. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>versionInfo</em>&nbsp;</td><td>A UVersionInfo array that is filled with the version number as specified in the resource bundle or its parent. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable000295">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="7f05f16344d4d8bf02d6cfdb6f5e4e02"></a><!-- doxytag: member="ResourceBundle::getLocale" ref="7f05f16344d4d8bf02d6cfdb6f5e4e02" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classLocale.html">Locale</a>&amp; ResourceBundle::getLocale           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the <a class="el" href="classLocale.html">Locale</a> associated with this <a class="el" href="classResourceBundle.html">ResourceBundle</a>. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>a <a class="el" href="classLocale.html">Locale</a> object </dd></dl>
<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000002">Deprecated:</a></b></dt><dd>ICU 2.8 Use getLocale(ULocDataLocaleType type, UErrorCode &amp;status) overload instead. </dd></dl>

</div>
</div><p>
<a class="anchor" name="30f4dd524dc91b85efe088158e61bcce"></a><!-- doxytag: member="ResourceBundle::getLocale" ref="30f4dd524dc91b85efe088158e61bcce" args="(ULocDataLocaleType type, UErrorCode &amp;status) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classLocale.html">Locale</a> ResourceBundle::getLocale           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="uloc_8h.html#df053345d343f8d82ae080f7a5871f34">ULocDataLocaleType</a>&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the <a class="el" href="classLocale.html">Locale</a> associated with this <a class="el" href="classResourceBundle.html">ResourceBundle</a>. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>type</em>&nbsp;</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">uloc.h</a> </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>just for catching illegal arguments</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>a <a class="el" href="classLocale.html">Locale</a> object </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable000296">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

</div>
</div><p>
<a class="anchor" name="4aa335d2093d3d94df3adc8ed6d9f19c"></a><!-- doxytag: member="ResourceBundle::getWithFallback" ref="4aa335d2093d3d94df3adc8ed6d9f19c" args="(const char *key, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classResourceBundle.html">ResourceBundle</a> ResourceBundle::getWithFallback           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This API implements multilevel fallback. 
<p>
<dl compact><dt><b><a class="el" href="internal.html#_internal000038">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>

</div>
</div><p>
<a class="anchor" name="7fba9f6452f74814b7608f0b2e62c1f8"></a><!-- doxytag: member="ResourceBundle::getDynamicClassID" ref="7fba9f6452f74814b7608f0b2e62c1f8" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="utypes_8h.html#22af10545208a455a6e884008df48e9f">UClassID</a> ResourceBundle::getDynamicClassID           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
ICU "poor man's RTTI", returns a UClassID for the actual class. 
<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable000297">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>

<p>
Implements <a class="el" href="classUObject.html#ce1dd31fb2c6f2c07dfebe8fd240ec37">UObject</a>.
</div>
</div><p>
<a class="anchor" name="580da94da06b75e5425da18dad085781"></a><!-- doxytag: member="ResourceBundle::getStaticClassID" ref="580da94da06b75e5425da18dad085781" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="utypes_8h.html#22af10545208a455a6e884008df48e9f">UClassID</a> ResourceBundle::getStaticClassID           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
ICU "poor man's RTTI", returns a UClassID for this class. 
<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable000298">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="resbund_8h-source.html">resbund.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 14 12:59:44 2007 for ICU 3.8 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
</body>
</html>