• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6<meta name="generator" content="Doxygen 1.8.6"/>
7<title>Boost.Locale: boost/locale/generator.hpp Source File</title>
8<link href="tabs.css" rel="stylesheet" type="text/css"/>
9<script type="text/javascript" src="jquery.js"></script>
10<script type="text/javascript" src="dynsections.js"></script>
11<link href="navtree.css" rel="stylesheet" type="text/css"/>
12<script type="text/javascript" src="resize.js"></script>
13<script type="text/javascript" src="navtree.js"></script>
14<script type="text/javascript">
15  $(document).ready(initResizable);
16  $(window).load(resizeHeight);
17</script>
18<link href="doxygen.css" rel="stylesheet" type="text/css" />
19</head>
20<body>
21<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
22<div id="titlearea">
23<table cellspacing="0" cellpadding="0">
24 <tbody>
25 <tr style="height: 56px;">
26  <td id="projectlogo"><img alt="Logo" src="boost-small.png"/></td>
27  <td style="padding-left: 0.5em;">
28   <div id="projectname">Boost.Locale
29   </div>
30  </td>
31 </tr>
32 </tbody>
33</table>
34</div>
35<!-- end header part -->
36<!-- Generated by Doxygen 1.8.6 -->
37  <div id="navrow1" class="tabs">
38    <ul class="tablist">
39      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
40      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
41      <li><a href="modules.html"><span>Modules</span></a></li>
42      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
43      <li><a href="annotated.html"><span>Classes</span></a></li>
44      <li class="current"><a href="files.html"><span>Files</span></a></li>
45      <li><a href="examples.html"><span>Examples</span></a></li>
46    </ul>
47  </div>
48  <div id="navrow2" class="tabs2">
49    <ul class="tablist">
50      <li><a href="files.html"><span>File&#160;List</span></a></li>
51    </ul>
52  </div>
53</div><!-- top -->
54<div id="side-nav" class="ui-resizable side-nav-resizable">
55  <div id="nav-tree">
56    <div id="nav-tree-contents">
57      <div id="nav-sync" class="sync"></div>
58    </div>
59  </div>
60  <div id="splitbar" style="-moz-user-select:none;"
61       class="ui-resizable-handle">
62  </div>
63</div>
64<script type="text/javascript">
65$(document).ready(function(){initNavTree('generator_8hpp_source.html','');});
66</script>
67<div id="doc-content">
68<div class="header">
69  <div class="headertitle">
70<div class="title">generator.hpp</div>  </div>
71</div><!--header-->
72<div class="contents">
73<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">//</span></div>
74<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>
75<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">//</span></div>
76<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>
77<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>
78<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>
79<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">//</span></div>
80<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#ifndef BOOST_LOCALE_GENERATOR_HPP</span></div>
81<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define BOOST_LOCALE_GENERATOR_HPP</span></div>
82<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &lt;boost/locale/config.hpp&gt;</span></div>
83<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &lt;boost/cstdint.hpp&gt;</span></div>
84<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#ifdef BOOST_MSVC</span></div>
85<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#  pragma warning(push)</span></div>
86<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#  pragma warning(disable : 4275 4251 4231 4660)</span></div>
87<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
88<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &lt;string&gt;</span></div>
89<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#include &lt;locale&gt;</span></div>
90<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div>
91<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;</div>
92<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="keyword">namespace </span>boost {</div>
93<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div>
94<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Type&gt;</div>
95<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="classboost_1_1shared__ptr.html">   23</a></span>&#160;    <span class="keyword">class </span><a class="code" href="classboost_1_1shared__ptr.html">shared_ptr</a>;</div>
96<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div>
97<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    <span class="keyword">namespace </span>locale {</div>
98<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div>
99<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;        <span class="keyword">class </span>localization_backend;</div>
100<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;        <span class="keyword">class </span>localization_backend_manager;</div>
101<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div>
102<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#a330a4c5134eb5110b33a0b4f986f34be">   33</a></span>&#160;        <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>
103<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#ac57b3067a033cb4416098b8c34867aa1">   34</a></span>&#160;        <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 &lt;&lt; 0;   </div>
104<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#af26277ad3002b9d09790ca42590352fe">   35</a></span>&#160;        <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 &lt;&lt; 1;   </div>
105<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#a4f02f43f0bef71bdd9262141508fe8f0">   36</a></span>&#160;        <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 &lt;&lt; 2;   </div>
106<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#a77cbac0792b48c20173dd92544c625e5">   37</a></span>&#160;        <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 &lt;&lt; 3;   </div>
107<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div>
108<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#ac57221e55dcc193f60a8af0064d58f1e">   39</a></span>&#160;        <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>
109<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#a6719d31f7dc35bd97116dd353e5464c6">   40</a></span>&#160;        <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>
110<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#acbf4f064b76445979094471c7092bd4c">   41</a></span>&#160;        <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>
111<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;        </div>
112<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#a8c993aaf15e683e97d062560ccf914d8">   43</a></span>&#160;        <span class="keyword">typedef</span> uint32_t <a class="code" href="namespaceboost_1_1locale.html#a8c993aaf15e683e97d062560ccf914d8">character_facet_type</a>; </div>
113<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div>
114<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#a980b72231e52c32b8bef91ce60e6936a">   45</a></span>&#160;        <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 &lt;&lt; 0;   </div>
115<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#a2dd40649cf5bb125d9ef5f42ad792446">   46</a></span>&#160;        <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 &lt;&lt; 1;   </div>
116<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#a4ee453a8b95be64b802edae99ad5d9ed">   47</a></span>&#160;        <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 &lt;&lt; 2;   </div>
117<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#adeadf3347a4fa74afd7fd1f6674be1b0">   48</a></span>&#160;        <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 &lt;&lt; 3;   </div>
118<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#aa5b134d0be315fefbfde1216ea3904d9">   49</a></span>&#160;        <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 &lt;&lt; 4;   </div>
119<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#aaffe2f2ba9df34eb86caa0c815d00d6b">   50</a></span>&#160;        <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 &lt;&lt; 5;   </div>
120<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#ac2fa68f626cf136556cbf56c82d3fdd6">   51</a></span>&#160;        <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 &lt;&lt; 6;   </div>
121<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;            </div>
122<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#a91e9fa9c9d99150ff7801a0423cb2374">   53</a></span>&#160;        <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>
123<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#afbb1680a86838f1b145590dce820c558">   54</a></span>&#160;        <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>
124<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;</div>
125<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#ae068c6887999c1f839d6d13eaf2a0b7c">   56</a></span>&#160;        <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 &lt;&lt; 16;   </div>
126<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#aa0d08754ca3856546c63f1f79a153a7b">   57</a></span>&#160;        <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 &lt;&lt; 17;   </div>
127<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;</div>
128<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#acdc78d8aaea40ff98a227c6d31a7be19">   59</a></span>&#160;        <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>
129<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#a66521f8acb9412f2fc3ab38b7a409e20">   60</a></span>&#160;        <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>
130<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div>
131<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;            </div>
132<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#ab51b0b65a19b1db3adc14e9866097e2a">   63</a></span>&#160;        <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>
133<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;        </div>
134<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale.html#a32e8cb87d2f68a5577dbb7ce55c0d2b1">   65</a></span>&#160;        <span class="keyword">typedef</span> uint32_t <a class="code" href="namespaceboost_1_1locale.html#a32e8cb87d2f68a5577dbb7ce55c0d2b1">locale_category_type</a>; </div>
135<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div>
136<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div>
137<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1generator.html">   74</a></span>&#160;        <span class="keyword">class </span>BOOST_LOCALE_DECL <a class="code" href="classboost_1_1locale_1_1generator.html">generator</a> {</div>
138<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;        <span class="keyword">public</span>:</div>
139<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div>
140<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;            <a class="code" href="classboost_1_1locale_1_1generator.html">generator</a>();</div>
141<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;            <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> &amp;);</div>
142<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;</div>
143<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;            ~<a class="code" href="classboost_1_1locale_1_1generator.html">generator</a>();</div>
144<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div>
145<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;            <span class="keywordtype">void</span> categories(<a class="code" href="namespaceboost_1_1locale.html#a32e8cb87d2f68a5577dbb7ce55c0d2b1">locale_category_type</a> cats);</div>
146<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;            <a class="code" href="namespaceboost_1_1locale.html#a32e8cb87d2f68a5577dbb7ce55c0d2b1">locale_category_type</a> categories() <span class="keyword">const</span>;</div>
147<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;            </div>
148<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;            <span class="keywordtype">void</span> characters(<a class="code" href="namespaceboost_1_1locale.html#a8c993aaf15e683e97d062560ccf914d8">character_facet_type</a> chars);</div>
149<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;            <a class="code" href="namespaceboost_1_1locale.html#a8c993aaf15e683e97d062560ccf914d8">character_facet_type</a> characters() <span class="keyword">const</span>;</div>
150<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;</div>
151<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;            <span class="keywordtype">void</span> add_messages_domain(std::string <span class="keyword">const</span> &amp;<a class="code" href="group__manipulators.html#gab522188e3d82f1d2898b290b9132925e">domain</a>);</div>
152<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;            <span class="keywordtype">void</span> set_default_messages_domain(std::string <span class="keyword">const</span> &amp;domain);</div>
153<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;</div>
154<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;            <span class="keywordtype">void</span> clear_domains();</div>
155<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;</div>
156<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;            <span class="keywordtype">void</span> add_messages_path(std::string <span class="keyword">const</span> &amp;path);</div>
157<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;</div>
158<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;            <span class="keywordtype">void</span> clear_paths();</div>
159<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;</div>
160<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;            <span class="keywordtype">void</span> clear_cache();</div>
161<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;</div>
162<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;            <span class="keywordtype">void</span> locale_cache_enabled(<span class="keywordtype">bool</span> on);</div>
163<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;</div>
164<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;            <span class="keywordtype">bool</span> locale_cache_enabled() <span class="keyword">const</span>;</div>
165<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;</div>
166<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;            <span class="keywordtype">bool</span> use_ansi_encoding() <span class="keyword">const</span>;</div>
167<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;</div>
168<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;            <span class="keywordtype">void</span> use_ansi_encoding(<span class="keywordtype">bool</span> enc);</div>
169<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;</div>
170<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;            std::locale generate(std::string <span class="keyword">const</span> &amp;<span class="keywordtype">id</span>) <span class="keyword">const</span>;</div>
171<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;            std::locale generate(std::locale <span class="keyword">const</span> &amp;base,std::string <span class="keyword">const</span> &amp;<span class="keywordtype">id</span>) <span class="keyword">const</span>;</div>
172<div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1generator.html#acd80b3f2371c77f4f7e7dfe69ec670ab">  200</a></span>&#160;            std::locale <a class="code" href="classboost_1_1locale_1_1generator.html#acd80b3f2371c77f4f7e7dfe69ec670ab">operator()</a>(std::string <span class="keyword">const</span> &amp;<span class="keywordtype">id</span>)<span class="keyword"> const</span></div>
173<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;<span class="keyword">            </span>{</div>
174<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;                <span class="keywordflow">return</span> generate(<span class="keywordtype">id</span>);</div>
175<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;            }</div>
176<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;            </div>
177<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;            <span class="keywordtype">void</span> set_option(std::string <span class="keyword">const</span> &amp;name,std::string <span class="keyword">const</span> &amp;value);</div>
178<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;</div>
179<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;            <span class="keywordtype">void</span> clear_options();</div>
180<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;</div>
181<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;        <span class="keyword">private</span>:</div>
182<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;</div>
183<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;            <span class="keywordtype">void</span> set_all_options(<a class="code" href="classboost_1_1shared__ptr.html">shared_ptr&lt;localization_backend&gt;</a> backend,std::string <span class="keyword">const</span> &amp;<span class="keywordtype">id</span>) <span class="keyword">const</span>;</div>
184<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;</div>
185<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;            <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> &amp;);</div>
186<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;            <span class="keywordtype">void</span> operator=(<a class="code" href="classboost_1_1locale_1_1generator.html">generator</a> <span class="keyword">const</span> &amp;);</div>
187<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;</div>
188<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;            <span class="keyword">struct </span>data;</div>
189<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;            std::auto_ptr&lt;data&gt; d;</div>
190<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;        };</div>
191<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;</div>
192<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;    }</div>
193<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;}</div>
194<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;<span class="preprocessor">#ifdef BOOST_MSVC</span></div>
195<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#pragma warning(pop)</span></div>
196<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
197<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;<span class="preprocessor"></span></div>
198<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;</div>
199<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;<span class="preprocessor">#endif</span></div>
200<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;<span class="preprocessor"></span><span class="comment">// vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 </span></div>
201<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;</div>
202<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>
203<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>
204<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>
205<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>
206<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>
207<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>
208<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>
209<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>
210<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>
211<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 &amp;id) const </div><div class="ttdef"><b>Definition:</b> generator.hpp:200</div></div>
212<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>
213<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>
214<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>
215<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>
216<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>
217<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>
218<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>
219<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>
220<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>
221<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>
222<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>
223<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 &amp;id)</div><div class="ttdef"><b>Definition:</b> message.hpp:789</div></div>
224<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>
225<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>
226<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>
227<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>
228<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>
229<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>
230<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>
231<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>
232</div><!-- fragment --></div><!-- contents -->
233</div><!-- doc-content -->
234
235    <li class="footer">
236&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.
237    </li>
238   </ul>
239 </div>
240</body>
241</html>
242