ff3fe57f08
BOOST_LOCALE_ENABLE_CHAR16_T/BOOST_LOCALE_ENABLE_CHAR32_T
212 lines
32 KiB
HTML
212 lines
32 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"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.6"/>
|
|
<title>Boost.Locale: boost/locale/gnu_gettext.hpp Source File</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="resize.js"></script>
|
|
<script type="text/javascript" src="navtree.js"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(initResizable);
|
|
$(window).load(resizeHeight);
|
|
</script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectlogo"><img alt="Logo" src="boost-small.png"/></td>
|
|
<td style="padding-left: 0.5em;">
|
|
<div id="projectname">Boost.Locale
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.6 -->
|
|
<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><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
|
<li><a href="examples.html"><span>Examples</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="files.html"><span>File List</span></a></li>
|
|
</ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
|
<div id="nav-tree">
|
|
<div id="nav-tree-contents">
|
|
<div id="nav-sync" class="sync"></div>
|
|
</div>
|
|
</div>
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
|
class="ui-resizable-handle">
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
$(document).ready(function(){initNavTree('gnu__gettext_8hpp_source.html','');});
|
|
</script>
|
|
<div id="doc-content">
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">gnu_gettext.hpp</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">//</span></div>
|
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// Copyright (c) 2009-2011 Artyom Beilis (Tonkikh)</span></div>
|
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">//</span></div>
|
|
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// Distributed under the Boost Software License, Version 1.0. (See</span></div>
|
|
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// accompanying file LICENSE_1_0.txt or copy at</span></div>
|
|
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">// http://www.boost.org/LICENSE_1_0.txt)</span></div>
|
|
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">//</span></div>
|
|
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#ifndef BOOST_LOCLAE_GNU_GETTEXT_HPP</span></div>
|
|
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor"></span><span class="preprocessor">#define BOOST_LOCLAE_GNU_GETTEXT_HPP</span></div>
|
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor"></span></div>
|
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#include <boost/locale/message.hpp></span></div>
|
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <boost/function.hpp></span></div>
|
|
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#include <stdexcept></span></div>
|
|
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> </div>
|
|
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="keyword">namespace </span>boost {</div>
|
|
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="keyword">namespace </span>locale {</div>
|
|
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div>
|
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div>
|
|
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale_1_1gnu__gettext.html"> 24</a></span> <span class="keyword">namespace </span>gnu_gettext {</div>
|
|
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div>
|
|
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html"> 34</a></span>  <span class="keyword">struct </span><a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html">messages_info</a> {</div>
|
|
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html">messages_info</a>() :</div>
|
|
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html#a1afc3be03d4848042e3208d4ca5aec85">language</a>(<span class="stringliteral">"C"</span>),</div>
|
|
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html#a39ea1cfd018c7702d94d03e76042ff10">locale_category</a>(<span class="stringliteral">"LC_MESSAGES"</span>)</div>
|
|
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  {</div>
|
|
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  }</div>
|
|
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div>
|
|
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html#a1afc3be03d4848042e3208d4ca5aec85"> 41</a></span>  std::string <a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html#a1afc3be03d4848042e3208d4ca5aec85">language</a>; </div>
|
|
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html#ae939e0c5dbabba7fb4cc2872f4e7dac2"> 42</a></span>  std::string <a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html#ae939e0c5dbabba7fb4cc2872f4e7dac2">country</a>; </div>
|
|
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html#af543a11d3ff1d12e24c06306b30f8fb8"> 43</a></span>  std::string <a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html#af543a11d3ff1d12e24c06306b30f8fb8">variant</a>; </div>
|
|
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html#a4a7406581c6c7975c90db9d2d157d384"> 44</a></span>  std::string <a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html#a4a7406581c6c7975c90db9d2d157d384">encoding</a>; </div>
|
|
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  std::string <a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html#a39ea1cfd018c7702d94d03e76042ff10">locale_category</a>; </div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keyword">struct </span><a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html">domain</a> {</div>
|
|
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> </div>
|
|
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html#ae2d68e6e122c01aa07e60142d8af54fc"> 57</a></span>  std::string <a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html#ae2d68e6e122c01aa07e60142d8af54fc">name</a>; </div>
|
|
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html#a7004c3d4bb7ff1ebdba50535723d84a5"> 58</a></span>  std::string <a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html#a7004c3d4bb7ff1ebdba50535723d84a5">encoding</a>; </div>
|
|
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html">domain</a>() {}</div>
|
|
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html#a08bbb38698a079239430066b688d28ab"> 66</a></span>  <a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html#a08bbb38698a079239430066b688d28ab">domain</a>(std::string <span class="keyword">const</span> &n) </div>
|
|
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  {</div>
|
|
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keywordtype">size_t</span> pos = n.find(<span class="stringliteral">"/"</span>);</div>
|
|
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keywordflow">if</span>(pos==std::string::npos) {</div>
|
|
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html#ae2d68e6e122c01aa07e60142d8af54fc">name</a> = n;</div>
|
|
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html#a7004c3d4bb7ff1ebdba50535723d84a5">encoding</a> = <span class="stringliteral">"UTF-8"</span>;</div>
|
|
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  }</div>
|
|
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keywordflow">else</span> {</div>
|
|
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html#ae2d68e6e122c01aa07e60142d8af54fc">name</a> = n.substr(0,pos);</div>
|
|
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html#a7004c3d4bb7ff1ebdba50535723d84a5">encoding</a> = n.substr(pos+1);</div>
|
|
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  }</div>
|
|
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> </div>
|
|
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  }</div>
|
|
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> </div>
|
|
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html#a4a361b37db81571d440f0ec4d1e9038f"> 83</a></span>  <span class="keywordtype">bool</span> <a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html#a4a361b37db81571d440f0ec4d1e9038f">operator==</a>(<a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html">domain</a> <span class="keyword">const</span> &other)<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordflow">return</span> <a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html#ae2d68e6e122c01aa07e60142d8af54fc">name</a>==other.<a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html#ae2d68e6e122c01aa07e60142d8af54fc">name</a>;</div>
|
|
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  }</div>
|
|
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html#a26442fe81a0ce8c51775b1267455ecbe"> 90</a></span>  <span class="keywordtype">bool</span> <a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html#a26442fe81a0ce8c51775b1267455ecbe">operator!=</a>(<a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html">domain</a> <span class="keyword">const</span> &other)<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordflow">return</span> !(*<span class="keyword">this</span>==other);</div>
|
|
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  }</div>
|
|
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> </div>
|
|
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  };</div>
|
|
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  </div>
|
|
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html#ac3bfe22cf949ed3f87ee28fa0c983502"> 97</a></span>  <span class="keyword">typedef</span> std::vector<domain> <a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html#ac3bfe22cf949ed3f87ee28fa0c983502">domains_type</a>; </div>
|
|
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html#ac3bfe22cf949ed3f87ee28fa0c983502">domains_type</a> <a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html#a1ca79b90b4b8dbc924e5eb1b42188311">domains</a>; </div>
|
|
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  std::vector<std::string> <a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html#a263d9d2c359ae7730e6d5bba54bb3022">paths</a>; </div>
|
|
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  </div>
|
|
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keyword">typedef</span> <span class="keyword">function</span><</div>
|
|
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  std::vector<char>(</div>
|
|
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  std::string <span class="keyword">const</span> &file_name,</div>
|
|
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  std::string <span class="keyword">const</span> &<a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html#a4a7406581c6c7975c90db9d2d157d384">encoding</a></div>
|
|
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  ) </div>
|
|
<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html#a4dfe37c5a392e5106e65b396a5288b76"> 119</a></span>  > <a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html#a4dfe37c5a392e5106e65b396a5288b76">callback_type</a>;</div>
|
|
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> </div>
|
|
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html#a63bd8b01ca532a2657186bab3fa396a2"> 125</a></span>  <a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html#a4dfe37c5a392e5106e65b396a5288b76">callback_type</a> <a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html#a63bd8b01ca532a2657186bab3fa396a2">callback</a>;</div>
|
|
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> </div>
|
|
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  };</div>
|
|
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> </div>
|
|
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> </div>
|
|
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="keyword">template</span><<span class="keyword">typename</span> CharType></div>
|
|
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <a class="code" href="classboost_1_1locale_1_1message__format.html">message_format<CharType></a> *<a class="code" href="namespaceboost_1_1locale_1_1gnu__gettext.html#a6793c9f58e61e745205f3a2678b41a11">create_messages_facet</a>(<a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html">messages_info</a> <span class="keyword">const</span> &<a class="code" href="classboost_1_1locale_1_1info.html">info</a>);</div>
|
|
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> </div>
|
|
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  </div>
|
|
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="keyword">template</span><></div>
|
|
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  BOOST_LOCALE_DECL <a class="code" href="classboost_1_1locale_1_1message__format.html">message_format<char></a> *<a class="code" href="namespaceboost_1_1locale_1_1gnu__gettext.html#a6793c9f58e61e745205f3a2678b41a11">create_messages_facet</a>(<a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html">messages_info</a> <span class="keyword">const</span> &<a class="code" href="classboost_1_1locale_1_1info.html">info</a>);</div>
|
|
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  </div>
|
|
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keyword">template</span><></div>
|
|
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  BOOST_LOCALE_DECL <a class="code" href="classboost_1_1locale_1_1message__format.html">message_format<wchar_t></a> *<a class="code" href="namespaceboost_1_1locale_1_1gnu__gettext.html#a6793c9f58e61e745205f3a2678b41a11">create_messages_facet</a>(<a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html">messages_info</a> <span class="keyword">const</span> &<a class="code" href="classboost_1_1locale_1_1info.html">info</a>);</div>
|
|
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span> </div>
|
|
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span> <span class="preprocessor"> #ifdef BOOST_LOCALE_ENABLE_CHAR16_T</span></div>
|
|
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> <span class="preprocessor"></span> <span class="keyword">template</span><></div>
|
|
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  BOOST_LOCALE_DECL <a class="code" href="classboost_1_1locale_1_1message__format.html">message_format<char16_t></a> *<a class="code" href="namespaceboost_1_1locale_1_1gnu__gettext.html#a6793c9f58e61e745205f3a2678b41a11">create_messages_facet</a>(<a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html">messages_info</a> <span class="keyword">const</span> &<a class="code" href="classboost_1_1locale_1_1info.html">info</a>);</div>
|
|
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> <span class="preprocessor"> #endif</span></div>
|
|
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> <span class="preprocessor"></span> </div>
|
|
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> <span class="preprocessor"> #ifdef BOOST_LOCALE_ENABLE_CHAR32_T</span></div>
|
|
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> <span class="preprocessor"></span> <span class="keyword">template</span><></div>
|
|
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  BOOST_LOCALE_DECL <a class="code" href="classboost_1_1locale_1_1message__format.html">message_format<char32_t></a> *<a class="code" href="namespaceboost_1_1locale_1_1gnu__gettext.html#a6793c9f58e61e745205f3a2678b41a11">create_messages_facet</a>(<a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html">messages_info</a> <span class="keyword">const</span> &<a class="code" href="classboost_1_1locale_1_1info.html">info</a>);</div>
|
|
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span> <span class="preprocessor"> #endif</span></div>
|
|
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> <span class="preprocessor"></span></div>
|
|
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> </div>
|
|
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span> } <span class="comment">// gnu_gettext</span></div>
|
|
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span> </div>
|
|
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> </div>
|
|
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> } <span class="comment">// locale</span></div>
|
|
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span> } <span class="comment">// boost</span></div>
|
|
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> </div>
|
|
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span> <span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span> <span class="preprocessor"></span></div>
|
|
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span> <span class="comment">// vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4</span></div>
|
|
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span> </div>
|
|
<div class="ttc" id="classboost_1_1locale_1_1info_html"><div class="ttname"><a href="classboost_1_1locale_1_1info.html">boost::locale::info</a></div><div class="ttdoc">a facet that holds general information about locale </div><div class="ttdef"><b>Definition:</b> info.hpp:27</div></div>
|
|
<div class="ttc" id="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_html_a1ca79b90b4b8dbc924e5eb1b42188311"><div class="ttname"><a href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html#a1ca79b90b4b8dbc924e5eb1b42188311">boost::locale::gnu_gettext::messages_info::domains</a></div><div class="ttdeci">domains_type domains</div><div class="ttdef"><b>Definition:</b> gnu_gettext.hpp:99</div></div>
|
|
<div class="ttc" id="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain_html_a26442fe81a0ce8c51775b1267455ecbe"><div class="ttname"><a href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html#a26442fe81a0ce8c51775b1267455ecbe">boost::locale::gnu_gettext::messages_info::domain::operator!=</a></div><div class="ttdeci">bool operator!=(domain const &other) const </div><div class="ttdef"><b>Definition:</b> gnu_gettext.hpp:90</div></div>
|
|
<div class="ttc" id="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_html_a4a7406581c6c7975c90db9d2d157d384"><div class="ttname"><a href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html#a4a7406581c6c7975c90db9d2d157d384">boost::locale::gnu_gettext::messages_info::encoding</a></div><div class="ttdeci">std::string encoding</div><div class="ttdef"><b>Definition:</b> gnu_gettext.hpp:44</div></div>
|
|
<div class="ttc" id="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_html_a39ea1cfd018c7702d94d03e76042ff10"><div class="ttname"><a href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html#a39ea1cfd018c7702d94d03e76042ff10">boost::locale::gnu_gettext::messages_info::locale_category</a></div><div class="ttdeci">std::string locale_category</div><div class="ttdef"><b>Definition:</b> gnu_gettext.hpp:46</div></div>
|
|
<div class="ttc" id="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_html"><div class="ttname"><a href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html">boost::locale::gnu_gettext::messages_info</a></div><div class="ttdoc">This structure holds all information required for creating gnu-gettext message catalogs,. </div><div class="ttdef"><b>Definition:</b> gnu_gettext.hpp:34</div></div>
|
|
<div class="ttc" id="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain_html_a08bbb38698a079239430066b688d28ab"><div class="ttname"><a href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html#a08bbb38698a079239430066b688d28ab">boost::locale::gnu_gettext::messages_info::domain::domain</a></div><div class="ttdeci">domain(std::string const &n)</div><div class="ttdef"><b>Definition:</b> gnu_gettext.hpp:66</div></div>
|
|
<div class="ttc" id="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain_html_a4a361b37db81571d440f0ec4d1e9038f"><div class="ttname"><a href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html#a4a361b37db81571d440f0ec4d1e9038f">boost::locale::gnu_gettext::messages_info::domain::operator==</a></div><div class="ttdeci">bool operator==(domain const &other) const </div><div class="ttdef"><b>Definition:</b> gnu_gettext.hpp:83</div></div>
|
|
<div class="ttc" id="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_html_a263d9d2c359ae7730e6d5bba54bb3022"><div class="ttname"><a href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html#a263d9d2c359ae7730e6d5bba54bb3022">boost::locale::gnu_gettext::messages_info::paths</a></div><div class="ttdeci">std::vector< std::string > paths</div><div class="ttdef"><b>Definition:</b> gnu_gettext.hpp:101</div></div>
|
|
<div class="ttc" id="classboost_1_1locale_1_1message__format_html"><div class="ttname"><a href="classboost_1_1locale_1_1message__format.html">boost::locale::message_format</a></div><div class="ttdoc">This facet provides message formatting abilities. </div><div class="ttdef"><b>Definition:</b> message.hpp:47</div></div>
|
|
<div class="ttc" id="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain_html"><div class="ttname"><a href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html">boost::locale::gnu_gettext::messages_info::domain</a></div><div class="ttdoc">This type represents GNU Gettext domain name for the messages. </div><div class="ttdef"><b>Definition:</b> gnu_gettext.hpp:55</div></div>
|
|
<div class="ttc" id="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_html_a1afc3be03d4848042e3208d4ca5aec85"><div class="ttname"><a href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html#a1afc3be03d4848042e3208d4ca5aec85">boost::locale::gnu_gettext::messages_info::language</a></div><div class="ttdeci">std::string language</div><div class="ttdoc">The language we load the catalog for, like "ru", "en", "de". </div><div class="ttdef"><b>Definition:</b> gnu_gettext.hpp:41</div></div>
|
|
<div class="ttc" id="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_html_ac3bfe22cf949ed3f87ee28fa0c983502"><div class="ttname"><a href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html#ac3bfe22cf949ed3f87ee28fa0c983502">boost::locale::gnu_gettext::messages_info::domains_type</a></div><div class="ttdeci">std::vector< domain > domains_type</div><div class="ttdef"><b>Definition:</b> gnu_gettext.hpp:97</div></div>
|
|
<div class="ttc" id="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain_html_ae2d68e6e122c01aa07e60142d8af54fc"><div class="ttname"><a href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html#ae2d68e6e122c01aa07e60142d8af54fc">boost::locale::gnu_gettext::messages_info::domain::name</a></div><div class="ttdeci">std::string name</div><div class="ttdoc">The name of the domain. </div><div class="ttdef"><b>Definition:</b> gnu_gettext.hpp:57</div></div>
|
|
<div class="ttc" id="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_html_a4dfe37c5a392e5106e65b396a5288b76"><div class="ttname"><a href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html#a4dfe37c5a392e5106e65b396a5288b76">boost::locale::gnu_gettext::messages_info::callback_type</a></div><div class="ttdeci">function< std::vector< char > std::string const &file_name, std::string const &encoding) > callback_type</div><div class="ttdef"><b>Definition:</b> gnu_gettext.hpp:119</div></div>
|
|
<div class="ttc" id="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_html_a63bd8b01ca532a2657186bab3fa396a2"><div class="ttname"><a href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html#a63bd8b01ca532a2657186bab3fa396a2">boost::locale::gnu_gettext::messages_info::callback</a></div><div class="ttdeci">callback_type callback</div><div class="ttdef"><b>Definition:</b> gnu_gettext.hpp:125</div></div>
|
|
<div class="ttc" id="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_html_ae939e0c5dbabba7fb4cc2872f4e7dac2"><div class="ttname"><a href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html#ae939e0c5dbabba7fb4cc2872f4e7dac2">boost::locale::gnu_gettext::messages_info::country</a></div><div class="ttdeci">std::string country</div><div class="ttdoc">The country we load the catalog for, like "US", "IL". </div><div class="ttdef"><b>Definition:</b> gnu_gettext.hpp:42</div></div>
|
|
<div class="ttc" id="namespaceboost_1_1locale_1_1gnu__gettext_html_a6793c9f58e61e745205f3a2678b41a11"><div class="ttname"><a href="namespaceboost_1_1locale_1_1gnu__gettext.html#a6793c9f58e61e745205f3a2678b41a11">boost::locale::gnu_gettext::create_messages_facet</a></div><div class="ttdeci">message_format< CharType > * create_messages_facet(messages_info const &info)</div></div>
|
|
<div class="ttc" id="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_html_af543a11d3ff1d12e24c06306b30f8fb8"><div class="ttname"><a href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html#af543a11d3ff1d12e24c06306b30f8fb8">boost::locale::gnu_gettext::messages_info::variant</a></div><div class="ttdeci">std::string variant</div><div class="ttdoc">Language variant, like "euro" so it would look for catalog like de_DE@euro. </div><div class="ttdef"><b>Definition:</b> gnu_gettext.hpp:43</div></div>
|
|
<div class="ttc" id="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain_html_a7004c3d4bb7ff1ebdba50535723d84a5"><div class="ttname"><a href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html#a7004c3d4bb7ff1ebdba50535723d84a5">boost::locale::gnu_gettext::messages_info::domain::encoding</a></div><div class="ttdeci">std::string encoding</div><div class="ttdoc">The character encoding for the domain. </div><div class="ttdef"><b>Definition:</b> gnu_gettext.hpp:58</div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
</div><!-- doc-content -->
|
|
|
|
<li class="footer">
|
|
© Copyright 2009-2012 Artyom Beilis, Distributed under the <a href="http://www.boost.org/LICENSE_1_0.txt">Boost Software License</a>, Version 1.0.
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|