242 lines
40 KiB
HTML
242 lines
40 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/generator.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('generator_8hpp_source.html','');});
|
||
</script>
|
||
<div id="doc-content">
|
||
<div class="header">
|
||
<div class="headertitle">
|
||
<div class="title">generator.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_LOCALE_GENERATOR_HPP</span></div>
|
||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor"></span><span class="preprocessor">#define BOOST_LOCALE_GENERATOR_HPP</span></div>
|
||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor"></span><span class="preprocessor">#include <boost/locale/config.hpp></span></div>
|
||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#include <boost/cstdint.hpp></span></div>
|
||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#ifdef BOOST_MSVC</span></div>
|
||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor"></span><span class="preprocessor"># pragma warning(push)</span></div>
|
||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor"></span><span class="preprocessor"># pragma warning(disable : 4275 4251 4231 4660)</span></div>
|
||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
|
||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor"></span><span class="preprocessor">#include <string></span></div>
|
||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include <locale></span></div>
|
||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include <memory></span></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> <span class="keyword">namespace </span>boost {</div>
|
||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div>
|
||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Type></div>
|
||
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="classboost_1_1shared__ptr.html"> 23</a></span>  <span class="keyword">class </span><a class="code" href="classboost_1_1shared__ptr.html">shared_ptr</a>;</div>
|
||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div>
|
||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="keyword">namespace </span>locale {</div>
|
||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div>
|
||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <span class="keyword">class </span>localization_backend;</div>
|
||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keyword">class </span>localization_backend_manager;</div>
|
||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div>
|
||
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#a330a4c5134eb5110b33a0b4f986f34be"> 33</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint32_t <a class="code" href="namespaceboost_1_1locale.html#a330a4c5134eb5110b33a0b4f986f34be">nochar_facet</a> = 0; </div>
|
||
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#ac57b3067a033cb4416098b8c34867aa1"> 34</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint32_t <a class="code" href="namespaceboost_1_1locale.html#ac57b3067a033cb4416098b8c34867aa1">char_facet</a> = 1 << 0; </div>
|
||
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#af26277ad3002b9d09790ca42590352fe"> 35</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint32_t <a class="code" href="namespaceboost_1_1locale.html#af26277ad3002b9d09790ca42590352fe">wchar_t_facet</a> = 1 << 1; </div>
|
||
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#a4f02f43f0bef71bdd9262141508fe8f0"> 36</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint32_t <a class="code" href="namespaceboost_1_1locale.html#a4f02f43f0bef71bdd9262141508fe8f0">char16_t_facet</a> = 1 << 2; </div>
|
||
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#a77cbac0792b48c20173dd92544c625e5"> 37</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint32_t <a class="code" href="namespaceboost_1_1locale.html#a77cbac0792b48c20173dd92544c625e5">char32_t_facet</a> = 1 << 3; </div>
|
||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div>
|
||
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#ac57221e55dcc193f60a8af0064d58f1e"> 39</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint32_t <a class="code" href="namespaceboost_1_1locale.html#ac57221e55dcc193f60a8af0064d58f1e">character_first_facet</a> = <a class="code" href="namespaceboost_1_1locale.html#ac57b3067a033cb4416098b8c34867aa1">char_facet</a>; </div>
|
||
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#a6719d31f7dc35bd97116dd353e5464c6"> 40</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint32_t <a class="code" href="namespaceboost_1_1locale.html#a6719d31f7dc35bd97116dd353e5464c6">character_last_facet</a> = <a class="code" href="namespaceboost_1_1locale.html#a77cbac0792b48c20173dd92544c625e5">char32_t_facet</a>; </div>
|
||
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#acbf4f064b76445979094471c7092bd4c"> 41</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint32_t <a class="code" href="namespaceboost_1_1locale.html#acbf4f064b76445979094471c7092bd4c">all_characters</a> = 0xFFFF; </div>
|
||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  </div>
|
||
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#a8c993aaf15e683e97d062560ccf914d8"> 43</a></span>  <span class="keyword">typedef</span> uint32_t <a class="code" href="namespaceboost_1_1locale.html#a8c993aaf15e683e97d062560ccf914d8">character_facet_type</a>; </div>
|
||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> </div>
|
||
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#a980b72231e52c32b8bef91ce60e6936a"> 45</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint32_t <a class="code" href="namespaceboost_1_1locale.html#a980b72231e52c32b8bef91ce60e6936a">convert_facet</a> = 1 << 0; </div>
|
||
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#a2dd40649cf5bb125d9ef5f42ad792446"> 46</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint32_t <a class="code" href="namespaceboost_1_1locale.html#a2dd40649cf5bb125d9ef5f42ad792446">collation_facet</a> = 1 << 1; </div>
|
||
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#a4ee453a8b95be64b802edae99ad5d9ed"> 47</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint32_t <a class="code" href="namespaceboost_1_1locale.html#a4ee453a8b95be64b802edae99ad5d9ed">formatting_facet</a>= 1 << 2; </div>
|
||
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#adeadf3347a4fa74afd7fd1f6674be1b0"> 48</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint32_t <a class="code" href="namespaceboost_1_1locale.html#adeadf3347a4fa74afd7fd1f6674be1b0">parsing_facet</a> = 1 << 3; </div>
|
||
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#aa5b134d0be315fefbfde1216ea3904d9"> 49</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint32_t <a class="code" href="namespaceboost_1_1locale.html#aa5b134d0be315fefbfde1216ea3904d9">message_facet</a> = 1 << 4; </div>
|
||
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#aaffe2f2ba9df34eb86caa0c815d00d6b"> 50</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint32_t <a class="code" href="namespaceboost_1_1locale.html#aaffe2f2ba9df34eb86caa0c815d00d6b">codepage_facet</a> = 1 << 5; </div>
|
||
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#ac2fa68f626cf136556cbf56c82d3fdd6"> 51</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint32_t <a class="code" href="namespaceboost_1_1locale.html#ac2fa68f626cf136556cbf56c82d3fdd6">boundary_facet</a> = 1 << 6; </div>
|
||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  </div>
|
||
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#a91e9fa9c9d99150ff7801a0423cb2374"> 53</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint32_t <a class="code" href="namespaceboost_1_1locale.html#a91e9fa9c9d99150ff7801a0423cb2374">per_character_facet_first</a> = <a class="code" href="namespaceboost_1_1locale.html#a980b72231e52c32b8bef91ce60e6936a">convert_facet</a>; </div>
|
||
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#afbb1680a86838f1b145590dce820c558"> 54</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint32_t <a class="code" href="namespaceboost_1_1locale.html#afbb1680a86838f1b145590dce820c558">per_character_facet_last</a> = <a class="code" href="namespaceboost_1_1locale.html#ac2fa68f626cf136556cbf56c82d3fdd6">boundary_facet</a>; </div>
|
||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div>
|
||
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#ae068c6887999c1f839d6d13eaf2a0b7c"> 56</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint32_t <a class="code" href="classboost_1_1locale_1_1calendar__facet.html">calendar_facet</a> = 1 << 16; </div>
|
||
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#aa0d08754ca3856546c63f1f79a153a7b"> 57</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint32_t <a class="code" href="namespaceboost_1_1locale.html#aa0d08754ca3856546c63f1f79a153a7b">information_facet</a> = 1 << 17; </div>
|
||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div>
|
||
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#acdc78d8aaea40ff98a227c6d31a7be19"> 59</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint32_t <a class="code" href="namespaceboost_1_1locale.html#acdc78d8aaea40ff98a227c6d31a7be19">non_character_facet_first</a> = <a class="code" href="namespaceboost_1_1locale.html#ae068c6887999c1f839d6d13eaf2a0b7c">calendar_facet</a>; </div>
|
||
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#a66521f8acb9412f2fc3ab38b7a409e20"> 60</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint32_t <a class="code" href="namespaceboost_1_1locale.html#a66521f8acb9412f2fc3ab38b7a409e20">non_character_facet_last</a> = <a class="code" href="namespaceboost_1_1locale.html#aa0d08754ca3856546c63f1f79a153a7b">information_facet</a>;</div>
|
||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div>
|
||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  </div>
|
||
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#ab51b0b65a19b1db3adc14e9866097e2a"> 63</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint32_t <a class="code" href="namespaceboost_1_1locale.html#ab51b0b65a19b1db3adc14e9866097e2a">all_categories</a> = 0xFFFFFFFFu; </div>
|
||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  </div>
|
||
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#a32e8cb87d2f68a5577dbb7ce55c0d2b1"> 65</a></span>  <span class="keyword">typedef</span> uint32_t <a class="code" href="namespaceboost_1_1locale.html#a32e8cb87d2f68a5577dbb7ce55c0d2b1">locale_category_type</a>; </div>
|
||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> </div>
|
||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> </div>
|
||
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1generator.html"> 74</a></span>  <span class="keyword">class </span>BOOST_LOCALE_DECL <a class="code" href="classboost_1_1locale_1_1generator.html">generator</a> {</div>
|
||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keyword">public</span>:</div>
|
||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div>
|
||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <a class="code" href="classboost_1_1locale_1_1generator.html">generator</a>();</div>
|
||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <a class="code" href="classboost_1_1locale_1_1generator.html">generator</a>(<a class="code" href="classboost_1_1locale_1_1localization__backend__manager.html">localization_backend_manager</a> <span class="keyword">const</span> &);</div>
|
||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> </div>
|
||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  ~<a class="code" href="classboost_1_1locale_1_1generator.html">generator</a>();</div>
|
||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> </div>
|
||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordtype">void</span> categories(<a class="code" href="namespaceboost_1_1locale.html#a32e8cb87d2f68a5577dbb7ce55c0d2b1">locale_category_type</a> cats);</div>
|
||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <a class="code" href="namespaceboost_1_1locale.html#a32e8cb87d2f68a5577dbb7ce55c0d2b1">locale_category_type</a> categories() <span class="keyword">const</span>;</div>
|
||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  </div>
|
||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keywordtype">void</span> characters(<a class="code" href="namespaceboost_1_1locale.html#a8c993aaf15e683e97d062560ccf914d8">character_facet_type</a> chars);</div>
|
||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <a class="code" href="namespaceboost_1_1locale.html#a8c993aaf15e683e97d062560ccf914d8">character_facet_type</a> characters() <span class="keyword">const</span>;</div>
|
||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> </div>
|
||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keywordtype">void</span> add_messages_domain(std::string <span class="keyword">const</span> &<a class="code" href="group__manipulators.html#gab522188e3d82f1d2898b290b9132925e">domain</a>);</div>
|
||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="keywordtype">void</span> set_default_messages_domain(std::string <span class="keyword">const</span> &domain);</div>
|
||
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span> </div>
|
||
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="keywordtype">void</span> clear_domains();</div>
|
||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span> </div>
|
||
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <span class="keywordtype">void</span> add_messages_path(std::string <span class="keyword">const</span> &path);</div>
|
||
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span> </div>
|
||
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="keywordtype">void</span> clear_paths();</div>
|
||
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span> </div>
|
||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="keywordtype">void</span> clear_cache();</div>
|
||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> </div>
|
||
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keywordtype">void</span> locale_cache_enabled(<span class="keywordtype">bool</span> on);</div>
|
||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span> </div>
|
||
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keywordtype">bool</span> locale_cache_enabled() <span class="keyword">const</span>;</div>
|
||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span> </div>
|
||
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="keywordtype">bool</span> use_ansi_encoding() <span class="keyword">const</span>;</div>
|
||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> </div>
|
||
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <span class="keywordtype">void</span> use_ansi_encoding(<span class="keywordtype">bool</span> enc);</div>
|
||
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span> </div>
|
||
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  std::locale generate(std::string <span class="keyword">const</span> &<span class="keywordtype">id</span>) <span class="keyword">const</span>;</div>
|
||
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  std::locale generate(std::locale <span class="keyword">const</span> &base,std::string <span class="keyword">const</span> &<span class="keywordtype">id</span>) <span class="keyword">const</span>;</div>
|
||
<div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1generator.html#acd80b3f2371c77f4f7e7dfe69ec670ab"> 200</a></span>  std::locale <a class="code" href="classboost_1_1locale_1_1generator.html#acd80b3f2371c77f4f7e7dfe69ec670ab">operator()</a>(std::string <span class="keyword">const</span> &<span class="keywordtype">id</span>)<span class="keyword"> const</span></div>
|
||
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span> <span class="keyword"> </span>{</div>
|
||
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <span class="keywordflow">return</span> generate(<span class="keywordtype">id</span>);</div>
|
||
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  }</div>
|
||
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  </div>
|
||
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <span class="keywordtype">void</span> set_option(std::string <span class="keyword">const</span> &name,std::string <span class="keyword">const</span> &value);</div>
|
||
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span> </div>
|
||
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <span class="keywordtype">void</span> clear_options();</div>
|
||
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span> </div>
|
||
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <span class="keyword">private</span>:</div>
|
||
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span> </div>
|
||
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  <span class="keywordtype">void</span> set_all_options(<a class="code" href="classboost_1_1shared__ptr.html">shared_ptr<localization_backend></a> backend,std::string <span class="keyword">const</span> &<span class="keywordtype">id</span>) <span class="keyword">const</span>;</div>
|
||
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span> </div>
|
||
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  <a class="code" href="classboost_1_1locale_1_1generator.html">generator</a>(<a class="code" href="classboost_1_1locale_1_1generator.html">generator</a> <span class="keyword">const</span> &);</div>
|
||
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  <span class="keywordtype">void</span> operator=(<a class="code" href="classboost_1_1locale_1_1generator.html">generator</a> <span class="keyword">const</span> &);</div>
|
||
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span> </div>
|
||
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <span class="keyword">struct </span>data;</div>
|
||
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  std::auto_ptr<data> d;</div>
|
||
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  };</div>
|
||
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span> </div>
|
||
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  }</div>
|
||
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span> }</div>
|
||
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span> <span class="preprocessor">#ifdef BOOST_MSVC</span></div>
|
||
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span> <span class="preprocessor"></span><span class="preprocessor">#pragma warning(pop)</span></div>
|
||
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
|
||
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span> <span class="preprocessor"></span></div>
|
||
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span> </div>
|
||
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span> <span class="preprocessor">#endif</span></div>
|
||
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span> <span class="preprocessor"></span><span class="comment">// vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 </span></div>
|
||
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span> </div>
|
||
<div class="ttc" id="namespaceboost_1_1locale_html_ac2fa68f626cf136556cbf56c82d3fdd6"><div class="ttname"><a href="namespaceboost_1_1locale.html#ac2fa68f626cf136556cbf56c82d3fdd6">boost::locale::boundary_facet</a></div><div class="ttdeci">static const uint32_t boundary_facet</div><div class="ttdoc">Generate boundary analysis facet. </div><div class="ttdef"><b>Definition:</b> generator.hpp:51</div></div>
|
||
<div class="ttc" id="namespaceboost_1_1locale_html_acdc78d8aaea40ff98a227c6d31a7be19"><div class="ttname"><a href="namespaceboost_1_1locale.html#acdc78d8aaea40ff98a227c6d31a7be19">boost::locale::non_character_facet_first</a></div><div class="ttdeci">static const uint32_t non_character_facet_first</div><div class="ttdoc">First character independent facet. </div><div class="ttdef"><b>Definition:</b> generator.hpp:59</div></div>
|
||
<div class="ttc" id="classboost_1_1locale_1_1calendar__facet_html"><div class="ttname"><a href="classboost_1_1locale_1_1calendar__facet.html">boost::locale::calendar_facet</a></div><div class="ttdoc">the facet that generates calendar for specific locale </div><div class="ttdef"><b>Definition:</b> date_time_facet.hpp:234</div></div>
|
||
<div class="ttc" id="classboost_1_1locale_1_1localization__backend__manager_html"><div class="ttname"><a href="classboost_1_1locale_1_1localization__backend__manager.html">boost::locale::localization_backend_manager</a></div><div class="ttdoc">Localization backend manager is a class that holds various backend and allows creation of their combi...</div><div class="ttdef"><b>Definition:</b> localization_backend.hpp:84</div></div>
|
||
<div class="ttc" id="namespaceboost_1_1locale_html_adeadf3347a4fa74afd7fd1f6674be1b0"><div class="ttname"><a href="namespaceboost_1_1locale.html#adeadf3347a4fa74afd7fd1f6674be1b0">boost::locale::parsing_facet</a></div><div class="ttdeci">static const uint32_t parsing_facet</div><div class="ttdoc">Generate numbers, currency, date-time formatting facets. </div><div class="ttdef"><b>Definition:</b> generator.hpp:48</div></div>
|
||
<div class="ttc" id="namespaceboost_1_1locale_html_a330a4c5134eb5110b33a0b4f986f34be"><div class="ttname"><a href="namespaceboost_1_1locale.html#a330a4c5134eb5110b33a0b4f986f34be">boost::locale::nochar_facet</a></div><div class="ttdeci">static const uint32_t nochar_facet</div><div class="ttdoc">Unspecified character category for character independent facets. </div><div class="ttdef"><b>Definition:</b> generator.hpp:33</div></div>
|
||
<div class="ttc" id="namespaceboost_1_1locale_html_a8c993aaf15e683e97d062560ccf914d8"><div class="ttname"><a href="namespaceboost_1_1locale.html#a8c993aaf15e683e97d062560ccf914d8">boost::locale::character_facet_type</a></div><div class="ttdeci">uint32_t character_facet_type</div><div class="ttdoc">type that specifies the character type that locales can be generated for </div><div class="ttdef"><b>Definition:</b> generator.hpp:43</div></div>
|
||
<div class="ttc" id="namespaceboost_1_1locale_html_a4ee453a8b95be64b802edae99ad5d9ed"><div class="ttname"><a href="namespaceboost_1_1locale.html#a4ee453a8b95be64b802edae99ad5d9ed">boost::locale::formatting_facet</a></div><div class="ttdeci">static const uint32_t formatting_facet</div><div class="ttdoc">Generate numbers, currency, date-time formatting facets. </div><div class="ttdef"><b>Definition:</b> generator.hpp:47</div></div>
|
||
<div class="ttc" id="namespaceboost_1_1locale_html_a980b72231e52c32b8bef91ce60e6936a"><div class="ttname"><a href="namespaceboost_1_1locale.html#a980b72231e52c32b8bef91ce60e6936a">boost::locale::convert_facet</a></div><div class="ttdeci">static const uint32_t convert_facet</div><div class="ttdoc">Generate conversion facets. </div><div class="ttdef"><b>Definition:</b> generator.hpp:45</div></div>
|
||
<div class="ttc" id="classboost_1_1locale_1_1generator_html_acd80b3f2371c77f4f7e7dfe69ec670ab"><div class="ttname"><a href="classboost_1_1locale_1_1generator.html#acd80b3f2371c77f4f7e7dfe69ec670ab">boost::locale::generator::operator()</a></div><div class="ttdeci">std::locale operator()(std::string const &id) const </div><div class="ttdef"><b>Definition:</b> generator.hpp:200</div></div>
|
||
<div class="ttc" id="namespaceboost_1_1locale_html_afbb1680a86838f1b145590dce820c558"><div class="ttname"><a href="namespaceboost_1_1locale.html#afbb1680a86838f1b145590dce820c558">boost::locale::per_character_facet_last</a></div><div class="ttdeci">static const uint32_t per_character_facet_last</div><div class="ttdoc">Last facet specific for character. </div><div class="ttdef"><b>Definition:</b> generator.hpp:54</div></div>
|
||
<div class="ttc" id="classboost_1_1shared__ptr_html"><div class="ttname"><a href="classboost_1_1shared__ptr.html">boost::shared_ptr</a></div><div class="ttdef"><b>Definition:</b> generator.hpp:23</div></div>
|
||
<div class="ttc" id="namespaceboost_1_1locale_html_ae068c6887999c1f839d6d13eaf2a0b7c"><div class="ttname"><a href="namespaceboost_1_1locale.html#ae068c6887999c1f839d6d13eaf2a0b7c">boost::locale::calendar_facet</a></div><div class="ttdeci">static const uint32_t calendar_facet</div><div class="ttdoc">Generate boundary analysis facet. </div><div class="ttdef"><b>Definition:</b> generator.hpp:56</div></div>
|
||
<div class="ttc" id="namespaceboost_1_1locale_html_aa5b134d0be315fefbfde1216ea3904d9"><div class="ttname"><a href="namespaceboost_1_1locale.html#aa5b134d0be315fefbfde1216ea3904d9">boost::locale::message_facet</a></div><div class="ttdeci">static const uint32_t message_facet</div><div class="ttdoc">Generate message facets. </div><div class="ttdef"><b>Definition:</b> generator.hpp:49</div></div>
|
||
<div class="ttc" id="namespaceboost_1_1locale_html_aaffe2f2ba9df34eb86caa0c815d00d6b"><div class="ttname"><a href="namespaceboost_1_1locale.html#aaffe2f2ba9df34eb86caa0c815d00d6b">boost::locale::codepage_facet</a></div><div class="ttdeci">static const uint32_t codepage_facet</div><div class="ttdoc">Generate character set conversion facets (derived from std::codecvt) </div><div class="ttdef"><b>Definition:</b> generator.hpp:50</div></div>
|
||
<div class="ttc" id="namespaceboost_1_1locale_html_a91e9fa9c9d99150ff7801a0423cb2374"><div class="ttname"><a href="namespaceboost_1_1locale.html#a91e9fa9c9d99150ff7801a0423cb2374">boost::locale::per_character_facet_first</a></div><div class="ttdeci">static const uint32_t per_character_facet_first</div><div class="ttdoc">First facet specific for character. </div><div class="ttdef"><b>Definition:</b> generator.hpp:53</div></div>
|
||
<div class="ttc" id="namespaceboost_1_1locale_html_a6719d31f7dc35bd97116dd353e5464c6"><div class="ttname"><a href="namespaceboost_1_1locale.html#a6719d31f7dc35bd97116dd353e5464c6">boost::locale::character_last_facet</a></div><div class="ttdeci">static const uint32_t character_last_facet</div><div class="ttdoc">Last facet specific for character type. </div><div class="ttdef"><b>Definition:</b> generator.hpp:40</div></div>
|
||
<div class="ttc" id="namespaceboost_1_1locale_html_ac57221e55dcc193f60a8af0064d58f1e"><div class="ttname"><a href="namespaceboost_1_1locale.html#ac57221e55dcc193f60a8af0064d58f1e">boost::locale::character_first_facet</a></div><div class="ttdeci">static const uint32_t character_first_facet</div><div class="ttdoc">First facet specific for character type. </div><div class="ttdef"><b>Definition:</b> generator.hpp:39</div></div>
|
||
<div class="ttc" id="namespaceboost_1_1locale_html_a2dd40649cf5bb125d9ef5f42ad792446"><div class="ttname"><a href="namespaceboost_1_1locale.html#a2dd40649cf5bb125d9ef5f42ad792446">boost::locale::collation_facet</a></div><div class="ttdeci">static const uint32_t collation_facet</div><div class="ttdoc">Generate collation facets. </div><div class="ttdef"><b>Definition:</b> generator.hpp:46</div></div>
|
||
<div class="ttc" id="namespaceboost_1_1locale_html_a66521f8acb9412f2fc3ab38b7a409e20"><div class="ttname"><a href="namespaceboost_1_1locale.html#a66521f8acb9412f2fc3ab38b7a409e20">boost::locale::non_character_facet_last</a></div><div class="ttdeci">static const uint32_t non_character_facet_last</div><div class="ttdoc">Last character independent facet. </div><div class="ttdef"><b>Definition:</b> generator.hpp:60</div></div>
|
||
<div class="ttc" id="namespaceboost_1_1locale_html_a4f02f43f0bef71bdd9262141508fe8f0"><div class="ttname"><a href="namespaceboost_1_1locale.html#a4f02f43f0bef71bdd9262141508fe8f0">boost::locale::char16_t_facet</a></div><div class="ttdeci">static const uint32_t char16_t_facet</div><div class="ttdoc">C++0x char16_t facets. </div><div class="ttdef"><b>Definition:</b> generator.hpp:36</div></div>
|
||
<div class="ttc" id="group__manipulators_html_gab522188e3d82f1d2898b290b9132925e"><div class="ttname"><a href="group__manipulators.html#gab522188e3d82f1d2898b290b9132925e">boost::locale::as::domain</a></div><div class="ttdeci">unspecified_type domain(std::string const &id)</div><div class="ttdef"><b>Definition:</b> message.hpp:789</div></div>
|
||
<div class="ttc" id="namespaceboost_1_1locale_html_a77cbac0792b48c20173dd92544c625e5"><div class="ttname"><a href="namespaceboost_1_1locale.html#a77cbac0792b48c20173dd92544c625e5">boost::locale::char32_t_facet</a></div><div class="ttdeci">static const uint32_t char32_t_facet</div><div class="ttdoc">C++0x char32_t facets. </div><div class="ttdef"><b>Definition:</b> generator.hpp:37</div></div>
|
||
<div class="ttc" id="namespaceboost_1_1locale_html_a32e8cb87d2f68a5577dbb7ce55c0d2b1"><div class="ttname"><a href="namespaceboost_1_1locale.html#a32e8cb87d2f68a5577dbb7ce55c0d2b1">boost::locale::locale_category_type</a></div><div class="ttdeci">uint32_t locale_category_type</div><div class="ttdoc">a type used for more fine grained generation of facets </div><div class="ttdef"><b>Definition:</b> generator.hpp:65</div></div>
|
||
<div class="ttc" id="namespaceboost_1_1locale_html_aa0d08754ca3856546c63f1f79a153a7b"><div class="ttname"><a href="namespaceboost_1_1locale.html#aa0d08754ca3856546c63f1f79a153a7b">boost::locale::information_facet</a></div><div class="ttdeci">static const uint32_t information_facet</div><div class="ttdoc">Generate general locale information facet. </div><div class="ttdef"><b>Definition:</b> generator.hpp:57</div></div>
|
||
<div class="ttc" id="classboost_1_1locale_1_1generator_html"><div class="ttname"><a href="classboost_1_1locale_1_1generator.html">boost::locale::generator</a></div><div class="ttdoc">the major class used for locale generation </div><div class="ttdef"><b>Definition:</b> generator.hpp:74</div></div>
|
||
<div class="ttc" id="namespaceboost_1_1locale_html_ac57b3067a033cb4416098b8c34867aa1"><div class="ttname"><a href="namespaceboost_1_1locale.html#ac57b3067a033cb4416098b8c34867aa1">boost::locale::char_facet</a></div><div class="ttdeci">static const uint32_t char_facet</div><div class="ttdoc">8-bit character facets </div><div class="ttdef"><b>Definition:</b> generator.hpp:34</div></div>
|
||
<div class="ttc" id="namespaceboost_1_1locale_html_ab51b0b65a19b1db3adc14e9866097e2a"><div class="ttname"><a href="namespaceboost_1_1locale.html#ab51b0b65a19b1db3adc14e9866097e2a">boost::locale::all_categories</a></div><div class="ttdeci">static const uint32_t all_categories</div><div class="ttdoc">Generate all of them. </div><div class="ttdef"><b>Definition:</b> generator.hpp:63</div></div>
|
||
<div class="ttc" id="namespaceboost_1_1locale_html_af26277ad3002b9d09790ca42590352fe"><div class="ttname"><a href="namespaceboost_1_1locale.html#af26277ad3002b9d09790ca42590352fe">boost::locale::wchar_t_facet</a></div><div class="ttdeci">static const uint32_t wchar_t_facet</div><div class="ttdoc">wide character facets </div><div class="ttdef"><b>Definition:</b> generator.hpp:35</div></div>
|
||
<div class="ttc" id="namespaceboost_1_1locale_html_acbf4f064b76445979094471c7092bd4c"><div class="ttname"><a href="namespaceboost_1_1locale.html#acbf4f064b76445979094471c7092bd4c">boost::locale::all_characters</a></div><div class="ttdeci">static const uint32_t all_characters</div><div class="ttdoc">Special mask – generate all. </div><div class="ttdef"><b>Definition:</b> generator.hpp:41</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>
|