194 lines
26 KiB
HTML
194 lines
26 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/util.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('util_8hpp_source.html','');});
|
|
</script>
|
|
<div id="doc-content">
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">util.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_UTIL_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_UTIL_HPP</span></div>
|
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor"></span><span class="preprocessor">#include <locale></span></div>
|
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#include <typeinfo></span></div>
|
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <boost/cstdint.hpp></span></div>
|
|
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#include <boost/locale/utf.hpp></span></div>
|
|
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include <boost/locale/generator.hpp></span></div>
|
|
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include <boost/assert.hpp></span></div>
|
|
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div>
|
|
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include <vector></span></div>
|
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="keyword">namespace </span>boost {</div>
|
|
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">namespace </span>locale {</div>
|
|
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="namespaceboost_1_1locale_1_1util.html"> 24</a></span> <span class="keyword">namespace </span>util {</div>
|
|
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  </div>
|
|
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  BOOST_LOCALE_DECL</div>
|
|
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  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>
|
|
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div>
|
|
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  BOOST_LOCALE_DECL</div>
|
|
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  std::locale <a class="code" href="namespaceboost_1_1locale_1_1util.html#a8322299021a4af3cdbb8b31e775e77f4">create_info</a>(std::locale <span class="keyword">const</span> &in,std::string <span class="keyword">const</span> &name); </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="l00077"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1util_1_1base__converter.html"> 77</a></span>  <span class="keyword">class </span><a class="code" href="classboost_1_1locale_1_1util_1_1base__converter.html">base_converter</a> {</div>
|
|
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keyword">public</span>:</div>
|
|
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> </div>
|
|
<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>  <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>
|
|
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div>
|
|
<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>  <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>
|
|
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  </div>
|
|
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keyword">virtual</span> ~<a class="code" href="classboost_1_1locale_1_1util_1_1base__converter.html">base_converter</a>() </div>
|
|
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  {</div>
|
|
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  }</div>
|
|
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1util_1_1base__converter.html#ab2332b78e3e0c0b94ea3f6dafd123d60"> 100</a></span>  <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>
|
|
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keywordflow">return</span> 1;</div>
|
|
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  }</div>
|
|
<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>  <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>
|
|
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
|
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  }</div>
|
|
<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>  <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>
|
|
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  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>
|
|
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <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>
|
|
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  }</div>
|
|
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> </div>
|
|
<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>  <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> *&begin,<span class="keywordtype">char</span> <span class="keyword">const</span> *end) </div>
|
|
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  {</div>
|
|
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="keywordflow">if</span>(begin == end)</div>
|
|
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="keywordflow">return</span> <a class="code" href="classboost_1_1locale_1_1util_1_1base__converter.html#aa78dd2bae2783e31a00849a4e74aeb1e">incomplete</a>;</div>
|
|
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> cp = *begin;</div>
|
|
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="keywordflow">if</span>(cp <= 0x7F) {</div>
|
|
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  begin++;</div>
|
|
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <span class="keywordflow">return</span> cp;</div>
|
|
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  }</div>
|
|
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="keywordflow">return</span> <a class="code" href="classboost_1_1locale_1_1util_1_1base__converter.html#aa02e2dfd8ddc2b40a8705c6ea7fa8d48">illegal</a>;</div>
|
|
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  }</div>
|
|
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> </div>
|
|
<div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1util_1_1base__converter.html#afeecf1ee2699c26960cbf2d7d6d71d41"> 164</a></span>  <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>
|
|
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  {</div>
|
|
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <span class="keywordflow">if</span>(begin==end)</div>
|
|
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keywordflow">return</span> <a class="code" href="classboost_1_1locale_1_1util_1_1base__converter.html#aa78dd2bae2783e31a00849a4e74aeb1e">incomplete</a>;</div>
|
|
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <span class="keywordflow">if</span>(u >= 0x80)</div>
|
|
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keywordflow">return</span> <a class="code" href="classboost_1_1locale_1_1util_1_1base__converter.html#aa02e2dfd8ddc2b40a8705c6ea7fa8d48">illegal</a>;</div>
|
|
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  *begin = <span class="keyword">static_cast<</span><span class="keywordtype">char</span><span class="keyword">></span>(u);</div>
|
|
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="keywordflow">return</span> 1;</div>
|
|
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  }</div>
|
|
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  };</div>
|
|
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span> </div>
|
|
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  BOOST_LOCALE_DECL std::auto_ptr<base_converter> <a class="code" href="namespaceboost_1_1locale_1_1util.html#aa8e8480ddadc3e972aeb4d468446db64">create_utf8_converter</a>();</div>
|
|
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  BOOST_LOCALE_DECL std::auto_ptr<base_converter> <a class="code" href="namespaceboost_1_1locale_1_1util.html#a79624ad8d782ad41d5edf90b6c830631">create_simple_converter</a>(std::string <span class="keyword">const</span> &encoding);</div>
|
|
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span> </div>
|
|
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span> </div>
|
|
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  BOOST_LOCALE_DECL</div>
|
|
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  std::locale <a class="code" href="namespaceboost_1_1locale_1_1util.html#a3e6728910dc947c3062c6bfd28b70fc4">create_codecvt</a>(std::locale <span class="keyword">const</span> &in,std::auto_ptr<base_converter> cvt,<a class="code" href="namespaceboost_1_1locale.html#a8c993aaf15e683e97d062560ccf914d8">character_facet_type</a> type);</div>
|
|
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span> </div>
|
|
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  BOOST_LOCALE_DECL</div>
|
|
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  std::locale <a class="code" href="namespaceboost_1_1locale_1_1util.html#aedf56793c0804295e06cf97300b991f8">create_utf8_codecvt</a>(std::locale <span class="keyword">const</span> &in,<a class="code" href="namespaceboost_1_1locale.html#a8c993aaf15e683e97d062560ccf914d8">character_facet_type</a> type);</div>
|
|
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span> </div>
|
|
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  BOOST_LOCALE_DECL</div>
|
|
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  std::locale <a class="code" href="namespaceboost_1_1locale_1_1util.html#a674c01466528780b9076a191e84e05fa">create_simple_codecvt</a>(std::locale <span class="keyword">const</span> &in,std::string <span class="keyword">const</span> &encoding,<a class="code" href="namespaceboost_1_1locale.html#a8c993aaf15e683e97d062560ccf914d8">character_facet_type</a> type);</div>
|
|
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span> } <span class="comment">// util</span></div>
|
|
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span> } <span class="comment">// locale </span></div>
|
|
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span> } <span class="comment">// boost</span></div>
|
|
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span> </div>
|
|
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span> <span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span> <span class="preprocessor"></span><span class="comment">// vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4</span></div>
|
|
<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>
|
|
<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>
|
|
<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>
|
|
<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>
|
|
<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 *&begin, char const *end)</div><div class="ttdef"><b>Definition:</b> util.hpp:141</div></div>
|
|
<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 &in, std::string const &name)</div><div class="ttdoc">Installs information facet to locale in based on locale name name. </div></div>
|
|
<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 &in, std::auto_ptr< base_converter > cvt, character_facet_type type)</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_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>
|
|
<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< base_converter > create_utf8_converter()</div></div>
|
|
<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>
|
|
<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>
|
|
<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>
|
|
<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>
|
|
<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< base_converter > create_simple_converter(std::string const &encoding)</div></div>
|
|
<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 &in, std::string const &encoding, character_facet_type type)</div></div>
|
|
<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>
|
|
<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 &in, character_facet_type type)</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>
|