1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389
|
<!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"/>
<title>Wt: Wt::WMessageResourceBundle Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
</head>
<body>
<div id="top"><!-- do not remove this div! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Wt
 <span id="projectnumber">3.2.1</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.7.5.1 -->
<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><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</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>Class List</span></a></li>
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceWt.html">Wt</a> </li>
<li class="navelem"><a class="el" href="classWt_1_1WMessageResourceBundle.html">WMessageResourceBundle</a> </li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> |
<a href="#pub-methods">Public Member Functions</a> </div>
<div class="headertitle">
<div class="title">Wt::WMessageResourceBundle Class Reference</div> </div>
</div>
<div class="contents">
<!-- doxytag: class="Wt::WMessageResourceBundle" --><!-- doxytag: inherits="Wt::WLocalizedStrings" -->
<p>Support for localized strings using XML files.
<a href="classWt_1_1WMessageResourceBundle.html#details">More...</a></p>
<p><code>#include <Wt/WMessageResourceBundle></code></p>
<div class="dynheader">
Inheritance diagram for Wt::WMessageResourceBundle:</div>
<div class="dyncontent">
<div class="center"><img src="classWt_1_1WMessageResourceBundle__inherit__graph.png" border="0" usemap="#Wt_1_1WMessageResourceBundle_inherit__map" alt="Inheritance graph"/></div>
<map name="Wt_1_1WMessageResourceBundle_inherit__map" id="Wt_1_1WMessageResourceBundle_inherit__map">
<area shape="rect" href="classWt_1_1WLocalizedStrings.html" title="An abstract class that provides support for localized strings." alt="" coords="32,5,187,32"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="classWt_1_1WMessageResourceBundle-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WMessageResourceBundle.html#a384dd7fde994d5419c87b069b3c3226d">Scope</a> </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Resource key scope. <br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aecfe527e2123bf7793d926f71dc2ed23"></a><!-- doxytag: member="Wt::WMessageResourceBundle::WMessageResourceBundle" ref="aecfe527e2123bf7793d926f71dc2ed23" args="()" -->
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WMessageResourceBundle.html#aecfe527e2123bf7793d926f71dc2ed23">WMessageResourceBundle</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a message resource bundle. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WMessageResourceBundle.html#a01368946b2a2aaceab3a64cddb1cb1e2">use</a> (const std::string &path, bool loadInMemory=true)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a (series) of message resource files to be used. <a href="#a01368946b2a2aaceab3a64cddb1cb1e2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const std::set< std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WMessageResourceBundle.html#aef1673743006fac449c095690aeff413">keys</a> (WFlags< <a class="el" href="classWt_1_1WMessageResourceBundle.html#a384dd7fde994d5419c87b069b3c3226d">Scope</a> > scope) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a set of all keys in this bundle. <a href="#aef1673743006fac449c095690aeff413"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WMessageResourceBundle.html#a8dd275eff8f823ee58a1e673a79b71e7">refresh</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Rereads the message resources. <a href="#a8dd275eff8f823ee58a1e673a79b71e7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WMessageResourceBundle.html#a5e6c391a95229691fcae8c058c637b7b">hibernate</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Purges memory resources, if possible. <a href="#a5e6c391a95229691fcae8c058c637b7b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WMessageResourceBundle.html#a22878a466da85139384133f01c7fec77">resolveKey</a> (const std::string &key, std::string &result)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Resolves a key in the current locale. <a href="#a22878a466da85139384133f01c7fec77"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WMessageResourceBundle.html#ad29f61458c5bba4d19d7adcf7f0478ea">resolvePluralKey</a> (const std::string &key, std::string &result,::uint64_t amount)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Resolves the plural form of a key in the current locale. <a href="#ad29f61458c5bba4d19d7adcf7f0478ea"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Support for localized strings using XML files. </p>
<p>The resource bundle manages a number of resource files, which allow the developer to conceptually manage its messages in a number of libraries.</p>
<p>For example, a <a class="el" href="classWt_1_1WApplication.html" title="Represents an application instance for a single session.">WApplication</a> may have a generic message library, that is shared with many other libraries, with re-occurring messages (such as 'welcome', 'add to shopping cart', and 'pay'), and a specific message library for specific messages.</p>
<p>Usage example:</p>
<p>XML file "general.xml": </p>
<div class="fragment"><pre class="fragment">
<?xml version="1.0" encoding="UTF-8"?>
<messages>
<message id='welcome-text'>
Welcome dear visiter, {1} of the WFooBar magic website !
</message>
<message id='company-policy'>
The company policy is to <b>please our share-holders</b>.
</message>
</messages>
</pre></div><p>The encodings supported are ASCII, UTF-8 (recommended) or UTF-16.</p>
<p>Use this resource bundle in your program: </p>
<div class="fragment"><pre class="fragment"> <span class="comment">// load the message resource bundle</span>
<a class="code" href="classWt_1_1WApplication.html" title="Represents an application instance for a single session.">Wt::WApplication</a> *app = <a class="code" href="classWt_1_1WApplication.html#a38d922da0a0d83395519f3eaab85d0f6" title="Returns the current application instance.">Wt::WApplication::instance</a>();
app-><a class="code" href="classWt_1_1WApplication.html#a4f304244f6bc75be6cd5f41798ea5e2e" title="Returns the message resource bundle.">messageResourceBundle</a>().use(<span class="stringliteral">"general"</span>);
<span class="comment">// resolve a string using the resource bundle</span>
<a class="code" href="classWt_1_1WText.html" title="A widget that renders (XHTML) text.">Wt::WText</a> *welcome = <span class="keyword">new</span> <a class="code" href="classWt_1_1WText.html" title="A widget that renders (XHTML) text.">Wt::WText</a>(tr(<span class="stringliteral">"welcome-visitor"</span>).arg(<span class="stringliteral">"Bart"</span>));
</pre></div><p>To refer the two messages defined in this resource file, use <a class="el" href="classWt_1_1WString.html#a0afc7dc0f9897456d71b569a86ca26c1" title="Creates a localized string from a key.">WString::tr</a>("welcome-text").<a class="el" href="classWt_1_1WString.html#a1c3d0d7790282777ce13edececfe0095">arg</a>(userName) or <a class="el" href="classWt_1_1WWidget.html#aa651f107ec7cf080faef6c435705fc44" title="Short hand for WString::tr()">WWidget::tr</a>("company-policy").</p>
<h3>Plural forms</h3>
<p>The XML format supports plural noun forms, and allows the definition of different cases of plural nouns, per language. The amount of cases per noun may differ between language families, as does the expression to transform a number associated with a noun into a case id. Two attributes for the <code>messages</code> XML element configure the plural support:</p>
<ul>
<li>the 'nplurals' attribute indicates the number of plural cases; cases are numbered 0 .. (<em>nplurals</em> - 1).</li>
<li>the 'plural' attribute is an expression which evaluates converts a count <em>n</em> into a plural case. This expression should use the C language syntax, with the exception that no negative numbers are allowed, numbers must be integers, and the only allowed variable is n, which corresponds to the amount passed to <a class="el" href="classWt_1_1WString.html#abcff7d3d30972762bd5d9279dc903a36" title="Creates a localized string from a key for a number n.">WString::trn()</a>. The resulting value must be a plural case: 0 .. (<em>nplurals</em> - 1).</li>
</ul>
<p>Using <a class="el" href="classWt_1_1WString.html#abcff7d3d30972762bd5d9279dc903a36" title="Creates a localized string from a key for a number n.">WString::trn()</a>, you can pass the count <em>n</em> that is used to select a suitable plural case.</p>
<p>As an example, consider an XML resource file describing Polish translations, which enlists all plural cases of the noun 'plik' (<em>file</em> in Polish). The noun is used this way:</p>
<ul>
<li>1 plik</li>
<li>2,3,4 pliki</li>
<li>5-21 pliko'w</li>
<li>22-24 pliki</li>
<li>25-31 pliko'w</li>
</ul>
<div class="fragment"><pre class="fragment">
<?xml version="1.0" encoding="UTF-8"?>
<messages nplurals="3"
plural="n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2">
<message id="file">
<plural case="0">{1} plik</plural>
<plural case="1">{1} pliki</plural>
<plural case="2">{1} pliko'w</plural>
</message>
</messages>
</pre></div><p>To message defined in this resource file can then be used using <a class="el" href="classWt_1_1WString.html#abcff7d3d30972762bd5d9279dc903a36" title="Creates a localized string from a key for a number n.">WString::trn</a>("file", n).</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WApplication.html#a6e782f1f38a6f56e2024aab1a917a80b" title="Returns the current locale.">WApplication::locale()</a>, <a class="el" href="classWt_1_1WString.html#a0afc7dc0f9897456d71b569a86ca26c1" title="Creates a localized string from a key.">WString::tr()</a>, <a class="el" href="classWt_1_1WString.html#abcff7d3d30972762bd5d9279dc903a36" title="Creates a localized string from a key for a number n.">WString::trn()</a> </dd></dl>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a5e6c391a95229691fcae8c058c637b7b"></a><!-- doxytag: member="Wt::WMessageResourceBundle::hibernate" ref="a5e6c391a95229691fcae8c058c637b7b" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Wt::WMessageResourceBundle::hibernate </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Purges memory resources, if possible. </p>
<p>This is called afer event handling, and is an opportunity to conserve memory inbetween events, by freeing memory used for cached key/value bindings, if applicable.</p>
<p>The default implementation does nothing. </p>
<p>Reimplemented from <a class="el" href="classWt_1_1WLocalizedStrings.html#a2ea29ba180ed9af25cf561f0df6a995d">Wt::WLocalizedStrings</a>.</p>
</div>
</div>
<a class="anchor" id="aef1673743006fac449c095690aeff413"></a><!-- doxytag: member="Wt::WMessageResourceBundle::keys" ref="aef1673743006fac449c095690aeff413" args="(WFlags< Scope > scope) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const std::set< std::string > Wt::WMessageResourceBundle::keys </td>
<td>(</td>
<td class="paramtype">WFlags< <a class="el" href="classWt_1_1WMessageResourceBundle.html#a384dd7fde994d5419c87b069b3c3226d">Scope</a> > </td>
<td class="paramname"><em>scope</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns a set of all keys in this bundle. </p>
<p>Returns a set of all keys connected with this WMessageResources, within the scope provided as parameter. </p>
</div>
</div>
<a class="anchor" id="a8dd275eff8f823ee58a1e673a79b71e7"></a><!-- doxytag: member="Wt::WMessageResourceBundle::refresh" ref="a8dd275eff8f823ee58a1e673a79b71e7" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Wt::WMessageResourceBundle::refresh </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Rereads the message resources. </p>
<p>Purge any cached key/values, if applicable.</p>
<p>The default implementation does nothing. </p>
<p>Reimplemented from <a class="el" href="classWt_1_1WLocalizedStrings.html#a71b2ca0b40eed56ee1acba8f865e7220">Wt::WLocalizedStrings</a>.</p>
</div>
</div>
<a class="anchor" id="a22878a466da85139384133f01c7fec77"></a><!-- doxytag: member="Wt::WMessageResourceBundle::resolveKey" ref="a22878a466da85139384133f01c7fec77" args="(const std::string &key, std::string &result)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Wt::WMessageResourceBundle::resolveKey </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::string & </td>
<td class="paramname"><em>result</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Resolves a key in the current locale. </p>
<p>This method is used by <a class="el" href="classWt_1_1WString.html" title="A value class which describes a locale-aware unicode string.">WString</a> to obtain the UTF8 value corresponding to a key in the current locale.</p>
<p>Returns <code>true</code> if the key could be resolved. The value is written in <code>result</code>, encoded using UTF8.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WApplication.html#a6e782f1f38a6f56e2024aab1a917a80b" title="Returns the current locale.">WApplication::locale()</a>, <a class="el" href="classWt_1_1WString.html#a0afc7dc0f9897456d71b569a86ca26c1" title="Creates a localized string from a key.">WString::tr()</a> </dd></dl>
<p>Implements <a class="el" href="classWt_1_1WLocalizedStrings.html#a05666a0ae917e4fd6deafdd2f4b98ba2">Wt::WLocalizedStrings</a>.</p>
</div>
</div>
<a class="anchor" id="ad29f61458c5bba4d19d7adcf7f0478ea"></a><!-- doxytag: member="Wt::WMessageResourceBundle::resolvePluralKey" ref="ad29f61458c5bba4d19d7adcf7f0478ea" args="(const std::string &key, std::string &result,::uint64_t amount)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Wt::WMessageResourceBundle::resolvePluralKey </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::string & </td>
<td class="paramname"><em>result</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">::uint64_t </td>
<td class="paramname"><em>amount</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Resolves the plural form of a key in the current locale. </p>
<p>This method is used by <a class="el" href="classWt_1_1WString.html" title="A value class which describes a locale-aware unicode string.">WString</a> to obtain the UTF8 value corresponding to a key in the current locale, taking into account the possibility of multiple plural forms, and chosing the right plural form based on the <code>amount</code> passed.</p>
<p>Throws a std::logic_error if the underlying implementation does not provide support for plural internationalized strings.</p>
<p>Returns <code>true</code> if the key could be resolved. The value is written in <code>result</code>, encoded as UTF8.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WApplication.html#a6e782f1f38a6f56e2024aab1a917a80b" title="Returns the current locale.">WApplication::locale()</a>, <a class="el" href="classWt_1_1WString.html#abcff7d3d30972762bd5d9279dc903a36" title="Creates a localized string from a key for a number n.">WString::trn()</a> </dd></dl>
<p>Reimplemented from <a class="el" href="classWt_1_1WLocalizedStrings.html#a679c976ebd09d9ab0b1db8e93a6e18d5">Wt::WLocalizedStrings</a>.</p>
</div>
</div>
<a class="anchor" id="a01368946b2a2aaceab3a64cddb1cb1e2"></a><!-- doxytag: member="Wt::WMessageResourceBundle::use" ref="a01368946b2a2aaceab3a64cddb1cb1e2" args="(const std::string &path, bool loadInMemory=true)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Wt::WMessageResourceBundle::use </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"><em>path</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>loadInMemory</em> = <code>true</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Adds a (series) of message resource files to be used. </p>
<p>The <code>path</code> is not a URI, and relative paths will be resolved with respect to the working directory of the server. The XML files do not need to be deployed in the web server's docroot.</p>
<p>When you give as <code>path:</code> /path/to/name, then the following message resource files will be used:</p>
<ul>
<li>/path/to/name.xml (default, English)</li>
<li>/path/to/name_nl.xml (for Dutch)</li>
<li>/path/to/name_fr.xml (for French)</li>
<li>etc...</li>
</ul>
<p>The message file that is used depends on the application's locale.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WApplication.html#a6e782f1f38a6f56e2024aab1a917a80b" title="Returns the current locale.">WApplication::locale()</a> </dd></dl>
</div>
</div>
</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>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</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>
<hr size="1"><address style="text-align: right; margin: 3px"><small>
Generated on Fri Mar 30 2012 for <a href="http://www.webtoolkit.eu/wt">the
C++ Web Toolkit (Wt)</a> by <a
href="http://www.doxygen.org/index.html"><img src="doxygen.png"
alt="doxygen" border="0" style="vertical-align: middle; display:
inline-block; height: 2em"></a> 1.7.5.1</small></address>
</body>
</html>
|