• 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/util.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('util_8hpp_source.html','');});
66</script>
67<div id="doc-content">
68<div class="header">
69  <div class="headertitle">
70<div class="title">util.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_UTIL_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_UTIL_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;locale&gt;</span></div>
83<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &lt;typeinfo&gt;</span></div>
84<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &lt;boost/cstdint.hpp&gt;</span></div>
85<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &lt;boost/locale/utf.hpp&gt;</span></div>
86<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &lt;boost/locale/generator.hpp&gt;</span></div>
87<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &lt;boost/assert.hpp&gt;</span></div>
88<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div>
89<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
90<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="keyword">namespace </span>boost {</div>
91<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="keyword">namespace </span>locale {</div>
92<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale_1_1util.html">   24</a></span>&#160;<span class="keyword">namespace </span>util {</div>
93<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;    </div>
94<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;    BOOST_LOCALE_DECL</div>
95<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    std::string <a class="code" href="namespaceboost_1_1locale_1_1util.html#ad9737569d0e2d6b08885b01aba308365">get_system_locale</a>(<span class="keywordtype">bool</span> use_utf8_on_windows = <span class="keyword">false</span>);</div>
96<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div>
97<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    BOOST_LOCALE_DECL</div>
98<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    std::locale <a class="code" href="namespaceboost_1_1locale_1_1util.html#a8322299021a4af3cdbb8b31e775e77f4">create_info</a>(std::locale <span class="keyword">const</span> &amp;in,std::string <span class="keyword">const</span> &amp;name); </div>
99<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div>
100<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;</div>
101<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1util_1_1base__converter.html">   77</a></span>&#160;    <span class="keyword">class </span><a class="code" href="classboost_1_1locale_1_1util_1_1base__converter.html">base_converter</a> {</div>
102<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    <span class="keyword">public</span>:</div>
103<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div>
104<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1util_1_1base__converter.html#aa02e2dfd8ddc2b40a8705c6ea7fa8d48">   85</a></span>&#160;        <span class="keyword">static</span> <span class="keyword">const</span> uint32_t <a class="code" href="classboost_1_1locale_1_1util_1_1base__converter.html#aa02e2dfd8ddc2b40a8705c6ea7fa8d48">illegal</a>=<a class="code" href="namespaceboost_1_1locale_1_1utf.html#a30010000878c7732340bda8956b844fb">utf::illegal</a>;</div>
105<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;</div>
106<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1util_1_1base__converter.html#aa78dd2bae2783e31a00849a4e74aeb1e">   91</a></span>&#160;        <span class="keyword">static</span> <span class="keyword">const</span> uint32_t <a class="code" href="classboost_1_1locale_1_1util_1_1base__converter.html#aa78dd2bae2783e31a00849a4e74aeb1e">incomplete</a>=<a class="code" href="namespaceboost_1_1locale_1_1utf.html#a20dbe458fd18229a0e6c09888d031b38">utf::incomplete</a>;</div>
107<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;        </div>
108<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;        <span class="keyword">virtual</span> ~<a class="code" href="classboost_1_1locale_1_1util_1_1base__converter.html">base_converter</a>() </div>
109<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;        {</div>
110<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;        }</div>
111<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1util_1_1base__converter.html#ab2332b78e3e0c0b94ea3f6dafd123d60">  100</a></span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classboost_1_1locale_1_1util_1_1base__converter.html#ab2332b78e3e0c0b94ea3f6dafd123d60">max_len</a>()<span class="keyword"> const </span></div>
112<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;<span class="keyword">        </span>{</div>
113<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;            <span class="keywordflow">return</span> 1;</div>
114<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;        }</div>
115<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1util_1_1base__converter.html#aadcc2c1a767f9d24972c6995e81c1315">  113</a></span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classboost_1_1locale_1_1util_1_1base__converter.html#aadcc2c1a767f9d24972c6995e81c1315">is_thread_safe</a>()<span class="keyword"> const </span></div>
116<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;<span class="keyword">        </span>{</div>
117<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
118<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;        }</div>
119<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1util_1_1base__converter.html#a702b31840be6f5c540cd22ac75cb2349">  120</a></span>&#160;        <span class="keyword">virtual</span> <a class="code" href="classboost_1_1locale_1_1util_1_1base__converter.html">base_converter</a> *<a class="code" href="classboost_1_1locale_1_1util_1_1base__converter.html#a702b31840be6f5c540cd22ac75cb2349">clone</a>()<span class="keyword"> const </span></div>
120<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;<span class="keyword">        </span>{</div>
121<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;            BOOST_ASSERT(<span class="keyword">typeid</span>(*<span class="keyword">this</span>)==<span class="keyword">typeid</span>(<a class="code" href="classboost_1_1locale_1_1util_1_1base__converter.html">base_converter</a>));</div>
122<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="classboost_1_1locale_1_1util_1_1base__converter.html">base_converter</a>();</div>
123<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;        }</div>
124<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;</div>
125<div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1util_1_1base__converter.html#a27181b314e09f62ae9ea8fcd30d4e7c4">  141</a></span>&#160;        <span class="keyword">virtual</span> uint32_t <a class="code" href="classboost_1_1locale_1_1util_1_1base__converter.html#a27181b314e09f62ae9ea8fcd30d4e7c4">to_unicode</a>(<span class="keywordtype">char</span> <span class="keyword">const</span> *&amp;begin,<span class="keywordtype">char</span> <span class="keyword">const</span> *end) </div>
126<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;        {</div>
127<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;            <span class="keywordflow">if</span>(begin == end)</div>
128<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;                <span class="keywordflow">return</span> <a class="code" href="classboost_1_1locale_1_1util_1_1base__converter.html#aa78dd2bae2783e31a00849a4e74aeb1e">incomplete</a>;</div>
129<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;            <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> cp = *begin;</div>
130<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;            <span class="keywordflow">if</span>(cp &lt;= 0x7F) {</div>
131<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;                begin++;</div>
132<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;                <span class="keywordflow">return</span> cp;</div>
133<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;            }</div>
134<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;            <span class="keywordflow">return</span> <a class="code" href="classboost_1_1locale_1_1util_1_1base__converter.html#aa02e2dfd8ddc2b40a8705c6ea7fa8d48">illegal</a>;</div>
135<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;        }</div>
136<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;</div>
137<div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1util_1_1base__converter.html#afeecf1ee2699c26960cbf2d7d6d71d41">  164</a></span>&#160;        <span class="keyword">virtual</span> uint32_t <a class="code" href="classboost_1_1locale_1_1util_1_1base__converter.html#afeecf1ee2699c26960cbf2d7d6d71d41">from_unicode</a>(uint32_t u,<span class="keywordtype">char</span> *begin,<span class="keywordtype">char</span> <span class="keyword">const</span> *end) </div>
138<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;        {</div>
139<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;            <span class="keywordflow">if</span>(begin==end)</div>
140<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;                <span class="keywordflow">return</span> <a class="code" href="classboost_1_1locale_1_1util_1_1base__converter.html#aa78dd2bae2783e31a00849a4e74aeb1e">incomplete</a>;</div>
141<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;            <span class="keywordflow">if</span>(u &gt;= 0x80)</div>
142<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;                <span class="keywordflow">return</span> <a class="code" href="classboost_1_1locale_1_1util_1_1base__converter.html#aa02e2dfd8ddc2b40a8705c6ea7fa8d48">illegal</a>;</div>
143<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;            *begin = <span class="keyword">static_cast&lt;</span><span class="keywordtype">char</span><span class="keyword">&gt;</span>(u);</div>
144<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;            <span class="keywordflow">return</span> 1;</div>
145<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;        }</div>
146<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;    };</div>
147<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;</div>
148<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;    BOOST_LOCALE_DECL std::auto_ptr&lt;base_converter&gt; <a class="code" href="namespaceboost_1_1locale_1_1util.html#aa8e8480ddadc3e972aeb4d468446db64">create_utf8_converter</a>();</div>
149<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;    BOOST_LOCALE_DECL std::auto_ptr&lt;base_converter&gt; <a class="code" href="namespaceboost_1_1locale_1_1util.html#a79624ad8d782ad41d5edf90b6c830631">create_simple_converter</a>(std::string <span class="keyword">const</span> &amp;encoding);</div>
150<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;</div>
151<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;</div>
152<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;    BOOST_LOCALE_DECL</div>
153<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;    std::locale <a class="code" href="namespaceboost_1_1locale_1_1util.html#a3e6728910dc947c3062c6bfd28b70fc4">create_codecvt</a>(std::locale <span class="keyword">const</span> &amp;in,std::auto_ptr&lt;base_converter&gt; cvt,<a class="code" href="namespaceboost_1_1locale.html#a8c993aaf15e683e97d062560ccf914d8">character_facet_type</a> type);</div>
154<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;</div>
155<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;    BOOST_LOCALE_DECL</div>
156<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;    std::locale <a class="code" href="namespaceboost_1_1locale_1_1util.html#aedf56793c0804295e06cf97300b991f8">create_utf8_codecvt</a>(std::locale <span class="keyword">const</span> &amp;in,<a class="code" href="namespaceboost_1_1locale.html#a8c993aaf15e683e97d062560ccf914d8">character_facet_type</a> type);</div>
157<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;</div>
158<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;    BOOST_LOCALE_DECL</div>
159<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;    std::locale <a class="code" href="namespaceboost_1_1locale_1_1util.html#a674c01466528780b9076a191e84e05fa">create_simple_codecvt</a>(std::locale <span class="keyword">const</span> &amp;in,std::string <span class="keyword">const</span> &amp;encoding,<a class="code" href="namespaceboost_1_1locale.html#a8c993aaf15e683e97d062560ccf914d8">character_facet_type</a> type);</div>
160<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;} <span class="comment">// util</span></div>
161<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;} <span class="comment">// locale </span></div>
162<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;} <span class="comment">// boost</span></div>
163<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;</div>
164<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;<span class="preprocessor">#endif</span></div>
165<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;<span class="preprocessor"></span><span class="comment">// vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4</span></div>
166<div class="ttc" id="classboost_1_1locale_1_1util_1_1base__converter_html_aadcc2c1a767f9d24972c6995e81c1315"><div class="ttname"><a href="classboost_1_1locale_1_1util_1_1base__converter.html#aadcc2c1a767f9d24972c6995e81c1315">boost::locale::util::base_converter::is_thread_safe</a></div><div class="ttdeci">virtual bool is_thread_safe() const </div><div class="ttdef"><b>Definition:</b> util.hpp:113</div></div>
167<div class="ttc" id="classboost_1_1locale_1_1util_1_1base__converter_html_ab2332b78e3e0c0b94ea3f6dafd123d60"><div class="ttname"><a href="classboost_1_1locale_1_1util_1_1base__converter.html#ab2332b78e3e0c0b94ea3f6dafd123d60">boost::locale::util::base_converter::max_len</a></div><div class="ttdeci">virtual int max_len() const </div><div class="ttdef"><b>Definition:</b> util.hpp:100</div></div>
168<div class="ttc" id="classboost_1_1locale_1_1util_1_1base__converter_html_aa78dd2bae2783e31a00849a4e74aeb1e"><div class="ttname"><a href="classboost_1_1locale_1_1util_1_1base__converter.html#aa78dd2bae2783e31a00849a4e74aeb1e">boost::locale::util::base_converter::incomplete</a></div><div class="ttdeci">static const uint32_t incomplete</div><div class="ttdef"><b>Definition:</b> util.hpp:91</div></div>
169<div class="ttc" id="namespaceboost_1_1locale_1_1utf_html_a20dbe458fd18229a0e6c09888d031b38"><div class="ttname"><a href="namespaceboost_1_1locale_1_1utf.html#a20dbe458fd18229a0e6c09888d031b38">boost::locale::utf::incomplete</a></div><div class="ttdeci">static const code_point incomplete</div><div class="ttdoc">Special constant that defines incomplete code point. </div><div class="ttdef"><b>Definition:</b> utf.hpp:44</div></div>
170<div class="ttc" id="classboost_1_1locale_1_1util_1_1base__converter_html_a27181b314e09f62ae9ea8fcd30d4e7c4"><div class="ttname"><a href="classboost_1_1locale_1_1util_1_1base__converter.html#a27181b314e09f62ae9ea8fcd30d4e7c4">boost::locale::util::base_converter::to_unicode</a></div><div class="ttdeci">virtual uint32_t to_unicode(char const *&amp;begin, char const *end)</div><div class="ttdef"><b>Definition:</b> util.hpp:141</div></div>
171<div class="ttc" id="namespaceboost_1_1locale_1_1util_html_a8322299021a4af3cdbb8b31e775e77f4"><div class="ttname"><a href="namespaceboost_1_1locale_1_1util.html#a8322299021a4af3cdbb8b31e775e77f4">boost::locale::util::create_info</a></div><div class="ttdeci">std::locale create_info(std::locale const &amp;in, std::string const &amp;name)</div><div class="ttdoc">Installs information facet to locale in based on locale name name. </div></div>
172<div class="ttc" id="namespaceboost_1_1locale_1_1util_html_a3e6728910dc947c3062c6bfd28b70fc4"><div class="ttname"><a href="namespaceboost_1_1locale_1_1util.html#a3e6728910dc947c3062c6bfd28b70fc4">boost::locale::util::create_codecvt</a></div><div class="ttdeci">std::locale create_codecvt(std::locale const &amp;in, std::auto_ptr&lt; base_converter &gt; cvt, character_facet_type type)</div></div>
173<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>
174<div class="ttc" id="namespaceboost_1_1locale_1_1utf_html_a30010000878c7732340bda8956b844fb"><div class="ttname"><a href="namespaceboost_1_1locale_1_1utf.html#a30010000878c7732340bda8956b844fb">boost::locale::utf::illegal</a></div><div class="ttdeci">static const code_point illegal</div><div class="ttdoc">Special constant that defines illegal code point. </div><div class="ttdef"><b>Definition:</b> utf.hpp:39</div></div>
175<div class="ttc" id="namespaceboost_1_1locale_1_1util_html_aa8e8480ddadc3e972aeb4d468446db64"><div class="ttname"><a href="namespaceboost_1_1locale_1_1util.html#aa8e8480ddadc3e972aeb4d468446db64">boost::locale::util::create_utf8_converter</a></div><div class="ttdeci">std::auto_ptr&lt; base_converter &gt; create_utf8_converter()</div></div>
176<div class="ttc" id="classboost_1_1locale_1_1util_1_1base__converter_html"><div class="ttname"><a href="classboost_1_1locale_1_1util_1_1base__converter.html">boost::locale::util::base_converter</a></div><div class="ttdoc">This class represent a simple stateless converter from UCS-4 and to UCS-4 for each single code point...</div><div class="ttdef"><b>Definition:</b> util.hpp:77</div></div>
177<div class="ttc" id="classboost_1_1locale_1_1util_1_1base__converter_html_a702b31840be6f5c540cd22ac75cb2349"><div class="ttname"><a href="classboost_1_1locale_1_1util_1_1base__converter.html#a702b31840be6f5c540cd22ac75cb2349">boost::locale::util::base_converter::clone</a></div><div class="ttdeci">virtual base_converter * clone() const </div><div class="ttdef"><b>Definition:</b> util.hpp:120</div></div>
178<div class="ttc" id="namespaceboost_1_1locale_1_1util_html_ad9737569d0e2d6b08885b01aba308365"><div class="ttname"><a href="namespaceboost_1_1locale_1_1util.html#ad9737569d0e2d6b08885b01aba308365">boost::locale::util::get_system_locale</a></div><div class="ttdeci">std::string get_system_locale(bool use_utf8_on_windows=false)</div><div class="ttdoc">Return default system locale name in POSIX format. </div></div>
179<div class="ttc" id="classboost_1_1locale_1_1util_1_1base__converter_html_aa02e2dfd8ddc2b40a8705c6ea7fa8d48"><div class="ttname"><a href="classboost_1_1locale_1_1util_1_1base__converter.html#aa02e2dfd8ddc2b40a8705c6ea7fa8d48">boost::locale::util::base_converter::illegal</a></div><div class="ttdeci">static const uint32_t illegal</div><div class="ttdef"><b>Definition:</b> util.hpp:85</div></div>
180<div class="ttc" id="namespaceboost_1_1locale_1_1util_html_a79624ad8d782ad41d5edf90b6c830631"><div class="ttname"><a href="namespaceboost_1_1locale_1_1util.html#a79624ad8d782ad41d5edf90b6c830631">boost::locale::util::create_simple_converter</a></div><div class="ttdeci">std::auto_ptr&lt; base_converter &gt; create_simple_converter(std::string const &amp;encoding)</div></div>
181<div class="ttc" id="namespaceboost_1_1locale_1_1util_html_a674c01466528780b9076a191e84e05fa"><div class="ttname"><a href="namespaceboost_1_1locale_1_1util.html#a674c01466528780b9076a191e84e05fa">boost::locale::util::create_simple_codecvt</a></div><div class="ttdeci">std::locale create_simple_codecvt(std::locale const &amp;in, std::string const &amp;encoding, character_facet_type type)</div></div>
182<div class="ttc" id="classboost_1_1locale_1_1util_1_1base__converter_html_afeecf1ee2699c26960cbf2d7d6d71d41"><div class="ttname"><a href="classboost_1_1locale_1_1util_1_1base__converter.html#afeecf1ee2699c26960cbf2d7d6d71d41">boost::locale::util::base_converter::from_unicode</a></div><div class="ttdeci">virtual uint32_t from_unicode(uint32_t u, char *begin, char const *end)</div><div class="ttdef"><b>Definition:</b> util.hpp:164</div></div>
183<div class="ttc" id="namespaceboost_1_1locale_1_1util_html_aedf56793c0804295e06cf97300b991f8"><div class="ttname"><a href="namespaceboost_1_1locale_1_1util.html#aedf56793c0804295e06cf97300b991f8">boost::locale::util::create_utf8_codecvt</a></div><div class="ttdeci">std::locale create_utf8_codecvt(std::locale const &amp;in, character_facet_type type)</div></div>
184</div><!-- fragment --></div><!-- contents -->
185</div><!-- doc-content -->
186
187    <li class="footer">
188&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.
189    </li>
190   </ul>
191 </div>
192</body>
193</html>
194