Server IP : 103.119.228.120 / Your IP : 13.59.95.170 Web Server : Apache System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64 User : nobody ( 99) PHP Version : 5.6.40 Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/local/ssl/local/ssl/local/easy/share/doc/easy-libicu-doc-4.0.1/ |
Upload File : |
<!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.5"/> <title>ICU 4.0.1: ResourceBundle Class 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="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/search.js"></script> <script type="text/javascript"> $(document).ready(function() { searchBox.OnSelectItem(0); }); </script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">ICU 4.0.1 </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.5 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li class="current"><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <span class="left"> <img id="MSearchSelect" src="search/mag_sel.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/> <input type="text" id="MSearchField" value="Search" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> </span><span class="right"> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </span> </div> </li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="classes.html"><span>Data Structure Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Data Fields</span></a></li> </ul> </div> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark"> </span>Pages</a></div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> </div> <div class="headertitle"> <div class="title">ResourceBundle Class Reference</div> </div> </div><!--header--> <div class="contents"> <p>A class representing a collection of resource information pertaining to a given locale. <a href="classResourceBundle.html#details">More...</a></p> <p><code>#include <<a class="el" href="resbund_8h_source.html">resbund.h</a>></code></p> <div class="dynheader"> Inheritance diagram for ResourceBundle:</div> <div class="dyncontent"> <div class="center"> <img src="classResourceBundle.png" usemap="#ResourceBundle_map" alt=""/> <map id="ResourceBundle_map" name="ResourceBundle_map"> <area href="classUObject.html" title="UObject is the common ICU "boilerplate" class. " alt="UObject" shape="rect" coords="0,56,105,80"/> <area href="classUMemory.html" title="UMemory is the common ICU base class. " alt="UMemory" shape="rect" coords="0,0,105,24"/> </map> </div></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a3173cb967dc23efe0a7dc0ec5d2094cf"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#a3173cb967dc23efe0a7dc0ec5d2094cf">ResourceBundle</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &packageName, const <a class="el" href="classLocale.html">Locale</a> &locale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &err)</td></tr> <tr class="memdesc:a3173cb967dc23efe0a7dc0ec5d2094cf"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#a3173cb967dc23efe0a7dc0ec5d2094cf">More...</a><br/></td></tr> <tr class="separator:a3173cb967dc23efe0a7dc0ec5d2094cf"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aea1a13c4041def651f3c6feb83b4f09a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#aea1a13c4041def651f3c6feb83b4f09a">ResourceBundle</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &packageName, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &err)</td></tr> <tr class="memdesc:aea1a13c4041def651f3c6feb83b4f09a"><td class="mdescLeft"> </td><td class="mdescRight">Construct a resource bundle for the default bundle in the specified package. <a href="#aea1a13c4041def651f3c6feb83b4f09a">More...</a><br/></td></tr> <tr class="separator:aea1a13c4041def651f3c6feb83b4f09a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5e30b7896bc18cdf70300b7e536e4fbd"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#a5e30b7896bc18cdf70300b7e536e4fbd">ResourceBundle</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &err)</td></tr> <tr class="memdesc:a5e30b7896bc18cdf70300b7e536e4fbd"><td class="mdescLeft"> </td><td class="mdescRight">Construct a resource bundle for the ICU default bundle. <a href="#a5e30b7896bc18cdf70300b7e536e4fbd">More...</a><br/></td></tr> <tr class="separator:a5e30b7896bc18cdf70300b7e536e4fbd"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a80c6149ee0b93fea134959fa567ac8da"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#a80c6149ee0b93fea134959fa567ac8da">ResourceBundle</a> (const char *packageName, const <a class="el" href="classLocale.html">Locale</a> &locale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &err)</td></tr> <tr class="memdesc:a80c6149ee0b93fea134959fa567ac8da"><td class="mdescLeft"> </td><td class="mdescRight">Standard constructor, onstructs a resource bundle for the locale-specific bundle in the specified package. <a href="#a80c6149ee0b93fea134959fa567ac8da">More...</a><br/></td></tr> <tr class="separator:a80c6149ee0b93fea134959fa567ac8da"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae1afe1d1bbaa2e68da491d93f3f5d0ec"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#ae1afe1d1bbaa2e68da491d93f3f5d0ec">ResourceBundle</a> (const <a class="el" href="classResourceBundle.html">ResourceBundle</a> &original)</td></tr> <tr class="memdesc:ae1afe1d1bbaa2e68da491d93f3f5d0ec"><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <a href="#ae1afe1d1bbaa2e68da491d93f3f5d0ec">More...</a><br/></td></tr> <tr class="separator:ae1afe1d1bbaa2e68da491d93f3f5d0ec"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad4dfcfeb7a8f7700b346b4cee5165575"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#ad4dfcfeb7a8f7700b346b4cee5165575">ResourceBundle</a> (<a class="el" href="ures_8h.html#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> *res, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:ad4dfcfeb7a8f7700b346b4cee5165575"><td class="mdescLeft"> </td><td class="mdescRight">Constructor from a C UResourceBundle. <a href="#ad4dfcfeb7a8f7700b346b4cee5165575">More...</a><br/></td></tr> <tr class="separator:ad4dfcfeb7a8f7700b346b4cee5165575"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a85e7ab7201f08b0ca5e84b2336af7bd1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classResourceBundle.html">ResourceBundle</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#a85e7ab7201f08b0ca5e84b2336af7bd1">operator=</a> (const <a class="el" href="classResourceBundle.html">ResourceBundle</a> &other)</td></tr> <tr class="memdesc:a85e7ab7201f08b0ca5e84b2336af7bd1"><td class="mdescLeft"> </td><td class="mdescRight">Assignment operator. <a href="#a85e7ab7201f08b0ca5e84b2336af7bd1">More...</a><br/></td></tr> <tr class="separator:a85e7ab7201f08b0ca5e84b2336af7bd1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7a5fe8f06f79a7e56aafad177545d2a8"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#a7a5fe8f06f79a7e56aafad177545d2a8">~ResourceBundle</a> ()</td></tr> <tr class="memdesc:a7a5fe8f06f79a7e56aafad177545d2a8"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a7a5fe8f06f79a7e56aafad177545d2a8">More...</a><br/></td></tr> <tr class="separator:a7a5fe8f06f79a7e56aafad177545d2a8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad532779a70c9a9a863e8ac4d59866f1f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classResourceBundle.html">ResourceBundle</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#ad532779a70c9a9a863e8ac4d59866f1f">clone</a> () const </td></tr> <tr class="memdesc:ad532779a70c9a9a863e8ac4d59866f1f"><td class="mdescLeft"> </td><td class="mdescRight">Clone this object. <a href="#ad532779a70c9a9a863e8ac4d59866f1f">More...</a><br/></td></tr> <tr class="separator:ad532779a70c9a9a863e8ac4d59866f1f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0395affb4c3b4ce8a6a25e1a32c7803a"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#a0395affb4c3b4ce8a6a25e1a32c7803a">getSize</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:a0395affb4c3b4ce8a6a25e1a32c7803a"><td class="mdescLeft"> </td><td class="mdescRight">Returns the size of a resource. <a href="#a0395affb4c3b4ce8a6a25e1a32c7803a">More...</a><br/></td></tr> <tr class="separator:a0395affb4c3b4ce8a6a25e1a32c7803a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4aa97fa70c68a7d4f447f12cef47be4b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#a4aa97fa70c68a7d4f447f12cef47be4b">getString</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:a4aa97fa70c68a7d4f447f12cef47be4b"><td class="mdescLeft"> </td><td class="mdescRight">returns a string from a string resource type <a href="#a4aa97fa70c68a7d4f447f12cef47be4b">More...</a><br/></td></tr> <tr class="separator:a4aa97fa70c68a7d4f447f12cef47be4b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af0861ccfb5fd9689a65768cd7be15eb2"><td class="memItemLeft" align="right" valign="top">const uint8_t * </td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#af0861ccfb5fd9689a65768cd7be15eb2">getBinary</a> (int32_t &len, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:af0861ccfb5fd9689a65768cd7be15eb2"><td class="mdescLeft"> </td><td class="mdescRight">returns a binary data from a resource. <a href="#af0861ccfb5fd9689a65768cd7be15eb2">More...</a><br/></td></tr> <tr class="separator:af0861ccfb5fd9689a65768cd7be15eb2"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae8669ba7a332a73519efa2dcd45cd559"><td class="memItemLeft" align="right" valign="top">const int32_t * </td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#ae8669ba7a332a73519efa2dcd45cd559">getIntVector</a> (int32_t &len, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:ae8669ba7a332a73519efa2dcd45cd559"><td class="mdescLeft"> </td><td class="mdescRight">returns an integer vector from a resource. <a href="#ae8669ba7a332a73519efa2dcd45cd559">More...</a><br/></td></tr> <tr class="separator:ae8669ba7a332a73519efa2dcd45cd559"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab49c8467b5c209c1feb755c2ac221db0"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#ab49c8467b5c209c1feb755c2ac221db0">getUInt</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:ab49c8467b5c209c1feb755c2ac221db0"><td class="mdescLeft"> </td><td class="mdescRight">returns an unsigned integer from a resource. <a href="#ab49c8467b5c209c1feb755c2ac221db0">More...</a><br/></td></tr> <tr class="separator:ab49c8467b5c209c1feb755c2ac221db0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a77ebc4caf05ac307141e9d96d42d03f5"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#a77ebc4caf05ac307141e9d96d42d03f5">getInt</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:a77ebc4caf05ac307141e9d96d42d03f5"><td class="mdescLeft"> </td><td class="mdescRight">returns a signed integer from a resource. <a href="#a77ebc4caf05ac307141e9d96d42d03f5">More...</a><br/></td></tr> <tr class="separator:a77ebc4caf05ac307141e9d96d42d03f5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a227a0b773178f633b4a22627ff258c4f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#a227a0b773178f633b4a22627ff258c4f">hasNext</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:a227a0b773178f633b4a22627ff258c4f"><td class="mdescLeft"> </td><td class="mdescRight">Checks whether the resource has another element to iterate over. <a href="#a227a0b773178f633b4a22627ff258c4f">More...</a><br/></td></tr> <tr class="separator:a227a0b773178f633b4a22627ff258c4f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2d61032aa8129ef6749b6508d30fa5c7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#a2d61032aa8129ef6749b6508d30fa5c7">resetIterator</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>)</td></tr> <tr class="memdesc:a2d61032aa8129ef6749b6508d30fa5c7"><td class="mdescLeft"> </td><td class="mdescRight">Resets the internal context of a resource so that iteration starts from the first element. <a href="#a2d61032aa8129ef6749b6508d30fa5c7">More...</a><br/></td></tr> <tr class="separator:a2d61032aa8129ef6749b6508d30fa5c7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a23924719214c40e0441bdf604a3e0e61"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#a23924719214c40e0441bdf604a3e0e61">getKey</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:a23924719214c40e0441bdf604a3e0e61"><td class="mdescLeft"> </td><td class="mdescRight">Returns the key associated with this resource. <a href="#a23924719214c40e0441bdf604a3e0e61">More...</a><br/></td></tr> <tr class="separator:a23924719214c40e0441bdf604a3e0e61"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a80628c5d772d7c53519a07144b02a28a"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#a80628c5d772d7c53519a07144b02a28a">getName</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:a80628c5d772d7c53519a07144b02a28a"><td class="mdescLeft"> </td><td class="mdescRight">Gets the locale ID of the resource bundle as a string. <a href="#a80628c5d772d7c53519a07144b02a28a">More...</a><br/></td></tr> <tr class="separator:a80628c5d772d7c53519a07144b02a28a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0f0e718ef4653a9a5107d9d2a175108d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fb">UResType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#a0f0e718ef4653a9a5107d9d2a175108d">getType</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:a0f0e718ef4653a9a5107d9d2a175108d"><td class="mdescLeft"> </td><td class="mdescRight">Returns the type of a resource. <a href="#a0f0e718ef4653a9a5107d9d2a175108d">More...</a><br/></td></tr> <tr class="separator:a0f0e718ef4653a9a5107d9d2a175108d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a054073116bf7e647705512541e36f778"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classResourceBundle.html">ResourceBundle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#a054073116bf7e647705512541e36f778">getNext</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a054073116bf7e647705512541e36f778"><td class="mdescLeft"> </td><td class="mdescRight">Returns the next resource in a given resource or NULL if there are no more resources. <a href="#a054073116bf7e647705512541e36f778">More...</a><br/></td></tr> <tr class="separator:a054073116bf7e647705512541e36f778"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aefb5faa168e95040428ae502f9103744"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#aefb5faa168e95040428ae502f9103744">getNextString</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:aefb5faa168e95040428ae502f9103744"><td class="mdescLeft"> </td><td class="mdescRight">Returns the next string in a resource or NULL if there are no more resources to iterate over. <a href="#aefb5faa168e95040428ae502f9103744">More...</a><br/></td></tr> <tr class="separator:aefb5faa168e95040428ae502f9103744"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa1a304f61d6877a7bb85649a570db680"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#aa1a304f61d6877a7bb85649a570db680">getNextString</a> (const char **key, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:aa1a304f61d6877a7bb85649a570db680"><td class="mdescLeft"> </td><td class="mdescRight">Returns the next string in a resource or NULL if there are no more resources to iterate over. <a href="#aa1a304f61d6877a7bb85649a570db680">More...</a><br/></td></tr> <tr class="separator:aa1a304f61d6877a7bb85649a570db680"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2931479f8bde90e1def551b330a75642"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classResourceBundle.html">ResourceBundle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#a2931479f8bde90e1def551b330a75642">get</a> (int32_t index, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:a2931479f8bde90e1def551b330a75642"><td class="mdescLeft"> </td><td class="mdescRight">Returns the resource in a resource at the specified index. <a href="#a2931479f8bde90e1def551b330a75642">More...</a><br/></td></tr> <tr class="separator:a2931479f8bde90e1def551b330a75642"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae6b329635c139e3ee624259e476a86fd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#ae6b329635c139e3ee624259e476a86fd">getStringEx</a> (int32_t index, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:ae6b329635c139e3ee624259e476a86fd"><td class="mdescLeft"> </td><td class="mdescRight">Returns the string in a given resource at the specified index. <a href="#ae6b329635c139e3ee624259e476a86fd">More...</a><br/></td></tr> <tr class="separator:ae6b329635c139e3ee624259e476a86fd"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a29f6b0dd8381d45a00b470222d10df6d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classResourceBundle.html">ResourceBundle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#a29f6b0dd8381d45a00b470222d10df6d">get</a> (const char *key, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:a29f6b0dd8381d45a00b470222d10df6d"><td class="mdescLeft"> </td><td class="mdescRight">Returns a resource in a resource that has a given key. <a href="#a29f6b0dd8381d45a00b470222d10df6d">More...</a><br/></td></tr> <tr class="separator:a29f6b0dd8381d45a00b470222d10df6d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3768515c7faf16eeed33340fa778cd16"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#a3768515c7faf16eeed33340fa778cd16">getStringEx</a> (const char *key, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:a3768515c7faf16eeed33340fa778cd16"><td class="mdescLeft"> </td><td class="mdescRight">Returns a string in a resource that has a given key. <a href="#a3768515c7faf16eeed33340fa778cd16">More...</a><br/></td></tr> <tr class="separator:a3768515c7faf16eeed33340fa778cd16"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae4e52f0039001de358097aaed281ddff"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#ae4e52f0039001de358097aaed281ddff">getVersionNumber</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:ae4e52f0039001de358097aaed281ddff"><td class="mdescLeft"> </td><td class="mdescRight">Return the version number associated with this <a class="el" href="classResourceBundle.html" title="A class representing a collection of resource information pertaining to a given locale. ">ResourceBundle</a> as a string. <a href="#ae4e52f0039001de358097aaed281ddff">More...</a><br/></td></tr> <tr class="separator:ae4e52f0039001de358097aaed281ddff"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1f3129b80a350e09d9115786c538bb06"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#a1f3129b80a350e09d9115786c538bb06">getVersion</a> (<a class="el" href="uversion_8h.html#a61caef96ba86d8e86a4031925ea44e94">UVersionInfo</a> versionInfo) const </td></tr> <tr class="memdesc:a1f3129b80a350e09d9115786c538bb06"><td class="mdescLeft"> </td><td class="mdescRight">Return the version number associated with this <a class="el" href="classResourceBundle.html" title="A class representing a collection of resource information pertaining to a given locale. ">ResourceBundle</a> as a UVersionInfo array. <a href="#a1f3129b80a350e09d9115786c538bb06">More...</a><br/></td></tr> <tr class="separator:a1f3129b80a350e09d9115786c538bb06"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7f05f16344d4d8bf02d6cfdb6f5e4e02"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classLocale.html">Locale</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#a7f05f16344d4d8bf02d6cfdb6f5e4e02">getLocale</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:a7f05f16344d4d8bf02d6cfdb6f5e4e02"><td class="mdescLeft"> </td><td class="mdescRight">Return the <a class="el" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a> associated with this <a class="el" href="classResourceBundle.html" title="A class representing a collection of resource information pertaining to a given locale. ">ResourceBundle</a>. <a href="#a7f05f16344d4d8bf02d6cfdb6f5e4e02">More...</a><br/></td></tr> <tr class="separator:a7f05f16344d4d8bf02d6cfdb6f5e4e02"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a37edeca878eb67481f635091df13e7a2"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classLocale.html">Locale</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#a37edeca878eb67481f635091df13e7a2">getLocale</a> (<a class="el" href="uloc_8h.html#adf053345d343f8d82ae080f7a5871f34">ULocDataLocaleType</a> type, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:a37edeca878eb67481f635091df13e7a2"><td class="mdescLeft"> </td><td class="mdescRight">Return the <a class="el" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a> associated with this <a class="el" href="classResourceBundle.html" title="A class representing a collection of resource information pertaining to a given locale. ">ResourceBundle</a>. <a href="#a37edeca878eb67481f635091df13e7a2">More...</a><br/></td></tr> <tr class="separator:a37edeca878eb67481f635091df13e7a2"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4aa335d2093d3d94df3adc8ed6d9f19c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classResourceBundle.html">ResourceBundle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#a4aa335d2093d3d94df3adc8ed6d9f19c">getWithFallback</a> (const char *key, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a4aa335d2093d3d94df3adc8ed6d9f19c"><td class="mdescLeft"> </td><td class="mdescRight">This API implements multilevel fallback. <a href="#a4aa335d2093d3d94df3adc8ed6d9f19c">More...</a><br/></td></tr> <tr class="separator:a4aa335d2093d3d94df3adc8ed6d9f19c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8c3323bf3c433f2f5ed3d542963c3423"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#a8c3323bf3c433f2f5ed3d542963c3423">getDynamicClassID</a> () const </td></tr> <tr class="memdesc:a8c3323bf3c433f2f5ed3d542963c3423"><td class="mdescLeft"> </td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for the actual class. <a href="#a8c3323bf3c433f2f5ed3d542963c3423">More...</a><br/></td></tr> <tr class="separator:a8c3323bf3c433f2f5ed3d542963c3423"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classUObject"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classUObject')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classUObject.html">UObject</a></td></tr> <tr class="memitem:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classUObject.html#ace22cf29a90641ef43350deae5bedb85">~UObject</a> ()</td></tr> <tr class="memdesc:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#ace22cf29a90641ef43350deae5bedb85">More...</a><br/></td></tr> <tr class="separator:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr class="memitem:a580da94da06b75e5425da18dad085781"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classResourceBundle.html#a580da94da06b75e5425da18dad085781">getStaticClassID</a> ()</td></tr> <tr class="memdesc:a580da94da06b75e5425da18dad085781"><td class="mdescLeft"> </td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for this class. <a href="#a580da94da06b75e5425da18dad085781">More...</a><br/></td></tr> <tr class="separator:a580da94da06b75e5425da18dad085781"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_static_methods_classUMemory"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classUMemory')"><img src="closed.png" alt="-"/> Static Public Member Functions inherited from <a class="el" href="classUMemory.html">UMemory</a></td></tr> <tr class="memitem:a309b19b5777e2840b85b202aef5a54fb inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a309b19b5777e2840b85b202aef5a54fb">operator new</a> (size_t size)</td></tr> <tr class="memdesc:a309b19b5777e2840b85b202aef5a54fb inherit pub_static_methods_classUMemory"><td class="mdescLeft"> </td><td class="mdescRight">Override for ICU4C C++ memory management. <a href="#a309b19b5777e2840b85b202aef5a54fb">More...</a><br/></td></tr> <tr class="separator:a309b19b5777e2840b85b202aef5a54fb inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4d0df3571728e7b8a823dbbea6e9b5c5 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a4d0df3571728e7b8a823dbbea6e9b5c5">operator new[]</a> (size_t size)</td></tr> <tr class="memdesc:a4d0df3571728e7b8a823dbbea6e9b5c5 inherit pub_static_methods_classUMemory"><td class="mdescLeft"> </td><td class="mdescRight">Override for ICU4C C++ memory management. <a href="#a4d0df3571728e7b8a823dbbea6e9b5c5">More...</a><br/></td></tr> <tr class="separator:a4d0df3571728e7b8a823dbbea6e9b5c5 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:adcda65a58813749f8f45c5e6c1ed37e1 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#adcda65a58813749f8f45c5e6c1ed37e1">operator delete</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *p)</td></tr> <tr class="memdesc:adcda65a58813749f8f45c5e6c1ed37e1 inherit pub_static_methods_classUMemory"><td class="mdescLeft"> </td><td class="mdescRight">Override for ICU4C C++ memory management. <a href="#adcda65a58813749f8f45c5e6c1ed37e1">More...</a><br/></td></tr> <tr class="separator:adcda65a58813749f8f45c5e6c1ed37e1 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7602a7a8c6fdff21d9fbecea4d899333 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a7602a7a8c6fdff21d9fbecea4d899333">operator delete[]</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *p)</td></tr> <tr class="memdesc:a7602a7a8c6fdff21d9fbecea4d899333 inherit pub_static_methods_classUMemory"><td class="mdescLeft"> </td><td class="mdescRight">Override for ICU4C C++ memory management. <a href="#a7602a7a8c6fdff21d9fbecea4d899333">More...</a><br/></td></tr> <tr class="separator:a7602a7a8c6fdff21d9fbecea4d899333 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a43b5221fe429f77230b2040f8724c154 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a43b5221fe429f77230b2040f8724c154">operator new</a> (size_t, <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *ptr)</td></tr> <tr class="memdesc:a43b5221fe429f77230b2040f8724c154 inherit pub_static_methods_classUMemory"><td class="mdescLeft"> </td><td class="mdescRight">Override for ICU4C C++ memory management for STL. <a href="#a43b5221fe429f77230b2040f8724c154">More...</a><br/></td></tr> <tr class="separator:a43b5221fe429f77230b2040f8724c154 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9b746b0cdb49c8f8907773002ea5c4ea inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a9b746b0cdb49c8f8907773002ea5c4ea">operator delete</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *, <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *)</td></tr> <tr class="memdesc:a9b746b0cdb49c8f8907773002ea5c4ea inherit pub_static_methods_classUMemory"><td class="mdescLeft"> </td><td class="mdescRight">Override for ICU4C C++ memory management for STL. <a href="#a9b746b0cdb49c8f8907773002ea5c4ea">More...</a><br/></td></tr> <tr class="separator:a9b746b0cdb49c8f8907773002ea5c4ea inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>A class representing a collection of resource information pertaining to a given locale. </p> <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> <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>The <a class="el" href="classResourceBundle.html" title="A class representing a collection of resource information pertaining to a given locale. ">ResourceBundle</a> class is not suitable for subclassing.</p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000267">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <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>.</p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="a3173cb967dc23efe0a7dc0ec5d2094cf"></a> <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> & </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> & </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> & </td> <td class="paramname"><em>err</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Constructor. </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. </td></tr> <tr><td class="paramname">locale</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" title="A class representing a collection of resource information pertaining to a given locale. ">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#ac12d6326f2d283f5643f6b6caacfe88c" title="Common methods of getting the current default Locale. ">Locale::getDefault()</a>) will be used. </td></tr> <tr><td class="paramname">err</td><td>The 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 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> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000268">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="aea1a13c4041def651f3c6feb83b4f09a"></a> <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> & </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> & </td> <td class="paramname"><em>err</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Construct a resource bundle for the default bundle in the specified package. </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. </td></tr> <tr><td class="paramname">err</td><td>A UErrorCode value </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000269">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a5e30b7896bc18cdf70300b7e536e4fbd"></a> <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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>err</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Construct a resource bundle for the ICU default bundle. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">err</td><td>A UErrorCode value </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000270">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a80c6149ee0b93fea134959fa567ac8da"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">ResourceBundle::ResourceBundle </td> <td>(</td> <td class="paramtype">const char * </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> & </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> & </td> <td class="paramname"><em>err</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></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 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. NULL is used to refer to ICU data. </td></tr> <tr><td class="paramname">locale</td><td>The locale for which to open a resource bundle. </td></tr> <tr><td class="paramname">err</td><td>A UErrorCode value </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000271">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="ae1afe1d1bbaa2e68da491d93f3f5d0ec"></a> <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> & </td> <td class="paramname"><em>original</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Copy constructor. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">original</td><td>The resource bundle to copy. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000272">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="ad4dfcfeb7a8f7700b346b4cee5165575"></a> <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#a7391119e9274be9ba2e6892b48a2bbbe">UResourceBundle</a> * </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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Constructor from a C UResourceBundle. </p> <p>The resource bundle is copied and not adopted. ures_close will still need to be used on the original resource bundle.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">res</td><td>A pointer to the C resource bundle. </td></tr> <tr><td class="paramname">status</td><td>A UErrorCode value. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000273">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a7a5fe8f06f79a7e56aafad177545d2a8"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual ResourceBundle::~ResourceBundle </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Destructor. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000275">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="ad532779a70c9a9a863e8ac4d59866f1f"></a> <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>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Clone this object. </p> <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="section return"><dt>Returns</dt><dd>a clone of this object</dd></dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classResourceBundle.html#a8c3323bf3c433f2f5ed3d542963c3423" title="ICU "poor man's RTTI", returns a UClassID for the actual class. ">getDynamicClassID</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000276">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl> </div> </div> <a class="anchor" id="a2931479f8bde90e1def551b330a75642"></a> <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">int32_t </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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns the resource in a resource at the specified index. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">index</td><td>an index to the wanted resource. </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 class="el" href="classResourceBundle.html" title="A class representing a collection of resource information pertaining to a given locale. ">ResourceBundle</a> object. If there is an error, resource is invalid. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000291">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a29f6b0dd8381d45a00b470222d10df6d"></a> <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 * </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> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns a resource in a 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">key</td><td>a key associated with the wanted resource </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 class="el" href="classResourceBundle.html" title="A class representing a collection of resource information pertaining to a given locale. ">ResourceBundle</a> object. If there is an error, resource is invalid. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000293">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="af0861ccfb5fd9689a65768cd7be15eb2"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const uint8_t* ResourceBundle::getBinary </td> <td>(</td> <td class="paramtype">int32_t & </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> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p>returns a binary data from a resource. </p> <p>Can be used at most primitive resource types (binaries, strings, ints)</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <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 could be a warning 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="stable"><dt><b><a class="el" href="stable.html#_stable000279">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a8c3323bf3c433f2f5ed3d542963c3423"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> ResourceBundle::getDynamicClassID </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>ICU "poor man's RTTI", returns a UClassID for the actual class. </p> <dl class="stable"><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#a9b1acc95efd89cb86ec31f2dc947a262">UObject</a>.</p> </div> </div> <a class="anchor" id="a77ebc4caf05ac307141e9d96d42d03f5"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int32_t ResourceBundle::getInt </td> <td>(</td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em></td><td>)</td> <td> const</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">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 warning 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 signed integer value </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000282">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="ae8669ba7a332a73519efa2dcd45cd559"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const int32_t* ResourceBundle::getIntVector </td> <td>(</td> <td class="paramtype">int32_t & </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> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p>returns an integer vector from a resource. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">len</td><td>fills in the length of resulting integer vector </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 warning 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 vector of integers that lives in a memory mapped/DLL file. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000280">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a23924719214c40e0441bdf604a3e0e61"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char* ResourceBundle::getKey </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns the key associated with this resource. </p> <p>Not all the resources have a key - only those that are members of a table.</p> <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#_stable000285">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a7f05f16344d4d8bf02d6cfdb6f5e4e02"></a> <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="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Return the <a class="el" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a> associated with this <a class="el" href="classResourceBundle.html" title="A class representing a collection of resource information pertaining to a given locale. ">ResourceBundle</a>. </p> <dl class="section return"><dt>Returns</dt><dd>a <a class="el" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a> object </dd></dl> <dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000002">Deprecated:</a></b></dt><dd>ICU 2.8 Use getLocale(ULocDataLocaleType type, UErrorCode &status) overload instead. </dd></dl> </div> </div> <a class="anchor" id="a37edeca878eb67481f635091df13e7a2"></a> <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#adf053345d343f8d82ae080f7a5871f34">ULocDataLocaleType</a> </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> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p>Return the <a class="el" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a> associated with this <a class="el" href="classResourceBundle.html" title="A class representing a collection of resource information pertaining to a given locale. ">ResourceBundle</a>. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <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 <a class="el" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a> object </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000296">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl> </div> </div> <a class="anchor" id="a80628c5d772d7c53519a07144b02a28a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char* ResourceBundle::getName </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Gets the locale ID of the resource bundle as a string. </p> <p>Same as <a class="el" href="classResourceBundle.html#a7f05f16344d4d8bf02d6cfdb6f5e4e02" title="Return the Locale associated with this ResourceBundle. ">getLocale()</a>.<a class="el" href="classResourceBundle.html#a80628c5d772d7c53519a07144b02a28a" title="Gets the locale ID of the resource bundle as a string. ">getName()</a> .</p> <dl class="section return"><dt>Returns</dt><dd>the locale ID of the resource bundle as a string </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000286">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a054073116bf7e647705512541e36f778"></a> <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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em></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. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <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 class="el" href="classResourceBundle.html" title="A class representing a collection of resource information pertaining to a given locale. ">ResourceBundle</a> object. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000288">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="aefb5faa168e95040428ae502f9103744"></a> <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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em></td><td>)</td> <td></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 class="params"><dt>Parameters</dt><dd> <table class="params"> <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>an <a class="el" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> object. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000289">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="aa1a304f61d6877a7bb85649a570db680"></a> <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 ** </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> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></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 class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">key</td><td>fill in for key associated with this string </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>an <a class="el" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> object. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000290">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a0395affb4c3b4ce8a6a25e1a32c7803a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int32_t ResourceBundle::getSize </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td> const</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="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#_stable000277">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a580da94da06b75e5425da18dad085781"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> ResourceBundle::getStaticClassID </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>ICU "poor man's RTTI", returns a UClassID for this class. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000298">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl> </div> </div> <a class="anchor" id="a4aa97fa70c68a7d4f447f12cef47be4b"></a> <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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em></td><td>)</td> <td> const</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">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 warning 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="stable"><dt><b><a class="el" href="stable.html#_stable000278">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="ae6b329635c139e3ee624259e476a86fd"></a> <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">int32_t </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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</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">index</td><td>an index to the wanted string. </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>an <a class="el" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> object. If there is an error, string is bogus </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000292">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a3768515c7faf16eeed33340fa778cd16"></a> <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 * </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> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns a string in a 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">key</td><td>a key associated with the wanted string </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>an <a class="el" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> object. If there is an error, string is bogus </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000294">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a0f0e718ef4653a9a5107d9d2a175108d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="ures_8h.html#a3f1197bf41a6228c38e3fddb58bf96fb">UResType</a> ResourceBundle::getType </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td> const</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="section return"><dt>Returns</dt><dd>type of the given resource. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000287">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="ab49c8467b5c209c1feb755c2ac221db0"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">uint32_t ResourceBundle::getUInt </td> <td>(</td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em></td><td>)</td> <td> const</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">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 warning 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 unsigned integer value </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000281">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a1f3129b80a350e09d9115786c538bb06"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> ResourceBundle::getVersion </td> <td>(</td> <td class="paramtype"><a class="el" href="uversion_8h.html#a61caef96ba86d8e86a4031925ea44e94">UVersionInfo</a> </td> <td class="paramname"><em>versionInfo</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Return the version number associated with this <a class="el" href="classResourceBundle.html" title="A class representing a collection of resource information pertaining to a given locale. ">ResourceBundle</a> as a UVersionInfo array. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <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#_stable000295">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="ae4e52f0039001de358097aaed281ddff"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char* ResourceBundle::getVersionNumber </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Return the version number associated with this <a class="el" href="classResourceBundle.html" title="A class representing a collection of resource information pertaining to a given locale. ">ResourceBundle</a> as a string. </p> <p>Please use getVersion, as this method is going to be deprecated.</p> <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="classResourceBundle.html#a1f3129b80a350e09d9115786c538bb06" title="Return the version number associated with this ResourceBundle as a UVersionInfo array. ">getVersion</a> </dd></dl> <dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000001">Deprecated:</a></b></dt><dd>ICU 2.8 Use getVersion instead. </dd></dl> </div> </div> <a class="anchor" id="a4aa335d2093d3d94df3adc8ed6d9f19c"></a> <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 * </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> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>This API implements multilevel fallback. </p> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000038">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> </div> </div> <a class="anchor" id="a227a0b773178f633b4a22627ff258c4f"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> ResourceBundle::hasNext </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Checks whether the resource has another element to iterate over. </p> <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#_stable000283">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a85e7ab7201f08b0ca5e84b2336af7bd1"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classResourceBundle.html">ResourceBundle</a>& ResourceBundle::operator= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classResourceBundle.html">ResourceBundle</a> & </td> <td class="paramname"><em>other</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Assignment operator. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">other</td><td>The resource bundle to copy. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000274">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a2d61032aa8129ef6749b6508d30fa5c7"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> ResourceBundle::resetIterator </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></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="stable"><dt><b><a class="el" href="stable.html#_stable000284">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <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></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.5 </small></address> </body> </html>