ff3fe57f08
BOOST_LOCALE_ENABLE_CHAR16_T/BOOST_LOCALE_ENABLE_CHAR32_T
354 lines
58 KiB
HTML
354 lines
58 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/conversion.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('conversion_8hpp_source.html','');});
|
|
</script>
|
|
<div id="doc-content">
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">conversion.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_CONVERTER_HPP_INCLUDED</span></div>
|
|
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor"></span><span class="preprocessor">#define BOOST_LOCALE_CONVERTER_HPP_INCLUDED</span></div>
|
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor"></span></div>
|
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#include <boost/locale/config.hpp></span></div>
|
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#ifdef BOOST_MSVC</span></div>
|
|
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor"></span><span class="preprocessor"># pragma warning(push)</span></div>
|
|
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor"></span><span class="preprocessor"># pragma warning(disable : 4275 4251 4231 4660)</span></div>
|
|
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor"></span><span class="preprocessor">#include <locale></span></div>
|
|
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div>
|
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div>
|
|
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">namespace </span>boost {</div>
|
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  <span class="keyword">namespace </span>locale {</div>
|
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  </div>
|
|
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  </div>
|
|
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1converter__base.html"> 33</a></span>  <span class="keyword">class </span><a class="code" href="classboost_1_1locale_1_1converter__base.html">converter_base</a> {</div>
|
|
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keyword">public</span>:</div>
|
|
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1converter__base.html#a726bc2bbcbb6f1e550cca14163fb669b"> 38</a></span>  <span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
|
|
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1converter__base.html#a726bc2bbcbb6f1e550cca14163fb669bae20bf7eface68062a0b9f2396833354a"> 39</a></span>  <a class="code" href="classboost_1_1locale_1_1converter__base.html#a726bc2bbcbb6f1e550cca14163fb669bae20bf7eface68062a0b9f2396833354a">normalization</a>, </div>
|
|
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1converter__base.html#a726bc2bbcbb6f1e550cca14163fb669ba0fee54e09732910ab30856d0e34c8ad2"> 40</a></span>  <a class="code" href="classboost_1_1locale_1_1converter__base.html#a726bc2bbcbb6f1e550cca14163fb669ba0fee54e09732910ab30856d0e34c8ad2">upper_case</a>, </div>
|
|
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1converter__base.html#a726bc2bbcbb6f1e550cca14163fb669ba2c5c38c6bc6ca01fb9e573c148ba8ebe"> 41</a></span>  <a class="code" href="classboost_1_1locale_1_1converter__base.html#a726bc2bbcbb6f1e550cca14163fb669ba2c5c38c6bc6ca01fb9e573c148ba8ebe">lower_case</a>, </div>
|
|
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1converter__base.html#a726bc2bbcbb6f1e550cca14163fb669ba91936aed5b7c3a82b4d2c2354ead03d3"> 42</a></span>  <a class="code" href="classboost_1_1locale_1_1converter__base.html#a726bc2bbcbb6f1e550cca14163fb669ba91936aed5b7c3a82b4d2c2354ead03d3">case_folding</a>, </div>
|
|
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1converter__base.html#a726bc2bbcbb6f1e550cca14163fb669bac136b257286085de7bd7eb4a7876dfa7"> 43</a></span>  <a class="code" href="classboost_1_1locale_1_1converter__base.html#a726bc2bbcbb6f1e550cca14163fb669bac136b257286085de7bd7eb4a7876dfa7">title_case</a> </div>
|
|
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  } <a class="code" href="classboost_1_1locale_1_1converter__base.html#a726bc2bbcbb6f1e550cca14163fb669b">conversion_type</a>;</div>
|
|
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  };</div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keyword">template</span><<span class="keyword">typename</span> CharType></div>
|
|
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1converter.html"> 48</a></span>  <span class="keyword">class </span><a class="code" href="classboost_1_1locale_1_1converter.html">converter</a>;</div>
|
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> </div>
|
|
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="preprocessor"> #ifdef BOOST_LOCALE_DOXYGEN</span></div>
|
|
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="preprocessor"></span> <span class="keyword">template</span><<span class="keyword">typename</span> Char></div>
|
|
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keyword">class </span>BOOST_LOCALE_DECL <a class="code" href="classboost_1_1locale_1_1converter.html">converter</a>: <span class="keyword">public</span> <a class="code" href="classboost_1_1locale_1_1converter__base.html">converter_base</a>, <span class="keyword">public</span> std::locale::facet {</div>
|
|
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keyword">public</span>:</div>
|
|
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1converter.html#ae18f930e621fbe9848d08a91138f37e1"> 61</a></span>  <span class="keyword">static</span> std::locale::id <a class="code" href="classboost_1_1locale_1_1converter.html#ae18f930e621fbe9848d08a91138f37e1">id</a>;</div>
|
|
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> </div>
|
|
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1converter.html#aa9bd91f48f4ce7b6c270c5281c8b0313"> 64</a></span>  <a class="code" href="classboost_1_1locale_1_1converter.html#aa9bd91f48f4ce7b6c270c5281c8b0313">converter</a>(<span class="keywordtype">size_t</span> refs = 0) : std::locale::facet(refs)</div>
|
|
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  {</div>
|
|
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  }</div>
|
|
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keyword">virtual</span> std::basic_string<Char> convert(conversion_type how,Char <span class="keyword">const</span> *begin,Char <span class="keyword">const</span> *end,<span class="keywordtype">int</span> flags = 0) <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="preprocessor">#if defined (__SUNPRO_CC) && defined (_RWSTD_VER)</span></div>
|
|
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="preprocessor"></span> std::locale::id& __get_id (<span class="keywordtype">void</span>)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> id; }</div>
|
|
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="preprocessor"></span> };</div>
|
|
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="preprocessor"> #else</span></div>
|
|
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="preprocessor"></span></div>
|
|
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keyword">template</span><></div>
|
|
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keyword">class </span>BOOST_LOCALE_DECL converter<char> : <span class="keyword">public</span> converter_base, <span class="keyword">public</span> std::locale::facet {</div>
|
|
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keyword">public</span>:</div>
|
|
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keyword">static</span> std::locale::id id;</div>
|
|
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div>
|
|
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  converter(<span class="keywordtype">size_t</span> refs = 0) : std::locale::facet(refs)</div>
|
|
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  {</div>
|
|
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  }</div>
|
|
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keyword">virtual</span> std::string convert(conversion_type how,<span class="keywordtype">char</span> <span class="keyword">const</span> *begin,<span class="keywordtype">char</span> <span class="keyword">const</span> *end,<span class="keywordtype">int</span> flags = 0) <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="preprocessor">#if defined (__SUNPRO_CC) && defined (_RWSTD_VER)</span></div>
|
|
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="preprocessor"></span> std::locale::id& __get_id (<span class="keywordtype">void</span>)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> id; }</div>
|
|
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="preprocessor"></span> };</div>
|
|
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> </div>
|
|
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keyword">template</span><></div>
|
|
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keyword">class </span>BOOST_LOCALE_DECL converter<wchar_t> : <span class="keyword">public</span> converter_base, <span class="keyword">public</span> std::locale::facet {</div>
|
|
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keyword">public</span>:</div>
|
|
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keyword">static</span> std::locale::id id;</div>
|
|
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  converter(<span class="keywordtype">size_t</span> refs = 0) : std::locale::facet(refs)</div>
|
|
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  {</div>
|
|
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  }</div>
|
|
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keyword">virtual</span> std::wstring convert(conversion_type how,<span class="keywordtype">wchar_t</span> <span class="keyword">const</span> *begin,<span class="keywordtype">wchar_t</span> <span class="keyword">const</span> *end,<span class="keywordtype">int</span> flags = 0) <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="preprocessor">#if defined (__SUNPRO_CC) && defined (_RWSTD_VER)</span></div>
|
|
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <span class="preprocessor"></span> std::locale::id& __get_id (<span class="keywordtype">void</span>)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> id; }</div>
|
|
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="preprocessor"></span> };</div>
|
|
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> </div>
|
|
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> <span class="preprocessor"> #ifdef BOOST_LOCALE_ENABLE_CHAR16_T</span></div>
|
|
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> <span class="preprocessor"></span> <span class="keyword">template</span><></div>
|
|
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keyword">class </span>BOOST_LOCALE_DECL converter<char16_t> : <span class="keyword">public</span> converter_base, <span class="keyword">public</span> std::locale::facet {</div>
|
|
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keyword">public</span>:</div>
|
|
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keyword">static</span> std::locale::id id;</div>
|
|
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  converter(<span class="keywordtype">size_t</span> refs = 0) : std::locale::facet(refs)</div>
|
|
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  {</div>
|
|
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  }</div>
|
|
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="keyword">virtual</span> std::u16string convert(conversion_type how,char16_t <span class="keyword">const</span> *begin,char16_t <span class="keyword">const</span> *end,<span class="keywordtype">int</span> flags = 0) <span class="keyword">const</span> = 0; </div>
|
|
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> <span class="preprocessor">#if defined (__SUNPRO_CC) && defined (_RWSTD_VER)</span></div>
|
|
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> <span class="preprocessor"></span> std::locale::id& __get_id (<span class="keywordtype">void</span>)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> id; }</div>
|
|
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> <span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="preprocessor"></span> };</div>
|
|
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> <span class="preprocessor"> #endif</span></div>
|
|
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> <span class="preprocessor"></span></div>
|
|
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> <span class="preprocessor"> #ifdef BOOST_LOCALE_ENABLE_CHAR32_T</span></div>
|
|
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> <span class="preprocessor"></span> <span class="keyword">template</span><></div>
|
|
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keyword">class </span>BOOST_LOCALE_DECL converter<char32_t> : <span class="keyword">public</span> converter_base, <span class="keyword">public</span> std::locale::facet {</div>
|
|
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keyword">public</span>:</div>
|
|
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keyword">static</span> std::locale::id id;</div>
|
|
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  converter(<span class="keywordtype">size_t</span> refs = 0) : std::locale::facet(refs)</div>
|
|
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  {</div>
|
|
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  }</div>
|
|
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keyword">virtual</span> std::u32string convert(conversion_type how,char32_t <span class="keyword">const</span> *begin,char32_t <span class="keyword">const</span> *end,<span class="keywordtype">int</span> flags = 0) <span class="keyword">const</span> = 0;</div>
|
|
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> <span class="preprocessor">#if defined (__SUNPRO_CC) && defined (_RWSTD_VER)</span></div>
|
|
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> <span class="preprocessor"></span> std::locale::id& __get_id (<span class="keywordtype">void</span>)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> id; }</div>
|
|
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> <span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span> <span class="preprocessor"></span> };</div>
|
|
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> <span class="preprocessor"> #endif</span></div>
|
|
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> <span class="preprocessor"></span></div>
|
|
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> <span class="preprocessor"> #endif</span></div>
|
|
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> <span class="preprocessor"></span></div>
|
|
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span> </div>
|
|
<div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="group__convert.html#ga6a595a415b83b8a0c8f14c34eb66cc9f"> 141</a></span>  <span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
|
|
<div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="group__convert.html#gga6a595a415b83b8a0c8f14c34eb66cc9fa6648d0eabb931f2e9d258570b297e98f"> 142</a></span>  <a class="code" href="group__convert.html#gga6a595a415b83b8a0c8f14c34eb66cc9fa6648d0eabb931f2e9d258570b297e98f">norm_nfd</a>, </div>
|
|
<div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="group__convert.html#gga6a595a415b83b8a0c8f14c34eb66cc9faf6fe7be275e5e13df415ab258105ada0"> 143</a></span>  <a class="code" href="group__convert.html#gga6a595a415b83b8a0c8f14c34eb66cc9faf6fe7be275e5e13df415ab258105ada0">norm_nfc</a>, </div>
|
|
<div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="group__convert.html#gga6a595a415b83b8a0c8f14c34eb66cc9fa0fbc2ac042fc6f58af5818bfd06d5379"> 144</a></span>  <a class="code" href="group__convert.html#gga6a595a415b83b8a0c8f14c34eb66cc9fa0fbc2ac042fc6f58af5818bfd06d5379">norm_nfkd</a>, </div>
|
|
<div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="group__convert.html#gga6a595a415b83b8a0c8f14c34eb66cc9fa0305c1f3405ea70facf4c6a5ffa40583"> 145</a></span>  <a class="code" href="group__convert.html#gga6a595a415b83b8a0c8f14c34eb66cc9fa0305c1f3405ea70facf4c6a5ffa40583">norm_nfkc</a>, </div>
|
|
<div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="group__convert.html#gga6a595a415b83b8a0c8f14c34eb66cc9faa29173d73d9be7fefcbb18c8712465d2"> 146</a></span>  <a class="code" href="group__convert.html#gga6a595a415b83b8a0c8f14c34eb66cc9faa29173d73d9be7fefcbb18c8712465d2">norm_default</a> = <a class="code" href="group__convert.html#gga6a595a415b83b8a0c8f14c34eb66cc9faf6fe7be275e5e13df415ab258105ada0">norm_nfc</a>, </div>
|
|
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  } <a class="code" href="group__convert.html#ga6a595a415b83b8a0c8f14c34eb66cc9f">norm_type</a>;</div>
|
|
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  </div>
|
|
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <span class="keyword">template</span><<span class="keyword">typename</span> CharType></div>
|
|
<div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="group__convert.html#ga867733c9d4455aaa13a42cf67367d575"> 159</a></span>  std::basic_string<CharType> <a class="code" href="group__convert.html#ga867733c9d4455aaa13a42cf67367d575">normalize</a>(std::basic_string<CharType> <span class="keyword">const</span> &str,<a class="code" href="group__convert.html#ga6a595a415b83b8a0c8f14c34eb66cc9f">norm_type</a> n=<a class="code" href="group__convert.html#gga6a595a415b83b8a0c8f14c34eb66cc9faa29173d73d9be7fefcbb18c8712465d2">norm_default</a>,std::locale <span class="keyword">const</span> &loc=std::locale())</div>
|
|
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  {</div>
|
|
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="keywordflow">return</span> std::use_facet<converter<CharType> >(loc).convert(<a class="code" href="classboost_1_1locale_1_1converter__base.html#a726bc2bbcbb6f1e550cca14163fb669bae20bf7eface68062a0b9f2396833354a">converter_base::normalization</a>,str.data(),str.data() + str.size(),n);</div>
|
|
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  }</div>
|
|
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> </div>
|
|
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="keyword">template</span><<span class="keyword">typename</span> CharType></div>
|
|
<div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="group__convert.html#gaa2e01f28fa12ea71a6318f8277f2745e"> 174</a></span>  std::basic_string<CharType> <a class="code" href="group__convert.html#ga867733c9d4455aaa13a42cf67367d575">normalize</a>(CharType <span class="keyword">const</span> *str,<a class="code" href="group__convert.html#ga6a595a415b83b8a0c8f14c34eb66cc9f">norm_type</a> n=<a class="code" href="group__convert.html#gga6a595a415b83b8a0c8f14c34eb66cc9faa29173d73d9be7fefcbb18c8712465d2">norm_default</a>,std::locale <span class="keyword">const</span> &loc=std::locale())</div>
|
|
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  {</div>
|
|
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  CharType <span class="keyword">const</span> *end=str;</div>
|
|
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="keywordflow">while</span>(*end)</div>
|
|
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  end++;</div>
|
|
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keywordflow">return</span> std::use_facet<converter<CharType> >(loc).convert(<a class="code" href="classboost_1_1locale_1_1converter__base.html#a726bc2bbcbb6f1e550cca14163fb669bae20bf7eface68062a0b9f2396833354a">converter_base::normalization</a>,str,end,n);</div>
|
|
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  }</div>
|
|
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  </div>
|
|
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  <span class="keyword">template</span><<span class="keyword">typename</span> CharType></div>
|
|
<div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="group__convert.html#ga03ee131e44c37c2191d15683cc281e5f"> 192</a></span>  std::basic_string<CharType> <a class="code" href="group__convert.html#ga867733c9d4455aaa13a42cf67367d575">normalize</a>( CharType <span class="keyword">const</span> *begin,</div>
|
|
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  CharType <span class="keyword">const</span> *end,</div>
|
|
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  <a class="code" href="group__convert.html#ga6a595a415b83b8a0c8f14c34eb66cc9f">norm_type</a> n=<a class="code" href="group__convert.html#gga6a595a415b83b8a0c8f14c34eb66cc9faa29173d73d9be7fefcbb18c8712465d2">norm_default</a>,</div>
|
|
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  std::locale <span class="keyword">const</span> &loc=std::locale())</div>
|
|
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  {</div>
|
|
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="keywordflow">return</span> std::use_facet<converter<CharType> >(loc).convert(<a class="code" href="classboost_1_1locale_1_1converter__base.html#a726bc2bbcbb6f1e550cca14163fb669bae20bf7eface68062a0b9f2396833354a">converter_base::normalization</a>,begin,end,n);</div>
|
|
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  }</div>
|
|
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span> </div>
|
|
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  </div>
|
|
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span> </div>
|
|
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <span class="keyword">template</span><<span class="keyword">typename</span> CharType></div>
|
|
<div class="line"><a name="l00209"></a><span class="lineno"><a class="line" href="group__convert.html#ga2ceae621801e8cf4f77c60d1e3047ae8"> 209</a></span>  std::basic_string<CharType> <a class="code" href="group__convert.html#ga2ceae621801e8cf4f77c60d1e3047ae8">to_upper</a>(std::basic_string<CharType> <span class="keyword">const</span> &str,std::locale <span class="keyword">const</span> &loc=std::locale())</div>
|
|
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  {</div>
|
|
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <span class="keywordflow">return</span> std::use_facet<converter<CharType> >(loc).convert(<a class="code" href="classboost_1_1locale_1_1converter__base.html#a726bc2bbcbb6f1e550cca14163fb669ba0fee54e09732910ab30856d0e34c8ad2">converter_base::upper_case</a>,str.data(),str.data()+str.size());</div>
|
|
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  }</div>
|
|
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  </div>
|
|
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  <span class="keyword">template</span><<span class="keyword">typename</span> CharType></div>
|
|
<div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="group__convert.html#ga2197dbd88d8b42a5e6b2b76fb67ed07d"> 220</a></span>  std::basic_string<CharType> <a class="code" href="group__convert.html#ga2ceae621801e8cf4f77c60d1e3047ae8">to_upper</a>(CharType <span class="keyword">const</span> *str,std::locale <span class="keyword">const</span> &loc=std::locale())</div>
|
|
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  {</div>
|
|
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  CharType <span class="keyword">const</span> *end=str;</div>
|
|
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  <span class="keywordflow">while</span>(*end)</div>
|
|
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  end++;</div>
|
|
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <span class="keywordflow">return</span> std::use_facet<converter<CharType> >(loc).convert(<a class="code" href="classboost_1_1locale_1_1converter__base.html#a726bc2bbcbb6f1e550cca14163fb669ba0fee54e09732910ab30856d0e34c8ad2">converter_base::upper_case</a>,str,end);</div>
|
|
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  }</div>
|
|
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  </div>
|
|
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  <span class="keyword">template</span><<span class="keyword">typename</span> CharType></div>
|
|
<div class="line"><a name="l00234"></a><span class="lineno"><a class="line" href="group__convert.html#ga55257608f61f0bde86f7306b477c993a"> 234</a></span>  std::basic_string<CharType> <a class="code" href="group__convert.html#ga2ceae621801e8cf4f77c60d1e3047ae8">to_upper</a>(CharType <span class="keyword">const</span> *begin,CharType <span class="keyword">const</span> *end,std::locale <span class="keyword">const</span> &loc=std::locale())</div>
|
|
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  {</div>
|
|
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  <span class="keywordflow">return</span> std::use_facet<converter<CharType> >(loc).convert(<a class="code" href="classboost_1_1locale_1_1converter__base.html#a726bc2bbcbb6f1e550cca14163fb669ba0fee54e09732910ab30856d0e34c8ad2">converter_base::upper_case</a>,begin,end);</div>
|
|
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  }</div>
|
|
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span> </div>
|
|
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  </div>
|
|
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span> </div>
|
|
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  <span class="keyword">template</span><<span class="keyword">typename</span> CharType></div>
|
|
<div class="line"><a name="l00248"></a><span class="lineno"><a class="line" href="group__convert.html#ga4a3eb15f42f5cbae7bdd00c9e9cac222"> 248</a></span>  std::basic_string<CharType> <a class="code" href="group__convert.html#ga4a3eb15f42f5cbae7bdd00c9e9cac222">to_lower</a>(std::basic_string<CharType> <span class="keyword">const</span> &str,std::locale <span class="keyword">const</span> &loc=std::locale())</div>
|
|
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  {</div>
|
|
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  <span class="keywordflow">return</span> std::use_facet<converter<CharType> >(loc).convert(<a class="code" href="classboost_1_1locale_1_1converter__base.html#a726bc2bbcbb6f1e550cca14163fb669ba2c5c38c6bc6ca01fb9e573c148ba8ebe">converter_base::lower_case</a>,str.data(),str.data()+str.size());</div>
|
|
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  }</div>
|
|
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  </div>
|
|
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  <span class="keyword">template</span><<span class="keyword">typename</span> CharType></div>
|
|
<div class="line"><a name="l00259"></a><span class="lineno"><a class="line" href="group__convert.html#gaa7854d1e3ce4c854f4e1fa18703ffed2"> 259</a></span>  std::basic_string<CharType> <a class="code" href="group__convert.html#ga4a3eb15f42f5cbae7bdd00c9e9cac222">to_lower</a>(CharType <span class="keyword">const</span> *str,std::locale <span class="keyword">const</span> &loc=std::locale())</div>
|
|
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  {</div>
|
|
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  CharType <span class="keyword">const</span> *end=str;</div>
|
|
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  <span class="keywordflow">while</span>(*end)</div>
|
|
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  end++;</div>
|
|
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  <span class="keywordflow">return</span> std::use_facet<converter<CharType> >(loc).convert(<a class="code" href="classboost_1_1locale_1_1converter__base.html#a726bc2bbcbb6f1e550cca14163fb669ba2c5c38c6bc6ca01fb9e573c148ba8ebe">converter_base::lower_case</a>,str,end);</div>
|
|
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  }</div>
|
|
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  </div>
|
|
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  <span class="keyword">template</span><<span class="keyword">typename</span> CharType></div>
|
|
<div class="line"><a name="l00273"></a><span class="lineno"><a class="line" href="group__convert.html#ga4763a6d37777254390658d1e050262a5"> 273</a></span>  std::basic_string<CharType> <a class="code" href="group__convert.html#ga4a3eb15f42f5cbae7bdd00c9e9cac222">to_lower</a>(CharType <span class="keyword">const</span> *begin,CharType <span class="keyword">const</span> *end,std::locale <span class="keyword">const</span> &loc=std::locale())</div>
|
|
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  {</div>
|
|
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  <span class="keywordflow">return</span> std::use_facet<converter<CharType> >(loc).convert(<a class="code" href="classboost_1_1locale_1_1converter__base.html#a726bc2bbcbb6f1e550cca14163fb669ba2c5c38c6bc6ca01fb9e573c148ba8ebe">converter_base::lower_case</a>,begin,end);</div>
|
|
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  }</div>
|
|
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  </div>
|
|
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span> </div>
|
|
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  <span class="keyword">template</span><<span class="keyword">typename</span> CharType></div>
|
|
<div class="line"><a name="l00286"></a><span class="lineno"><a class="line" href="group__convert.html#ga684efb375e060c71cd3e1799a6329f7f"> 286</a></span>  std::basic_string<CharType> <a class="code" href="group__convert.html#ga684efb375e060c71cd3e1799a6329f7f">to_title</a>(std::basic_string<CharType> <span class="keyword">const</span> &str,std::locale <span class="keyword">const</span> &loc=std::locale())</div>
|
|
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  {</div>
|
|
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  <span class="keywordflow">return</span> std::use_facet<converter<CharType> >(loc).convert(<a class="code" href="classboost_1_1locale_1_1converter__base.html#a726bc2bbcbb6f1e550cca14163fb669bac136b257286085de7bd7eb4a7876dfa7">converter_base::title_case</a>,str.data(),str.data()+str.size());</div>
|
|
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  }</div>
|
|
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  </div>
|
|
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  <span class="keyword">template</span><<span class="keyword">typename</span> CharType></div>
|
|
<div class="line"><a name="l00297"></a><span class="lineno"><a class="line" href="group__convert.html#ga16e9258de2d6009546fb0fb07afd67b7"> 297</a></span>  std::basic_string<CharType> <a class="code" href="group__convert.html#ga684efb375e060c71cd3e1799a6329f7f">to_title</a>(CharType <span class="keyword">const</span> *str,std::locale <span class="keyword">const</span> &loc=std::locale())</div>
|
|
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  {</div>
|
|
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  CharType <span class="keyword">const</span> *end=str;</div>
|
|
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  <span class="keywordflow">while</span>(*end)</div>
|
|
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  end++;</div>
|
|
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  <span class="keywordflow">return</span> std::use_facet<converter<CharType> >(loc).convert(<a class="code" href="classboost_1_1locale_1_1converter__base.html#a726bc2bbcbb6f1e550cca14163fb669bac136b257286085de7bd7eb4a7876dfa7">converter_base::title_case</a>,str,end);</div>
|
|
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  }</div>
|
|
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  </div>
|
|
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  <span class="keyword">template</span><<span class="keyword">typename</span> CharType></div>
|
|
<div class="line"><a name="l00311"></a><span class="lineno"><a class="line" href="group__convert.html#gab2ff15b36c6f177737c7ae737eb70794"> 311</a></span>  std::basic_string<CharType> <a class="code" href="group__convert.html#ga684efb375e060c71cd3e1799a6329f7f">to_title</a>(CharType <span class="keyword">const</span> *begin,CharType <span class="keyword">const</span> *end,std::locale <span class="keyword">const</span> &loc=std::locale())</div>
|
|
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  {</div>
|
|
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  <span class="keywordflow">return</span> std::use_facet<converter<CharType> >(loc).convert(<a class="code" href="classboost_1_1locale_1_1converter__base.html#a726bc2bbcbb6f1e550cca14163fb669bac136b257286085de7bd7eb4a7876dfa7">converter_base::title_case</a>,begin,end);</div>
|
|
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  }</div>
|
|
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span> </div>
|
|
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  </div>
|
|
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span> </div>
|
|
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  <span class="keyword">template</span><<span class="keyword">typename</span> CharType></div>
|
|
<div class="line"><a name="l00325"></a><span class="lineno"><a class="line" href="group__convert.html#gadf59d16355babd955766deef89d470ea"> 325</a></span>  std::basic_string<CharType> <a class="code" href="group__convert.html#gadf59d16355babd955766deef89d470ea">fold_case</a>(std::basic_string<CharType> <span class="keyword">const</span> &str,std::locale <span class="keyword">const</span> &loc=std::locale())</div>
|
|
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  {</div>
|
|
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  <span class="keywordflow">return</span> std::use_facet<converter<CharType> >(loc).convert(<a class="code" href="classboost_1_1locale_1_1converter__base.html#a726bc2bbcbb6f1e550cca14163fb669ba91936aed5b7c3a82b4d2c2354ead03d3">converter_base::case_folding</a>,str.data(),str.data()+str.size());</div>
|
|
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  }</div>
|
|
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  </div>
|
|
<div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  <span class="keyword">template</span><<span class="keyword">typename</span> CharType></div>
|
|
<div class="line"><a name="l00336"></a><span class="lineno"><a class="line" href="group__convert.html#ga297f148881cbfce1edd747a22e451ee6"> 336</a></span>  std::basic_string<CharType> <a class="code" href="group__convert.html#gadf59d16355babd955766deef89d470ea">fold_case</a>(CharType <span class="keyword">const</span> *str,std::locale <span class="keyword">const</span> &loc=std::locale())</div>
|
|
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  {</div>
|
|
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  CharType <span class="keyword">const</span> *end=str;</div>
|
|
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  <span class="keywordflow">while</span>(*end)</div>
|
|
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  end++;</div>
|
|
<div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  <span class="keywordflow">return</span> std::use_facet<converter<CharType> >(loc).convert(<a class="code" href="classboost_1_1locale_1_1converter__base.html#a726bc2bbcbb6f1e550cca14163fb669ba91936aed5b7c3a82b4d2c2354ead03d3">converter_base::case_folding</a>,str,end);</div>
|
|
<div class="line"><a name="l00342"></a><span class="lineno"> 342</span>  }</div>
|
|
<div class="line"><a name="l00343"></a><span class="lineno"> 343</span>  </div>
|
|
<div class="line"><a name="l00349"></a><span class="lineno"> 349</span>  <span class="keyword">template</span><<span class="keyword">typename</span> CharType></div>
|
|
<div class="line"><a name="l00350"></a><span class="lineno"><a class="line" href="group__convert.html#gabcb2a619f203306eee30b03061a5cbee"> 350</a></span>  std::basic_string<CharType> <a class="code" href="group__convert.html#gadf59d16355babd955766deef89d470ea">fold_case</a>(CharType <span class="keyword">const</span> *begin,CharType <span class="keyword">const</span> *end,std::locale <span class="keyword">const</span> &loc=std::locale())</div>
|
|
<div class="line"><a name="l00351"></a><span class="lineno"> 351</span>  {</div>
|
|
<div class="line"><a name="l00352"></a><span class="lineno"> 352</span>  <span class="keywordflow">return</span> std::use_facet<converter<CharType> >(loc).convert(<a class="code" href="classboost_1_1locale_1_1converter__base.html#a726bc2bbcbb6f1e550cca14163fb669ba91936aed5b7c3a82b4d2c2354ead03d3">converter_base::case_folding</a>,begin,end);</div>
|
|
<div class="line"><a name="l00353"></a><span class="lineno"> 353</span>  }</div>
|
|
<div class="line"><a name="l00354"></a><span class="lineno"> 354</span> </div>
|
|
<div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  } <span class="comment">// locale</span></div>
|
|
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span> </div>
|
|
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span> } <span class="comment">// boost</span></div>
|
|
<div class="line"><a name="l00361"></a><span class="lineno"> 361</span> </div>
|
|
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span> <span class="preprocessor">#ifdef BOOST_MSVC</span></div>
|
|
<div class="line"><a name="l00363"></a><span class="lineno"> 363</span> <span class="preprocessor"></span><span class="preprocessor">#pragma warning(pop)</span></div>
|
|
<div class="line"><a name="l00364"></a><span class="lineno"> 364</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00365"></a><span class="lineno"> 365</span> <span class="preprocessor"></span></div>
|
|
<div class="line"><a name="l00366"></a><span class="lineno"> 366</span> </div>
|
|
<div class="line"><a name="l00367"></a><span class="lineno"> 367</span> <span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00368"></a><span class="lineno"> 368</span> <span class="preprocessor"></span></div>
|
|
<div class="line"><a name="l00378"></a><span class="lineno"> 378</span> </div>
|
|
<div class="line"><a name="l00379"></a><span class="lineno"> 379</span> <span class="comment">// vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4</span></div>
|
|
<div class="line"><a name="l00380"></a><span class="lineno"> 380</span> </div>
|
|
<div class="ttc" id="group__convert_html_gga6a595a415b83b8a0c8f14c34eb66cc9fa6648d0eabb931f2e9d258570b297e98f"><div class="ttname"><a href="group__convert.html#gga6a595a415b83b8a0c8f14c34eb66cc9fa6648d0eabb931f2e9d258570b297e98f">boost::locale::norm_nfd</a></div><div class="ttdoc">Canonical decomposition. </div><div class="ttdef"><b>Definition:</b> conversion.hpp:142</div></div>
|
|
<div class="ttc" id="group__convert_html_gadf59d16355babd955766deef89d470ea"><div class="ttname"><a href="group__convert.html#gadf59d16355babd955766deef89d470ea">boost::locale::fold_case</a></div><div class="ttdeci">std::basic_string< CharType > fold_case(std::basic_string< CharType > const &str, std::locale const &loc=std::locale())</div><div class="ttdef"><b>Definition:</b> conversion.hpp:325</div></div>
|
|
<div class="ttc" id="classboost_1_1locale_1_1converter__base_html_a726bc2bbcbb6f1e550cca14163fb669bae20bf7eface68062a0b9f2396833354a"><div class="ttname"><a href="classboost_1_1locale_1_1converter__base.html#a726bc2bbcbb6f1e550cca14163fb669bae20bf7eface68062a0b9f2396833354a">boost::locale::converter_base::normalization</a></div><div class="ttdoc">Apply Unicode normalization on the text. </div><div class="ttdef"><b>Definition:</b> conversion.hpp:39</div></div>
|
|
<div class="ttc" id="classboost_1_1locale_1_1converter_html"><div class="ttname"><a href="classboost_1_1locale_1_1converter.html">boost::locale::converter</a></div><div class="ttdoc">The facet that implements text manipulation. </div><div class="ttdef"><b>Definition:</b> conversion.hpp:48</div></div>
|
|
<div class="ttc" id="classboost_1_1locale_1_1converter__base_html_a726bc2bbcbb6f1e550cca14163fb669ba2c5c38c6bc6ca01fb9e573c148ba8ebe"><div class="ttname"><a href="classboost_1_1locale_1_1converter__base.html#a726bc2bbcbb6f1e550cca14163fb669ba2c5c38c6bc6ca01fb9e573c148ba8ebe">boost::locale::converter_base::lower_case</a></div><div class="ttdoc">Convert text to lower case. </div><div class="ttdef"><b>Definition:</b> conversion.hpp:41</div></div>
|
|
<div class="ttc" id="group__convert_html_ga684efb375e060c71cd3e1799a6329f7f"><div class="ttname"><a href="group__convert.html#ga684efb375e060c71cd3e1799a6329f7f">boost::locale::to_title</a></div><div class="ttdeci">std::basic_string< CharType > to_title(std::basic_string< CharType > const &str, std::locale const &loc=std::locale())</div><div class="ttdef"><b>Definition:</b> conversion.hpp:286</div></div>
|
|
<div class="ttc" id="classboost_1_1locale_1_1converter__base_html_a726bc2bbcbb6f1e550cca14163fb669ba0fee54e09732910ab30856d0e34c8ad2"><div class="ttname"><a href="classboost_1_1locale_1_1converter__base.html#a726bc2bbcbb6f1e550cca14163fb669ba0fee54e09732910ab30856d0e34c8ad2">boost::locale::converter_base::upper_case</a></div><div class="ttdoc">Convert text to upper case. </div><div class="ttdef"><b>Definition:</b> conversion.hpp:40</div></div>
|
|
<div class="ttc" id="classboost_1_1locale_1_1converter_html_aa9bd91f48f4ce7b6c270c5281c8b0313"><div class="ttname"><a href="classboost_1_1locale_1_1converter.html#aa9bd91f48f4ce7b6c270c5281c8b0313">boost::locale::converter::converter</a></div><div class="ttdeci">converter(size_t refs=0)</div><div class="ttdoc">Standard constructor. </div><div class="ttdef"><b>Definition:</b> conversion.hpp:64</div></div>
|
|
<div class="ttc" id="group__convert_html_ga2ceae621801e8cf4f77c60d1e3047ae8"><div class="ttname"><a href="group__convert.html#ga2ceae621801e8cf4f77c60d1e3047ae8">boost::locale::to_upper</a></div><div class="ttdeci">std::basic_string< CharType > to_upper(std::basic_string< CharType > const &str, std::locale const &loc=std::locale())</div><div class="ttdef"><b>Definition:</b> conversion.hpp:209</div></div>
|
|
<div class="ttc" id="group__convert_html_gga6a595a415b83b8a0c8f14c34eb66cc9fa0fbc2ac042fc6f58af5818bfd06d5379"><div class="ttname"><a href="group__convert.html#gga6a595a415b83b8a0c8f14c34eb66cc9fa0fbc2ac042fc6f58af5818bfd06d5379">boost::locale::norm_nfkd</a></div><div class="ttdoc">Compatibility decomposition. </div><div class="ttdef"><b>Definition:</b> conversion.hpp:144</div></div>
|
|
<div class="ttc" id="classboost_1_1locale_1_1converter__base_html"><div class="ttname"><a href="classboost_1_1locale_1_1converter__base.html">boost::locale::converter_base</a></div><div class="ttdoc">This class provides base flags for text manipulation. It is used as base for converter facet...</div><div class="ttdef"><b>Definition:</b> conversion.hpp:33</div></div>
|
|
<div class="ttc" id="classboost_1_1locale_1_1converter__base_html_a726bc2bbcbb6f1e550cca14163fb669bac136b257286085de7bd7eb4a7876dfa7"><div class="ttname"><a href="classboost_1_1locale_1_1converter__base.html#a726bc2bbcbb6f1e550cca14163fb669bac136b257286085de7bd7eb4a7876dfa7">boost::locale::converter_base::title_case</a></div><div class="ttdoc">Convert text to title case. </div><div class="ttdef"><b>Definition:</b> conversion.hpp:43</div></div>
|
|
<div class="ttc" id="group__convert_html_ga6a595a415b83b8a0c8f14c34eb66cc9f"><div class="ttname"><a href="group__convert.html#ga6a595a415b83b8a0c8f14c34eb66cc9f">boost::locale::norm_type</a></div><div class="ttdeci">norm_type</div><div class="ttdef"><b>Definition:</b> conversion.hpp:141</div></div>
|
|
<div class="ttc" id="group__convert_html_gga6a595a415b83b8a0c8f14c34eb66cc9fa0305c1f3405ea70facf4c6a5ffa40583"><div class="ttname"><a href="group__convert.html#gga6a595a415b83b8a0c8f14c34eb66cc9fa0305c1f3405ea70facf4c6a5ffa40583">boost::locale::norm_nfkc</a></div><div class="ttdoc">Compatibility decomposition followed by canonical composition. </div><div class="ttdef"><b>Definition:</b> conversion.hpp:145</div></div>
|
|
<div class="ttc" id="classboost_1_1locale_1_1converter_html_ae18f930e621fbe9848d08a91138f37e1"><div class="ttname"><a href="classboost_1_1locale_1_1converter.html#ae18f930e621fbe9848d08a91138f37e1">boost::locale::converter::id</a></div><div class="ttdeci">static std::locale::id id</div><div class="ttdoc">Locale identification. </div><div class="ttdef"><b>Definition:</b> conversion.hpp:61</div></div>
|
|
<div class="ttc" id="classboost_1_1locale_1_1converter__base_html_a726bc2bbcbb6f1e550cca14163fb669b"><div class="ttname"><a href="classboost_1_1locale_1_1converter__base.html#a726bc2bbcbb6f1e550cca14163fb669b">boost::locale::converter_base::conversion_type</a></div><div class="ttdeci">conversion_type</div><div class="ttdef"><b>Definition:</b> conversion.hpp:38</div></div>
|
|
<div class="ttc" id="group__convert_html_ga4a3eb15f42f5cbae7bdd00c9e9cac222"><div class="ttname"><a href="group__convert.html#ga4a3eb15f42f5cbae7bdd00c9e9cac222">boost::locale::to_lower</a></div><div class="ttdeci">std::basic_string< CharType > to_lower(std::basic_string< CharType > const &str, std::locale const &loc=std::locale())</div><div class="ttdef"><b>Definition:</b> conversion.hpp:248</div></div>
|
|
<div class="ttc" id="classboost_1_1locale_1_1converter__base_html_a726bc2bbcbb6f1e550cca14163fb669ba91936aed5b7c3a82b4d2c2354ead03d3"><div class="ttname"><a href="classboost_1_1locale_1_1converter__base.html#a726bc2bbcbb6f1e550cca14163fb669ba91936aed5b7c3a82b4d2c2354ead03d3">boost::locale::converter_base::case_folding</a></div><div class="ttdoc">Fold case in the text. </div><div class="ttdef"><b>Definition:</b> conversion.hpp:42</div></div>
|
|
<div class="ttc" id="group__convert_html_ga867733c9d4455aaa13a42cf67367d575"><div class="ttname"><a href="group__convert.html#ga867733c9d4455aaa13a42cf67367d575">boost::locale::normalize</a></div><div class="ttdeci">std::basic_string< CharType > normalize(std::basic_string< CharType > const &str, norm_type n=norm_default, std::locale const &loc=std::locale())</div><div class="ttdef"><b>Definition:</b> conversion.hpp:159</div></div>
|
|
<div class="ttc" id="group__convert_html_gga6a595a415b83b8a0c8f14c34eb66cc9faf6fe7be275e5e13df415ab258105ada0"><div class="ttname"><a href="group__convert.html#gga6a595a415b83b8a0c8f14c34eb66cc9faf6fe7be275e5e13df415ab258105ada0">boost::locale::norm_nfc</a></div><div class="ttdoc">Canonical decomposition followed by canonical composition. </div><div class="ttdef"><b>Definition:</b> conversion.hpp:143</div></div>
|
|
<div class="ttc" id="group__convert_html_gga6a595a415b83b8a0c8f14c34eb66cc9faa29173d73d9be7fefcbb18c8712465d2"><div class="ttname"><a href="group__convert.html#gga6a595a415b83b8a0c8f14c34eb66cc9faa29173d73d9be7fefcbb18c8712465d2">boost::locale::norm_default</a></div><div class="ttdoc">Default normalization - canonical decomposition followed by canonical composition. </div><div class="ttdef"><b>Definition:</b> conversion.hpp:146</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>
|