mirror of
https://github.com/boostorg/locale.git
synced 2026-02-25 16:32:14 +00:00
- cleanup of inspect warnings - various requiremets like libraries.htm and maintainers.txt [SVN r73786]
1294 lines
71 KiB
HTML
1294 lines
71 KiB
HTML
<!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>Boost.Locale: Message Formatting (translation)</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
|
|
<link rel="stylesheet" type="text/css" href="../style/section-basic.css">
|
|
</head>
|
|
<body>
|
|
<div id="boost-common-heading-doc">
|
|
<div class="heading-inner">
|
|
<div class="heading-placard"></div>
|
|
|
|
<h1 class="heading-title">
|
|
<a href="http://www.boost.org/">
|
|
<img src="../style/space.png" alt= "Boost C++ Libraries" class="heading-logo" />
|
|
<span class="heading-boost">Boost</span>
|
|
<span class="heading-cpplibraries">C++ Libraries</span>
|
|
</a>
|
|
</h1>
|
|
|
|
<p class="heading-quote">
|
|
|
|
<q>...one of the most highly
|
|
regarded and expertly designed C++ library projects in the
|
|
world.</q>
|
|
|
|
<span class="heading-attribution">— <a href=
|
|
"http://www.gotw.ca/" class="external">Herb Sutter</a> and <a href=
|
|
"http://en.wikipedia.org/wiki/Andrei_Alexandrescu" class="external">Andrei
|
|
Alexandrescu</a>, <a href=
|
|
"http://safari.awprofessional.com/?XmlId=0321113586" class="external">C++
|
|
Coding Standards</a></span>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="boost-common-heading-doc-spacer"></div>
|
|
<!-- Generated by Doxygen 1.7.1 -->
|
|
<div class="navigation" id="top">
|
|
<div class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="main.html"><span>Main Page</span></a></li>
|
|
<li><a href="modules.html"><span>Modules</span></a></li>
|
|
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
|
<li><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
<li><a href="examples.html"><span>Examples</span></a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#nested-classes">Classes</a> |
|
|
<a href="#namespaces">Namespaces</a> |
|
|
<a href="#typedef-members">Typedefs</a> |
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<h1>Message Formatting (translation)</h1> </div>
|
|
</div>
|
|
<div class="contents">
|
|
<table class="memberdecls">
|
|
<tr><td colspan="2"><h2><a name="nested-classes"></a>
|
|
Classes</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1message__format.html">boost::locale::message_format< CharType ></a></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">This facet provides message formatting abilities. <a href="classboost_1_1locale_1_1message__format.html#_details">More...</a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1basic__message.html">boost::locale::basic_message< CharType ></a></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">This class represents a message that can be converted to a specific locale message. <a href="classboost_1_1locale_1_1basic__message.html#_details">More...</a><br/></td></tr>
|
|
<tr><td colspan="2"><h2><a name="namespaces"></a>
|
|
Namespaces</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceboost_1_1locale_1_1gnu__gettext.html">boost::locale::gnu_gettext</a></td></tr>
|
|
|
|
<p><tr><td class="mdescLeft"> </td><td class="mdescRight"><p>This namespace holds classes that provide GNU Gettext message catalogs support. </p>
|
|
<br/></td></tr>
|
|
</p>
|
|
<tr><td class="memItemLeft" align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceboost_1_1locale_1_1as.html">boost::locale::as</a></td></tr>
|
|
|
|
<p><tr><td class="mdescLeft"> </td><td class="mdescRight"><p>This namespace includes all manipulators that can be used on IO streams. </p>
|
|
<br/></td></tr>
|
|
</p>
|
|
<tr><td colspan="2"><h2><a name="typedef-members"></a>
|
|
Typedefs</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">typedef std::basic_string<br class="typebreak"/>
|
|
< CharType > </td><td class="memItemRight" valign="bottom"><a class="el" href="group__message.html#gaaa932705310ce196fccc9d672b25518f">boost::locale::message_format::string_type</a></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga529423e08fc9a8ca9ceef5c56181c6d3"></a><!-- doxytag: member="message::string_type" ref="ga529423e08fc9a8ca9ceef5c56181c6d3" args="" -->
|
|
typedef std::basic_string<br class="typebreak"/>
|
|
< char_type > </td><td class="memItemRight" valign="bottom"><a class="el" href="group__message.html#ga529423e08fc9a8ca9ceef5c56181c6d3">boost::locale::basic_message::string_type</a></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">The string type this object can be used with. <br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaa63527cb368d0bcd4cb0809138c927df"></a><!-- doxytag: member="message::facet_type" ref="gaa63527cb368d0bcd4cb0809138c927df" args="" -->
|
|
typedef message_format< char_type > </td><td class="memItemRight" valign="bottom"><a class="el" href="group__message.html#gaa63527cb368d0bcd4cb0809138c927df">boost::locale::basic_message::facet_type</a></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">The type of the facet the messages are fetched with. <br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">typedef basic_message< char > </td><td class="memItemRight" valign="bottom"><a class="el" href="group__message.html#ga556e3e7696302902b2242a7a94516dee">boost::locale::message</a></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">typedef basic_message< wchar_t > </td><td class="memItemRight" valign="bottom"><a class="el" href="group__message.html#gafea131aa123d666905076f34b77326a9">boost::locale::wmessage</a></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">typedef basic_message< char16_t > </td><td class="memItemRight" valign="bottom"><a class="el" href="group__message.html#ga43ddf342eec2ab9145d04727f8161e1c">boost::locale::u16message</a></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">typedef basic_message< char32_t > </td><td class="memItemRight" valign="bottom"><a class="el" href="group__message.html#ga6c0b40121a07c13de9e712845b43468f">boost::locale::u32message</a></td></tr>
|
|
<tr><td colspan="2"><h2><a name="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__message.html#gafa681d0df94a35f9d75c16dea099d03e">boost::locale::message_format::message_format</a> (size_t refs=0)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">virtual char_type const * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__message.html#ga4f65e4e1c3995eb09dd8f8f0e150a012">boost::locale::message_format::get</a> (int domain_id, char_type const *context, char_type const *id) const =0</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">virtual char_type const * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__message.html#gabb35b8a77bca9d28c5d5c266b66fe291">boost::locale::message_format::get</a> (int domain_id, char_type const *context, char_type const *single_id, int n) const =0</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__message.html#ga73e25178ba9ef91ebe1df0aade4d8ae6">boost::locale::message_format::domain</a> (std::string const &domain) const =0</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">virtual char_type const * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__message.html#ga3f2c9d7f9a363efa607738083a986251">boost::locale::message_format::convert</a> (char_type const *msg, string_type &buffer) const =0</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__message.html#ga33bdf7fbb164a96a8685b5747afc2b45">boost::locale::basic_message::basic_message</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__message.html#gae32d7f89d5f268e8d6bae662d8008bae">boost::locale::basic_message::basic_message</a> (char_type const *id)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__message.html#ga40bf56415a235f13ee666d51f645f280">boost::locale::basic_message::basic_message</a> (char_type const *single, char_type const *plural, int n)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__message.html#ga4d78f8f45467984d7244e2ddbb9e0f6e">boost::locale::basic_message::basic_message</a> (char_type const *context, char_type const *id)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__message.html#gabf9afe77f0254397389289c386bf8a73">boost::locale::basic_message::basic_message</a> (char_type const *context, char_type const *single, char_type const *plural, int n)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__message.html#gabbb4365d621a33442ae34ac7c17a9d74">boost::locale::basic_message::basic_message</a> (string_type const &id)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__message.html#ga380f3a258b3b28929bbf01f4e622e71a">boost::locale::basic_message::basic_message</a> (string_type const &single, string_type const &plural, int number)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__message.html#ga8c2fab962e10a46ea85f0188d08e499d">boost::locale::basic_message::basic_message</a> (string_type const &context, string_type const &id)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__message.html#gaf8ba10b7b1d45e6c78b84d77e8175d5d">boost::locale::basic_message::basic_message</a> (string_type const &context, string_type const &single, string_type const &plural, int number)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__message.html#gae6ed9dded4ab78ff28e994b48c766c84">boost::locale::basic_message::basic_message</a> (basic_message const &other)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">basic_message const & </td><td class="memItemRight" valign="bottom"><a class="el" href="group__message.html#gae0e786e45ef32cf73efd8495cae45aed">boost::locale::basic_message::operator=</a> (basic_message const &other)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__message.html#gac204b563c7c9bd86e5555f129350f0e3">boost::locale::basic_message::swap</a> (basic_message &other)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__message.html#ga8da81038939b85ca248cba50f1deacf1">boost::locale::basic_message::operator string_type</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">string_type </td><td class="memItemRight" valign="bottom"><a class="el" href="group__message.html#ga11c5f400e03e0b16b9a60bd3fae3f168">boost::locale::basic_message::str</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">string_type </td><td class="memItemRight" valign="bottom"><a class="el" href="group__message.html#ga26c6489f8269096f835abfb268498fdd">boost::locale::basic_message::str</a> (std::locale const &locale) const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">string_type </td><td class="memItemRight" valign="bottom"><a class="el" href="group__message.html#gaa907a1d3f43fe59cea938e1606f004ee">boost::locale::basic_message::str</a> (std::locale const &locale, std::string const &domain_id) const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">string_type </td><td class="memItemRight" valign="bottom"><a class="el" href="group__message.html#ga2d2ca0fe119e4ce4766fd3d42b549314">boost::locale::basic_message::str</a> (std::string const &domain_id) const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">string_type </td><td class="memItemRight" valign="bottom"><a class="el" href="group__message.html#gaa51c0f65363d8d1cee83bb07fe45ced5">boost::locale::basic_message::str</a> (std::locale const &loc, int id) const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__message.html#ga4dd81f4d40c4e8871bb1bf02bbc8e968">boost::locale::basic_message::write</a> (std::basic_ostream< char_type > &out) const </td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename CharType > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">std::basic_ostream< CharType > & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__message.html#ga65c188250db86a10f038b77c377f6ec5">boost::locale::operator<<</a> (std::basic_ostream< CharType > &out, basic_message< CharType > const &msg)</td></tr>
|
|
<tr><td colspan="2"><h2><a name="member-group"></a>
|
|
Indirect message translation function family</h2></td></tr>
|
|
<tr><td colspan="2"><p><a class="anchor" id="amgrp32a7bab11d00770484c96c0058512efc"></a> <a class="anchor" id="boost_locale_translate_family"></a> </p>
|
|
<br/><br/></td></tr>
|
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga7f35933e136f9202baa66128d87e5d43"></a><!-- doxytag: member="message::translate" ref="ga7f35933e136f9202baa66128d87e5d43" args="(CharType const *msg)" -->
|
|
template<typename CharType > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">basic_message< CharType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__message.html#ga7f35933e136f9202baa66128d87e5d43">boost::locale::translate</a> (CharType const *msg)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Translate a message, <em>msg</em> is not copied. <br/></td></tr>
|
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="gac1392ab84aa084a652fca57ad11ab754"></a><!-- doxytag: member="message::translate" ref="gac1392ab84aa084a652fca57ad11ab754" args="(CharType const *context, CharType const *msg)" -->
|
|
template<typename CharType > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">basic_message< CharType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__message.html#gac1392ab84aa084a652fca57ad11ab754">boost::locale::translate</a> (CharType const *context, CharType const *msg)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Translate a message in context, <em>msg</em> and <em>context</em> are not copied. <br/></td></tr>
|
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="gaef8d3a6063f6b2a79b1cebeda9bafd52"></a><!-- doxytag: member="message::translate" ref="gaef8d3a6063f6b2a79b1cebeda9bafd52" args="(CharType const *single, CharType const *plural, int n)" -->
|
|
template<typename CharType > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">basic_message< CharType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__message.html#gaef8d3a6063f6b2a79b1cebeda9bafd52">boost::locale::translate</a> (CharType const *single, CharType const *plural, int n)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Translate a plural message form, <em>single</em> and <em>plural</em> are not copied. <br/></td></tr>
|
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="gafae5e056f599ae051e81b84e14f61255"></a><!-- doxytag: member="message::translate" ref="gafae5e056f599ae051e81b84e14f61255" args="(CharType const *context, CharType const *single, CharType const *plural, int n)" -->
|
|
template<typename CharType > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">basic_message< CharType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__message.html#gafae5e056f599ae051e81b84e14f61255">boost::locale::translate</a> (CharType const *context, CharType const *single, CharType const *plural, int n)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Translate a plural message from in constext, <em>context</em>, <em>single</em> and <em>plural</em> are not copied. <br/></td></tr>
|
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="gabe61325e81b62bab9351d514c2f3218c"></a><!-- doxytag: member="message::translate" ref="gabe61325e81b62bab9351d514c2f3218c" args="(std::basic_string< CharType > const &msg)" -->
|
|
template<typename CharType > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">basic_message< CharType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__message.html#gabe61325e81b62bab9351d514c2f3218c">boost::locale::translate</a> (std::basic_string< CharType > const &msg)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Translate a message, <em>msg</em> is copied. <br/></td></tr>
|
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="gaf1e2c81bd1be15d2075bbba353251cd4"></a><!-- doxytag: member="message::translate" ref="gaf1e2c81bd1be15d2075bbba353251cd4" args="(std::basic_string< CharType > const &context, std::basic_string< CharType > const &msg)" -->
|
|
template<typename CharType > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">basic_message< CharType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__message.html#gaf1e2c81bd1be15d2075bbba353251cd4">boost::locale::translate</a> (std::basic_string< CharType > const &context, std::basic_string< CharType > const &msg)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Translate a message in context,<em>context</em> and <em>msg</em> is copied. <br/></td></tr>
|
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga534be0a86c6ed58adb94127decc704cd"></a><!-- doxytag: member="message::translate" ref="ga534be0a86c6ed58adb94127decc704cd" args="(std::basic_string< CharType > const &context, std::basic_string< CharType > const &single, std::basic_string< CharType > const &plural, int n)" -->
|
|
template<typename CharType > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">basic_message< CharType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__message.html#ga534be0a86c6ed58adb94127decc704cd">boost::locale::translate</a> (std::basic_string< CharType > const &context, std::basic_string< CharType > const &single, std::basic_string< CharType > const &plural, int n)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Translate a plural message form in constext, <em>context</em>, <em>single</em> and <em>plural</em> are copied. <br/></td></tr>
|
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga39d53e2aa86045ffb19ac7533466db26"></a><!-- doxytag: member="message::translate" ref="ga39d53e2aa86045ffb19ac7533466db26" args="(std::basic_string< CharType > const &single, std::basic_string< CharType > const &plural, int n)" -->
|
|
template<typename CharType > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">basic_message< CharType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__message.html#ga39d53e2aa86045ffb19ac7533466db26">boost::locale::translate</a> (std::basic_string< CharType > const &single, std::basic_string< CharType > const &plural, int n)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Translate a plural message form, <em>single</em> and <em>plural</em> are copied. <br/></td></tr>
|
|
<tr><td colspan="2"><h2><a name="member-group"></a>
|
|
Direct message translation functions family</h2></td></tr>
|
|
<tr><td colspan="2"><p><a class="anchor" id="amgrp365823f5317287b5d67977a7fc724307"></a> <a class="anchor" id="boost_locale_gettext_family"></a> </p>
|
|
<br/><br/></td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename CharType > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">std::basic_string< CharType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__message.html#gadd3006a6d5d1c804490152ee6300d47f">boost::locale::gettext</a> (CharType const *id, std::locale const &loc=std::locale())</td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename CharType > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">std::basic_string< CharType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__message.html#ga80a13c0c61d4d0b530ef7df873dc31bb">boost::locale::ngettext</a> (CharType const *s, CharType const *p, int n, std::locale const &loc=std::locale())</td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename CharType > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">std::basic_string< CharType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__message.html#ga4679dd42049207a9632002cd13d29260">boost::locale::dgettext</a> (char const *domain, CharType const *id, std::locale const &loc=std::locale())</td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename CharType > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">std::basic_string< CharType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__message.html#ga8969a29e9eb19ce41178920892da5c27">boost::locale::dngettext</a> (char const *domain, CharType const *s, CharType const *p, int n, std::locale const &loc=std::locale())</td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename CharType > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">std::basic_string< CharType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__message.html#ga2a39910bdf57e4d151607ee1a115b853">boost::locale::pgettext</a> (CharType const *context, CharType const *id, std::locale const &loc=std::locale())</td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename CharType > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">std::basic_string< CharType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__message.html#ga65fb8244993e7e3870e4e89540803323">boost::locale::npgettext</a> (CharType const *context, CharType const *s, CharType const *p, int n, std::locale const &loc=std::locale())</td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename CharType > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">std::basic_string< CharType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__message.html#ga352dfa66c04ff924f1999ca47ff11aba">boost::locale::dpgettext</a> (char const *domain, CharType const *context, CharType const *id, std::locale const &loc=std::locale())</td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename CharType > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">std::basic_string< CharType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__message.html#ga49b1d83256ead90a9f86940e3d977dee">boost::locale::dnpgettext</a> (char const *domain, CharType const *context, CharType const *s, CharType const *p, int n, std::locale const &loc=std::locale())</td></tr>
|
|
</table>
|
|
<hr/><a name="_details"></a><h2>Detailed Description</h2>
|
|
<p>This module provides message translation functionality, i.e. allow your application to speak native language </p>
|
|
<hr/><h2>Typedef Documentation</h2>
|
|
<a class="anchor" id="ga556e3e7696302902b2242a7a94516dee"></a><!-- doxytag: member="boost::locale::message" ref="ga556e3e7696302902b2242a7a94516dee" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef basic_message<char> <a class="el" href="classboost_1_1locale_1_1basic__message.html">boost::locale::message</a></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Convenience typedef for char </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaaa932705310ce196fccc9d672b25518f"></a><!-- doxytag: member="boost::locale::message_format::string_type" ref="gaaa932705310ce196fccc9d672b25518f" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename CharType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef std::basic_string<CharType> <a class="el" href="classboost_1_1locale_1_1message__format.html">boost::locale::message_format</a>< CharType >::string_type<code> [inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>String type </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga43ddf342eec2ab9145d04727f8161e1c"></a><!-- doxytag: member="boost::locale::u16message" ref="ga43ddf342eec2ab9145d04727f8161e1c" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef basic_message<char16_t> <a class="el" href="classboost_1_1locale_1_1basic__message.html">boost::locale::u16message</a></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Convenience typedef for char16_t </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga6c0b40121a07c13de9e712845b43468f"></a><!-- doxytag: member="boost::locale::u32message" ref="ga6c0b40121a07c13de9e712845b43468f" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef basic_message<char32_t> <a class="el" href="classboost_1_1locale_1_1basic__message.html">boost::locale::u32message</a></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Convenience typedef for char32_t </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gafea131aa123d666905076f34b77326a9"></a><!-- doxytag: member="boost::locale::wmessage" ref="gafea131aa123d666905076f34b77326a9" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef basic_message<wchar_t> <a class="el" href="classboost_1_1locale_1_1basic__message.html">boost::locale::wmessage</a></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Convenience typedef for wchar_t </p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Function Documentation</h2>
|
|
<a class="anchor" id="ga33bdf7fbb164a96a8685b5747afc2b45"></a><!-- doxytag: member="boost::locale::basic_message::basic_message" ref="ga33bdf7fbb164a96a8685b5747afc2b45" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename CharType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1basic__message.html">boost::locale::basic_message</a>< CharType >::basic_message </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Create default empty message </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gae32d7f89d5f268e8d6bae662d8008bae"></a><!-- doxytag: member="boost::locale::basic_message::basic_message" ref="gae32d7f89d5f268e8d6bae662d8008bae" args="(char_type const *id)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename CharType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1basic__message.html">boost::locale::basic_message</a>< CharType >::basic_message </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1basic__message.html#aa5d8dcf9d7aa01abbe73c841299345db">char_type</a> const * </td>
|
|
<td class="paramname"> <em>id</em></td>
|
|
<td> ) </td>
|
|
<td><code> [inline, explicit, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Create a simple message from 0 terminated string. The string should exist until the message is destroyed. Generally useful with static constant strings </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga40bf56415a235f13ee666d51f645f280"></a><!-- doxytag: member="boost::locale::basic_message::basic_message" ref="ga40bf56415a235f13ee666d51f645f280" args="(char_type const *single, char_type const *plural, int n)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename CharType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1basic__message.html">boost::locale::basic_message</a>< CharType >::basic_message </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1basic__message.html#aa5d8dcf9d7aa01abbe73c841299345db">char_type</a> const * </td>
|
|
<td class="paramname"> <em>single</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1basic__message.html#aa5d8dcf9d7aa01abbe73c841299345db">char_type</a> const * </td>
|
|
<td class="paramname"> <em>plural</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"> <em>n</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline, explicit, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Create a simple plural form message from 0 terminated strings. The strings should exist until the message is destroyed. Generally useful with static constant strings.</p>
|
|
<p><em>n</em> is the number, <em>single</em> and <em>plural</em> are singular and plural forms of the message </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gae6ed9dded4ab78ff28e994b48c766c84"></a><!-- doxytag: member="boost::locale::basic_message::basic_message" ref="gae6ed9dded4ab78ff28e994b48c766c84" args="(basic_message const &other)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename CharType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1basic__message.html">boost::locale::basic_message</a>< CharType >::basic_message </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1basic__message.html">basic_message</a>< CharType > const & </td>
|
|
<td class="paramname"> <em>other</em></td>
|
|
<td> ) </td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Copy an object </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga4d78f8f45467984d7244e2ddbb9e0f6e"></a><!-- doxytag: member="boost::locale::basic_message::basic_message" ref="ga4d78f8f45467984d7244e2ddbb9e0f6e" args="(char_type const *context, char_type const *id)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename CharType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1basic__message.html">boost::locale::basic_message</a>< CharType >::basic_message </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1basic__message.html#aa5d8dcf9d7aa01abbe73c841299345db">char_type</a> const * </td>
|
|
<td class="paramname"> <em>context</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1basic__message.html#aa5d8dcf9d7aa01abbe73c841299345db">char_type</a> const * </td>
|
|
<td class="paramname"> <em>id</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline, explicit, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Create a simple message from 0 terminated strings, with context information. The string should exist until the message is destroyed. Generally useful with static constant strings </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gabf9afe77f0254397389289c386bf8a73"></a><!-- doxytag: member="boost::locale::basic_message::basic_message" ref="gabf9afe77f0254397389289c386bf8a73" args="(char_type const *context, char_type const *single, char_type const *plural, int n)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename CharType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1basic__message.html">boost::locale::basic_message</a>< CharType >::basic_message </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1basic__message.html#aa5d8dcf9d7aa01abbe73c841299345db">char_type</a> const * </td>
|
|
<td class="paramname"> <em>context</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1basic__message.html#aa5d8dcf9d7aa01abbe73c841299345db">char_type</a> const * </td>
|
|
<td class="paramname"> <em>single</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1basic__message.html#aa5d8dcf9d7aa01abbe73c841299345db">char_type</a> const * </td>
|
|
<td class="paramname"> <em>plural</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"> <em>n</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline, explicit, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Create a simple plural form message from 0 terminated strings, with context. The strings should exist until the message is destroyed. Generally useful with static constant strings.</p>
|
|
<p><em>n</em> is the number, <em>single</em> and <em>plural</em> are singular and plural forms of the message </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gabbb4365d621a33442ae34ac7c17a9d74"></a><!-- doxytag: member="boost::locale::basic_message::basic_message" ref="gabbb4365d621a33442ae34ac7c17a9d74" args="(string_type const &id)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename CharType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1basic__message.html">boost::locale::basic_message</a>< CharType >::basic_message </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__message.html#ga529423e08fc9a8ca9ceef5c56181c6d3">string_type</a> const & </td>
|
|
<td class="paramname"> <em>id</em></td>
|
|
<td> ) </td>
|
|
<td><code> [inline, explicit, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Create a simple message from a string. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga380f3a258b3b28929bbf01f4e622e71a"></a><!-- doxytag: member="boost::locale::basic_message::basic_message" ref="ga380f3a258b3b28929bbf01f4e622e71a" args="(string_type const &single, string_type const &plural, int number)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename CharType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1basic__message.html">boost::locale::basic_message</a>< CharType >::basic_message </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__message.html#ga529423e08fc9a8ca9ceef5c56181c6d3">string_type</a> const & </td>
|
|
<td class="paramname"> <em>single</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="group__message.html#ga529423e08fc9a8ca9ceef5c56181c6d3">string_type</a> const & </td>
|
|
<td class="paramname"> <em>plural</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"> <em>number</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline, explicit, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Create a simple plural form message from strings.</p>
|
|
<p><em>n</em> is the number, <em>single</em> and <em>plural</em> are single and plural forms of the message </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga8c2fab962e10a46ea85f0188d08e499d"></a><!-- doxytag: member="boost::locale::basic_message::basic_message" ref="ga8c2fab962e10a46ea85f0188d08e499d" args="(string_type const &context, string_type const &id)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename CharType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1basic__message.html">boost::locale::basic_message</a>< CharType >::basic_message </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__message.html#ga529423e08fc9a8ca9ceef5c56181c6d3">string_type</a> const & </td>
|
|
<td class="paramname"> <em>context</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="group__message.html#ga529423e08fc9a8ca9ceef5c56181c6d3">string_type</a> const & </td>
|
|
<td class="paramname"> <em>id</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline, explicit, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Create a simple message from a string with context. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaf8ba10b7b1d45e6c78b84d77e8175d5d"></a><!-- doxytag: member="boost::locale::basic_message::basic_message" ref="gaf8ba10b7b1d45e6c78b84d77e8175d5d" args="(string_type const &context, string_type const &single, string_type const &plural, int number)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename CharType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1basic__message.html">boost::locale::basic_message</a>< CharType >::basic_message </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__message.html#ga529423e08fc9a8ca9ceef5c56181c6d3">string_type</a> const & </td>
|
|
<td class="paramname"> <em>context</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="group__message.html#ga529423e08fc9a8ca9ceef5c56181c6d3">string_type</a> const & </td>
|
|
<td class="paramname"> <em>single</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="group__message.html#ga529423e08fc9a8ca9ceef5c56181c6d3">string_type</a> const & </td>
|
|
<td class="paramname"> <em>plural</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"> <em>number</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline, explicit, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Create a simple plural form message from strings.</p>
|
|
<p><em>n</em> is the number, <em>single</em> and <em>plural</em> are single and plural forms of the message </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga3f2c9d7f9a363efa607738083a986251"></a><!-- doxytag: member="boost::locale::message_format::convert" ref="ga3f2c9d7f9a363efa607738083a986251" args="(char_type const *msg, string_type &buffer) const =0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename CharType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual char_type const* <a class="el" href="classboost_1_1locale_1_1message__format.html">boost::locale::message_format</a>< CharType >::convert </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1message__format.html#a83f473295edf14b9e1ae1476b81231bc">char_type</a> const * </td>
|
|
<td class="paramname"> <em>msg</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="group__message.html#gaaa932705310ce196fccc9d672b25518f">string_type</a> & </td>
|
|
<td class="paramname"> <em>buffer</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td> const<code> [pure virtual, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Convert the string <em>msg</em> to target locale's encoding. If <em>msg</em> is already in target encoding it would be returned otherwise the converted string is stored in temporary <em>buffer</em> and buffer.c_str() is returned.</p>
|
|
<p>Note: for char_type that is char16_t, char32_t and wchar_t it is no-op, returns msg </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga4679dd42049207a9632002cd13d29260"></a><!-- doxytag: member="boost::locale::dgettext" ref="ga4679dd42049207a9632002cd13d29260" args="(char const *domain, CharType const *id, std::locale const &loc=std::locale())" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename CharType > </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::basic_string<CharType> boost::locale::dgettext </td>
|
|
<td>(</td>
|
|
<td class="paramtype">char const * </td>
|
|
<td class="paramname"> <em>domain</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">CharType const * </td>
|
|
<td class="paramname"> <em>id</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">std::locale const & </td>
|
|
<td class="paramname"> <em>loc</em> = <code>std::locale()</code></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Translate message <em>id</em> according to locale <em>loc</em> in domain <em>domain</em> </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga8969a29e9eb19ce41178920892da5c27"></a><!-- doxytag: member="boost::locale::dngettext" ref="ga8969a29e9eb19ce41178920892da5c27" args="(char const *domain, CharType const *s, CharType const *p, int n, std::locale const &loc=std::locale())" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename CharType > </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::basic_string<CharType> boost::locale::dngettext </td>
|
|
<td>(</td>
|
|
<td class="paramtype">char const * </td>
|
|
<td class="paramname"> <em>domain</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">CharType const * </td>
|
|
<td class="paramname"> <em>s</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">CharType const * </td>
|
|
<td class="paramname"> <em>p</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"> <em>n</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">std::locale const & </td>
|
|
<td class="paramname"> <em>loc</em> = <code>std::locale()</code></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Translate plural form according to locale <em>loc</em> in domain <em>domain</em> </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga49b1d83256ead90a9f86940e3d977dee"></a><!-- doxytag: member="boost::locale::dnpgettext" ref="ga49b1d83256ead90a9f86940e3d977dee" args="(char const *domain, CharType const *context, CharType const *s, CharType const *p, int n, std::locale const &loc=std::locale())" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename CharType > </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::basic_string<CharType> boost::locale::dnpgettext </td>
|
|
<td>(</td>
|
|
<td class="paramtype">char const * </td>
|
|
<td class="paramname"> <em>domain</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">CharType const * </td>
|
|
<td class="paramname"> <em>context</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">CharType const * </td>
|
|
<td class="paramname"> <em>s</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">CharType const * </td>
|
|
<td class="paramname"> <em>p</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"> <em>n</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">std::locale const & </td>
|
|
<td class="paramname"> <em>loc</em> = <code>std::locale()</code></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Translate plural form according to locale <em>loc</em> in domain <em>domain</em> in context <em>context</em> </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga73e25178ba9ef91ebe1df0aade4d8ae6"></a><!-- doxytag: member="boost::locale::message_format::domain" ref="ga73e25178ba9ef91ebe1df0aade4d8ae6" args="(std::string const &domain) const =0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename CharType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual int <a class="el" href="classboost_1_1locale_1_1message__format.html">boost::locale::message_format</a>< CharType >::domain </td>
|
|
<td>(</td>
|
|
<td class="paramtype">std::string const & </td>
|
|
<td class="paramname"> <em>domain</em></td>
|
|
<td> ) </td>
|
|
<td> const<code> [pure virtual, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Convert a string that defines <em>domain</em> to the integer id used by <em>get</em> functions </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga352dfa66c04ff924f1999ca47ff11aba"></a><!-- doxytag: member="boost::locale::dpgettext" ref="ga352dfa66c04ff924f1999ca47ff11aba" args="(char const *domain, CharType const *context, CharType const *id, std::locale const &loc=std::locale())" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename CharType > </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::basic_string<CharType> boost::locale::dpgettext </td>
|
|
<td>(</td>
|
|
<td class="paramtype">char const * </td>
|
|
<td class="paramname"> <em>domain</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">CharType const * </td>
|
|
<td class="paramname"> <em>context</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">CharType const * </td>
|
|
<td class="paramname"> <em>id</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">std::locale const & </td>
|
|
<td class="paramname"> <em>loc</em> = <code>std::locale()</code></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Translate message <em>id</em> according to locale <em>loc</em> in domain <em>domain</em> in context <em>context</em> </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga4f65e4e1c3995eb09dd8f8f0e150a012"></a><!-- doxytag: member="boost::locale::message_format::get" ref="ga4f65e4e1c3995eb09dd8f8f0e150a012" args="(int domain_id, char_type const *context, char_type const *id) const =0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename CharType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual char_type const* <a class="el" href="classboost_1_1locale_1_1message__format.html">boost::locale::message_format</a>< CharType >::get </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"> <em>domain_id</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1message__format.html#a83f473295edf14b9e1ae1476b81231bc">char_type</a> const * </td>
|
|
<td class="paramname"> <em>context</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1message__format.html#a83f473295edf14b9e1ae1476b81231bc">char_type</a> const * </td>
|
|
<td class="paramname"> <em>id</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td> const<code> [pure virtual, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>This function returns a pointer to the string for a message defined by a <em>context</em> and identification string <em>id</em>. Both create a single key for message lookup in a domain defined by <em>domain_id</em>.</p>
|
|
<p>If <em>context</em> is NULL it is not considered to be a part of the key</p>
|
|
<p>If a translated string is found, it is returned, otherwise NULL is returned </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gabb35b8a77bca9d28c5d5c266b66fe291"></a><!-- doxytag: member="boost::locale::message_format::get" ref="gabb35b8a77bca9d28c5d5c266b66fe291" args="(int domain_id, char_type const *context, char_type const *single_id, int n) const =0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename CharType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual char_type const* <a class="el" href="classboost_1_1locale_1_1message__format.html">boost::locale::message_format</a>< CharType >::get </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"> <em>domain_id</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1message__format.html#a83f473295edf14b9e1ae1476b81231bc">char_type</a> const * </td>
|
|
<td class="paramname"> <em>context</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1message__format.html#a83f473295edf14b9e1ae1476b81231bc">char_type</a> const * </td>
|
|
<td class="paramname"> <em>single_id</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"> <em>n</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td> const<code> [pure virtual, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>This function returns a pointer to the string for a plural message defined by a <em>context</em> and identification string <em>single_id</em>.</p>
|
|
<p>If <em>context</em> is NULL it is not considered to be a part of the key</p>
|
|
<p>Both create a single key for message lookup in a domain defined <em>domain_id</em>. <em>n</em> is used to pick the correct translation string for a specific number.</p>
|
|
<p>If a translated string is found, it is returned, otherwise NULL is returned </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gadd3006a6d5d1c804490152ee6300d47f"></a><!-- doxytag: member="boost::locale::gettext" ref="gadd3006a6d5d1c804490152ee6300d47f" args="(CharType const *id, std::locale const &loc=std::locale())" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename CharType > </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::basic_string<CharType> boost::locale::gettext </td>
|
|
<td>(</td>
|
|
<td class="paramtype">CharType const * </td>
|
|
<td class="paramname"> <em>id</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">std::locale const & </td>
|
|
<td class="paramname"> <em>loc</em> = <code>std::locale()</code></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Translate message <em>id</em> according to locale <em>loc</em> </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gafa681d0df94a35f9d75c16dea099d03e"></a><!-- doxytag: member="boost::locale::message_format::message_format" ref="gafa681d0df94a35f9d75c16dea099d03e" args="(size_t refs=0)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename CharType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1message__format.html">boost::locale::message_format</a>< CharType >::message_format </td>
|
|
<td>(</td>
|
|
<td class="paramtype">size_t </td>
|
|
<td class="paramname"> <em>refs</em> = <code>0</code></td>
|
|
<td> ) </td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Default constructor </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga80a13c0c61d4d0b530ef7df873dc31bb"></a><!-- doxytag: member="boost::locale::ngettext" ref="ga80a13c0c61d4d0b530ef7df873dc31bb" args="(CharType const *s, CharType const *p, int n, std::locale const &loc=std::locale())" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename CharType > </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::basic_string<CharType> boost::locale::ngettext </td>
|
|
<td>(</td>
|
|
<td class="paramtype">CharType const * </td>
|
|
<td class="paramname"> <em>s</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">CharType const * </td>
|
|
<td class="paramname"> <em>p</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"> <em>n</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">std::locale const & </td>
|
|
<td class="paramname"> <em>loc</em> = <code>std::locale()</code></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Translate plural form according to locale <em>loc</em> </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga65fb8244993e7e3870e4e89540803323"></a><!-- doxytag: member="boost::locale::npgettext" ref="ga65fb8244993e7e3870e4e89540803323" args="(CharType const *context, CharType const *s, CharType const *p, int n, std::locale const &loc=std::locale())" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename CharType > </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::basic_string<CharType> boost::locale::npgettext </td>
|
|
<td>(</td>
|
|
<td class="paramtype">CharType const * </td>
|
|
<td class="paramname"> <em>context</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">CharType const * </td>
|
|
<td class="paramname"> <em>s</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">CharType const * </td>
|
|
<td class="paramname"> <em>p</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"> <em>n</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">std::locale const & </td>
|
|
<td class="paramname"> <em>loc</em> = <code>std::locale()</code></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Translate plural form according to locale <em>loc</em> in context <em>context</em> </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga8da81038939b85ca248cba50f1deacf1"></a><!-- doxytag: member="boost::locale::basic_message::operator string_type" ref="ga8da81038939b85ca248cba50f1deacf1" args="() const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename CharType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classboost_1_1locale_1_1basic__message.html">boost::locale::basic_message</a>< CharType >::operator string_type </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td> const<code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Message class can be explicitly converted to string class </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga65c188250db86a10f038b77c377f6ec5"></a><!-- doxytag: member="boost::locale::operator<<" ref="ga65c188250db86a10f038b77c377f6ec5" args="(std::basic_ostream< CharType > &out, basic_message< CharType > const &msg)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename CharType > </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::basic_ostream<CharType>& boost::locale::operator<< </td>
|
|
<td>(</td>
|
|
<td class="paramtype">std::basic_ostream< CharType > & </td>
|
|
<td class="paramname"> <em>out</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">basic_message< CharType > const & </td>
|
|
<td class="paramname"> <em>msg</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Translate message <em>msg</em> and write it to stream </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gae0e786e45ef32cf73efd8495cae45aed"></a><!-- doxytag: member="boost::locale::basic_message::operator=" ref="gae0e786e45ef32cf73efd8495cae45aed" args="(basic_message const &other)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename CharType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">basic_message const& <a class="el" href="classboost_1_1locale_1_1basic__message.html">boost::locale::basic_message</a>< CharType >::operator= </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1basic__message.html">basic_message</a>< CharType > const & </td>
|
|
<td class="paramname"> <em>other</em></td>
|
|
<td> ) </td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Assign other message object to this one </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga2a39910bdf57e4d151607ee1a115b853"></a><!-- doxytag: member="boost::locale::pgettext" ref="ga2a39910bdf57e4d151607ee1a115b853" args="(CharType const *context, CharType const *id, std::locale const &loc=std::locale())" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename CharType > </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::basic_string<CharType> boost::locale::pgettext </td>
|
|
<td>(</td>
|
|
<td class="paramtype">CharType const * </td>
|
|
<td class="paramname"> <em>context</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">CharType const * </td>
|
|
<td class="paramname"> <em>id</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">std::locale const & </td>
|
|
<td class="paramname"> <em>loc</em> = <code>std::locale()</code></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Translate message <em>id</em> according to locale <em>loc</em> in context <em>context</em> </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga2d2ca0fe119e4ce4766fd3d42b549314"></a><!-- doxytag: member="boost::locale::basic_message::str" ref="ga2d2ca0fe119e4ce4766fd3d42b549314" args="(std::string const &domain_id) const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename CharType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">string_type <a class="el" href="classboost_1_1locale_1_1basic__message.html">boost::locale::basic_message</a>< CharType >::str </td>
|
|
<td>(</td>
|
|
<td class="paramtype">std::string const & </td>
|
|
<td class="paramname"> <em>domain_id</em></td>
|
|
<td> ) </td>
|
|
<td> const<code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Translate message to a string using the default locale and message domain <em>domain_id</em> </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga11c5f400e03e0b16b9a60bd3fae3f168"></a><!-- doxytag: member="boost::locale::basic_message::str" ref="ga11c5f400e03e0b16b9a60bd3fae3f168" args="() const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename CharType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">string_type <a class="el" href="classboost_1_1locale_1_1basic__message.html">boost::locale::basic_message</a>< CharType >::str </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td> const<code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Translate message to a string in the default global locale, using default domain </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaa907a1d3f43fe59cea938e1606f004ee"></a><!-- doxytag: member="boost::locale::basic_message::str" ref="gaa907a1d3f43fe59cea938e1606f004ee" args="(std::locale const &locale, std::string const &domain_id) const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename CharType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">string_type <a class="el" href="classboost_1_1locale_1_1basic__message.html">boost::locale::basic_message</a>< CharType >::str </td>
|
|
<td>(</td>
|
|
<td class="paramtype">std::locale const & </td>
|
|
<td class="paramname"> <em>locale</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">std::string const & </td>
|
|
<td class="paramname"> <em>domain_id</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td> const<code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Translate message to a string using locale <em>locale</em> and message domain <em>domain_id</em> </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaa51c0f65363d8d1cee83bb07fe45ced5"></a><!-- doxytag: member="boost::locale::basic_message::str" ref="gaa51c0f65363d8d1cee83bb07fe45ced5" args="(std::locale const &loc, int id) const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename CharType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">string_type <a class="el" href="classboost_1_1locale_1_1basic__message.html">boost::locale::basic_message</a>< CharType >::str </td>
|
|
<td>(</td>
|
|
<td class="paramtype">std::locale const & </td>
|
|
<td class="paramname"> <em>loc</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"> <em>id</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td> const<code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Translate message to a string using locale <em>loc</em> and message domain index <em>id</em> </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga26c6489f8269096f835abfb268498fdd"></a><!-- doxytag: member="boost::locale::basic_message::str" ref="ga26c6489f8269096f835abfb268498fdd" args="(std::locale const &locale) const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename CharType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">string_type <a class="el" href="classboost_1_1locale_1_1basic__message.html">boost::locale::basic_message</a>< CharType >::str </td>
|
|
<td>(</td>
|
|
<td class="paramtype">std::locale const & </td>
|
|
<td class="paramname"> <em>locale</em></td>
|
|
<td> ) </td>
|
|
<td> const<code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Translate message to a string in the locale <em>locale</em>, using default domain </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gac204b563c7c9bd86e5555f129350f0e3"></a><!-- doxytag: member="boost::locale::basic_message::swap" ref="gac204b563c7c9bd86e5555f129350f0e3" args="(basic_message &other)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename CharType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="classboost_1_1locale_1_1basic__message.html">boost::locale::basic_message</a>< CharType >::swap </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classboost_1_1locale_1_1basic__message.html">basic_message</a>< CharType > & </td>
|
|
<td class="paramname"> <em>other</em></td>
|
|
<td> ) </td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Swap two message objects </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga4dd81f4d40c4e8871bb1bf02bbc8e968"></a><!-- doxytag: member="boost::locale::basic_message::write" ref="ga4dd81f4d40c4e8871bb1bf02bbc8e968" args="(std::basic_ostream< char_type > &out) const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename CharType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="classboost_1_1locale_1_1basic__message.html">boost::locale::basic_message</a>< CharType >::write </td>
|
|
<td>(</td>
|
|
<td class="paramtype">std::basic_ostream< <a class="el" href="classboost_1_1locale_1_1basic__message.html#aa5d8dcf9d7aa01abbe73c841299345db">char_type</a> > & </td>
|
|
<td class="paramname"> <em>out</em></td>
|
|
<td> ) </td>
|
|
<td> const<code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Translate message and write to stream <em>out</em>, using imbued locale and domain set to the stream </p>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<hr class="footer"/><address class="footer"><small>
|
|
© Copyright 2009-2011 Artyom Beilis, Distributed under the <a href="http://www.boost.org/LICENSE_1_0.txt">Boost Software License</a>, Version 1.0.
|
|
</small></address>
|
|
</body>
|
|
</html>
|