locale/doc/html/gnu__gettext_8hpp_source.html
Artyom Beilis ff3fe57f08 Removed deprecated BOOST_HAS_CHAR16/32_T macro and replaced with
BOOST_LOCALE_ENABLE_CHAR16_T/BOOST_LOCALE_ENABLE_CHAR32_T
2015-10-18 18:36:39 +03:00

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&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;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&#160;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>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// Copyright (c) 2009-2011 Artyom Beilis (Tonkikh)</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<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>&#160;<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>&#160;<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>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="preprocessor">#ifndef BOOST_LOCLAE_GNU_GETTEXT_HPP</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<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>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="preprocessor">#include &lt;boost/locale/message.hpp&gt;</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &lt;boost/function.hpp&gt;</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="preprocessor">#include &lt;stdexcept&gt;</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;</div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="keyword">namespace </span>boost {</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="keyword">namespace </span>locale {</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;</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>&#160;<span class="keyword">namespace </span>gnu_gettext {</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</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>&#160; <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>&#160; <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>&#160; <a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html#a1afc3be03d4848042e3208d4ca5aec85">language</a>(<span class="stringliteral">&quot;C&quot;</span>),</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info.html#a39ea1cfd018c7702d94d03e76042ff10">locale_category</a>(<span class="stringliteral">&quot;LC_MESSAGES&quot;</span>)</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; {</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; }</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;</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>&#160; 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>&#160; 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>&#160; 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>&#160; 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>&#160; 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>&#160; <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>&#160;</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>&#160; 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>&#160; 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>&#160; <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>&#160; <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> &amp;n) </div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; {</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <span class="keywordtype">size_t</span> pos = n.find(<span class="stringliteral">&quot;/&quot;</span>);</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; <span class="keywordflow">if</span>(pos==std::string::npos) {</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <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>&#160; <a class="code" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html#a7004c3d4bb7ff1ebdba50535723d84a5">encoding</a> = <span class="stringliteral">&quot;UTF-8&quot;</span>;</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; }</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <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>&#160; <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>&#160; }</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; }</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;</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>&#160; <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> &amp;other)<span class="keyword"> const</span></div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <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>&#160; }</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>&#160; <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> &amp;other)<span class="keyword"> const</span></div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; <span class="keywordflow">return</span> !(*<span class="keyword">this</span>==other);</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; }</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; };</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; </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>&#160; <span class="keyword">typedef</span> std::vector&lt;domain&gt; <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>&#160; <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>&#160; std::vector&lt;std::string&gt; <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>&#160; </div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; <span class="keyword">typedef</span> <span class="keyword">function</span>&lt;</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; std::vector&lt;char&gt;(</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; std::string <span class="keyword">const</span> &amp;file_name,</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; std::string <span class="keyword">const</span> &amp;<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>&#160; ) </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>&#160; &gt; <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>&#160;</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>&#160; <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>&#160;</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; };</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160;</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> CharType&gt;</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; <a class="code" href="classboost_1_1locale_1_1message__format.html">message_format&lt;CharType&gt;</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> &amp;<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>&#160;</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; </div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; <span class="keyword">template</span>&lt;&gt;</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; BOOST_LOCALE_DECL <a class="code" href="classboost_1_1locale_1_1message__format.html">message_format&lt;char&gt;</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> &amp;<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>&#160; </div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; <span class="keyword">template</span>&lt;&gt;</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; BOOST_LOCALE_DECL <a class="code" href="classboost_1_1locale_1_1message__format.html">message_format&lt;wchar_t&gt;</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> &amp;<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>&#160;</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160;<span class="preprocessor"> #ifdef BOOST_LOCALE_ENABLE_CHAR16_T</span></div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160;<span class="preprocessor"></span> <span class="keyword">template</span>&lt;&gt;</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; BOOST_LOCALE_DECL <a class="code" href="classboost_1_1locale_1_1message__format.html">message_format&lt;char16_t&gt;</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> &amp;<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>&#160;<span class="preprocessor"> #endif</span></div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160;<span class="preprocessor"></span> </div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160;<span class="preprocessor"> #ifdef BOOST_LOCALE_ENABLE_CHAR32_T</span></div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160;<span class="preprocessor"></span> <span class="keyword">template</span>&lt;&gt;</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; BOOST_LOCALE_DECL <a class="code" href="classboost_1_1locale_1_1message__format.html">message_format&lt;char32_t&gt;</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> &amp;<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>&#160;<span class="preprocessor"> #endif</span></div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160;</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160;} <span class="comment">// gnu_gettext</span></div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160;</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160;</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160;} <span class="comment">// locale</span></div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160;} <span class="comment">// boost</span></div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160;</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160;<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>&#160;</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 &amp;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 &amp;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 &amp;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&lt; std::string &gt; 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 &quot;ru&quot;, &quot;en&quot;, &quot;de&quot;. </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&lt; domain &gt; 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&lt; std::vector&lt; char &gt; std::string const &amp;file_name, std::string const &amp;encoding) &gt; 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 &quot;US&quot;, &quot;IL&quot;. </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&lt; CharType &gt; * create_messages_facet(messages_info const &amp;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 &quot;euro&quot; 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">
&copy; 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>