• 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: Text Conversions</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><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><!-- top -->
49<div id="side-nav" class="ui-resizable side-nav-resizable">
50  <div id="nav-tree">
51    <div id="nav-tree-contents">
52      <div id="nav-sync" class="sync"></div>
53    </div>
54  </div>
55  <div id="splitbar" style="-moz-user-select:none;"
56       class="ui-resizable-handle">
57  </div>
58</div>
59<script type="text/javascript">
60$(document).ready(function(){initNavTree('group__convert.html','');});
61</script>
62<div id="doc-content">
63<div class="header">
64  <div class="summary">
65<a href="#nested-classes">Classes</a> &#124;
66<a href="#enum-members">Enumerations</a> &#124;
67<a href="#func-members">Functions</a>  </div>
68  <div class="headertitle">
69<div class="title">Text Conversions</div>  </div>
70</div><!--header-->
71<div class="contents">
72<table class="memberdecls">
73<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
74Classes</h2></td></tr>
75<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1converter__base.html">boost::locale::converter_base</a></td></tr>
76<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This class provides base flags for text manipulation. It is used as base for converter facet.  <a href="classboost_1_1locale_1_1converter__base.html#details">More...</a><br/></td></tr>
77<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
78<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1converter.html">boost::locale::converter&lt; CharType &gt;</a></td></tr>
79<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The facet that implements text manipulation.  <a href="classboost_1_1locale_1_1converter.html#details">More...</a><br/></td></tr>
80<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
81</table><table class="memberdecls">
82<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
83Enumerations</h2></td></tr>
84<tr class="memitem:ga6a595a415b83b8a0c8f14c34eb66cc9f"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__convert.html#ga6a595a415b83b8a0c8f14c34eb66cc9f">boost::locale::norm_type</a> { <br/>
85&#160;&#160;<a class="el" href="group__convert.html#gga6a595a415b83b8a0c8f14c34eb66cc9fa6648d0eabb931f2e9d258570b297e98f">boost::locale::norm_nfd</a>,
86<a class="el" href="group__convert.html#gga6a595a415b83b8a0c8f14c34eb66cc9faf6fe7be275e5e13df415ab258105ada0">boost::locale::norm_nfc</a>,
87<a class="el" href="group__convert.html#gga6a595a415b83b8a0c8f14c34eb66cc9fa0fbc2ac042fc6f58af5818bfd06d5379">boost::locale::norm_nfkd</a>,
88<a class="el" href="group__convert.html#gga6a595a415b83b8a0c8f14c34eb66cc9fa0305c1f3405ea70facf4c6a5ffa40583">boost::locale::norm_nfkc</a>,
89<br/>
90&#160;&#160;<a class="el" href="group__convert.html#gga6a595a415b83b8a0c8f14c34eb66cc9faa29173d73d9be7fefcbb18c8712465d2">boost::locale::norm_default</a> = norm_nfc
91<br/>
92 }</td></tr>
93<tr class="separator:ga6a595a415b83b8a0c8f14c34eb66cc9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
94</table><table class="memberdecls">
95<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
96Functions</h2></td></tr>
97<tr class="memitem:ga867733c9d4455aaa13a42cf67367d575"><td class="memTemplParams" colspan="2">template&lt;typename CharType &gt; </td></tr>
98<tr class="memitem:ga867733c9d4455aaa13a42cf67367d575"><td class="memTemplItemLeft" align="right" valign="top">std::basic_string&lt; CharType &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__convert.html#ga867733c9d4455aaa13a42cf67367d575">boost::locale::normalize</a> (std::basic_string&lt; CharType &gt; const &amp;str, norm_type n=norm_default, std::locale const &amp;loc=std::locale())</td></tr>
99<tr class="separator:ga867733c9d4455aaa13a42cf67367d575"><td class="memSeparator" colspan="2">&#160;</td></tr>
100<tr class="memitem:gaa2e01f28fa12ea71a6318f8277f2745e"><td class="memTemplParams" colspan="2">template&lt;typename CharType &gt; </td></tr>
101<tr class="memitem:gaa2e01f28fa12ea71a6318f8277f2745e"><td class="memTemplItemLeft" align="right" valign="top">std::basic_string&lt; CharType &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__convert.html#gaa2e01f28fa12ea71a6318f8277f2745e">boost::locale::normalize</a> (CharType const *str, norm_type n=norm_default, std::locale const &amp;loc=std::locale())</td></tr>
102<tr class="separator:gaa2e01f28fa12ea71a6318f8277f2745e"><td class="memSeparator" colspan="2">&#160;</td></tr>
103<tr class="memitem:ga03ee131e44c37c2191d15683cc281e5f"><td class="memTemplParams" colspan="2">template&lt;typename CharType &gt; </td></tr>
104<tr class="memitem:ga03ee131e44c37c2191d15683cc281e5f"><td class="memTemplItemLeft" align="right" valign="top">std::basic_string&lt; CharType &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__convert.html#ga03ee131e44c37c2191d15683cc281e5f">boost::locale::normalize</a> (CharType const *begin, CharType const *end, norm_type n=norm_default, std::locale const &amp;loc=std::locale())</td></tr>
105<tr class="separator:ga03ee131e44c37c2191d15683cc281e5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
106<tr class="memitem:ga2ceae621801e8cf4f77c60d1e3047ae8"><td class="memTemplParams" colspan="2">template&lt;typename CharType &gt; </td></tr>
107<tr class="memitem:ga2ceae621801e8cf4f77c60d1e3047ae8"><td class="memTemplItemLeft" align="right" valign="top">std::basic_string&lt; CharType &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__convert.html#ga2ceae621801e8cf4f77c60d1e3047ae8">boost::locale::to_upper</a> (std::basic_string&lt; CharType &gt; const &amp;str, std::locale const &amp;loc=std::locale())</td></tr>
108<tr class="separator:ga2ceae621801e8cf4f77c60d1e3047ae8"><td class="memSeparator" colspan="2">&#160;</td></tr>
109<tr class="memitem:ga2197dbd88d8b42a5e6b2b76fb67ed07d"><td class="memTemplParams" colspan="2">template&lt;typename CharType &gt; </td></tr>
110<tr class="memitem:ga2197dbd88d8b42a5e6b2b76fb67ed07d"><td class="memTemplItemLeft" align="right" valign="top">std::basic_string&lt; CharType &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__convert.html#ga2197dbd88d8b42a5e6b2b76fb67ed07d">boost::locale::to_upper</a> (CharType const *str, std::locale const &amp;loc=std::locale())</td></tr>
111<tr class="separator:ga2197dbd88d8b42a5e6b2b76fb67ed07d"><td class="memSeparator" colspan="2">&#160;</td></tr>
112<tr class="memitem:ga55257608f61f0bde86f7306b477c993a"><td class="memTemplParams" colspan="2">template&lt;typename CharType &gt; </td></tr>
113<tr class="memitem:ga55257608f61f0bde86f7306b477c993a"><td class="memTemplItemLeft" align="right" valign="top">std::basic_string&lt; CharType &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__convert.html#ga55257608f61f0bde86f7306b477c993a">boost::locale::to_upper</a> (CharType const *begin, CharType const *end, std::locale const &amp;loc=std::locale())</td></tr>
114<tr class="separator:ga55257608f61f0bde86f7306b477c993a"><td class="memSeparator" colspan="2">&#160;</td></tr>
115<tr class="memitem:ga4a3eb15f42f5cbae7bdd00c9e9cac222"><td class="memTemplParams" colspan="2">template&lt;typename CharType &gt; </td></tr>
116<tr class="memitem:ga4a3eb15f42f5cbae7bdd00c9e9cac222"><td class="memTemplItemLeft" align="right" valign="top">std::basic_string&lt; CharType &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__convert.html#ga4a3eb15f42f5cbae7bdd00c9e9cac222">boost::locale::to_lower</a> (std::basic_string&lt; CharType &gt; const &amp;str, std::locale const &amp;loc=std::locale())</td></tr>
117<tr class="separator:ga4a3eb15f42f5cbae7bdd00c9e9cac222"><td class="memSeparator" colspan="2">&#160;</td></tr>
118<tr class="memitem:gaa7854d1e3ce4c854f4e1fa18703ffed2"><td class="memTemplParams" colspan="2">template&lt;typename CharType &gt; </td></tr>
119<tr class="memitem:gaa7854d1e3ce4c854f4e1fa18703ffed2"><td class="memTemplItemLeft" align="right" valign="top">std::basic_string&lt; CharType &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__convert.html#gaa7854d1e3ce4c854f4e1fa18703ffed2">boost::locale::to_lower</a> (CharType const *str, std::locale const &amp;loc=std::locale())</td></tr>
120<tr class="separator:gaa7854d1e3ce4c854f4e1fa18703ffed2"><td class="memSeparator" colspan="2">&#160;</td></tr>
121<tr class="memitem:ga4763a6d37777254390658d1e050262a5"><td class="memTemplParams" colspan="2">template&lt;typename CharType &gt; </td></tr>
122<tr class="memitem:ga4763a6d37777254390658d1e050262a5"><td class="memTemplItemLeft" align="right" valign="top">std::basic_string&lt; CharType &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__convert.html#ga4763a6d37777254390658d1e050262a5">boost::locale::to_lower</a> (CharType const *begin, CharType const *end, std::locale const &amp;loc=std::locale())</td></tr>
123<tr class="separator:ga4763a6d37777254390658d1e050262a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
124<tr class="memitem:ga684efb375e060c71cd3e1799a6329f7f"><td class="memTemplParams" colspan="2">template&lt;typename CharType &gt; </td></tr>
125<tr class="memitem:ga684efb375e060c71cd3e1799a6329f7f"><td class="memTemplItemLeft" align="right" valign="top">std::basic_string&lt; CharType &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__convert.html#ga684efb375e060c71cd3e1799a6329f7f">boost::locale::to_title</a> (std::basic_string&lt; CharType &gt; const &amp;str, std::locale const &amp;loc=std::locale())</td></tr>
126<tr class="separator:ga684efb375e060c71cd3e1799a6329f7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
127<tr class="memitem:ga16e9258de2d6009546fb0fb07afd67b7"><td class="memTemplParams" colspan="2">template&lt;typename CharType &gt; </td></tr>
128<tr class="memitem:ga16e9258de2d6009546fb0fb07afd67b7"><td class="memTemplItemLeft" align="right" valign="top">std::basic_string&lt; CharType &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__convert.html#ga16e9258de2d6009546fb0fb07afd67b7">boost::locale::to_title</a> (CharType const *str, std::locale const &amp;loc=std::locale())</td></tr>
129<tr class="separator:ga16e9258de2d6009546fb0fb07afd67b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
130<tr class="memitem:gab2ff15b36c6f177737c7ae737eb70794"><td class="memTemplParams" colspan="2">template&lt;typename CharType &gt; </td></tr>
131<tr class="memitem:gab2ff15b36c6f177737c7ae737eb70794"><td class="memTemplItemLeft" align="right" valign="top">std::basic_string&lt; CharType &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__convert.html#gab2ff15b36c6f177737c7ae737eb70794">boost::locale::to_title</a> (CharType const *begin, CharType const *end, std::locale const &amp;loc=std::locale())</td></tr>
132<tr class="separator:gab2ff15b36c6f177737c7ae737eb70794"><td class="memSeparator" colspan="2">&#160;</td></tr>
133<tr class="memitem:gadf59d16355babd955766deef89d470ea"><td class="memTemplParams" colspan="2">template&lt;typename CharType &gt; </td></tr>
134<tr class="memitem:gadf59d16355babd955766deef89d470ea"><td class="memTemplItemLeft" align="right" valign="top">std::basic_string&lt; CharType &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__convert.html#gadf59d16355babd955766deef89d470ea">boost::locale::fold_case</a> (std::basic_string&lt; CharType &gt; const &amp;str, std::locale const &amp;loc=std::locale())</td></tr>
135<tr class="separator:gadf59d16355babd955766deef89d470ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
136<tr class="memitem:ga297f148881cbfce1edd747a22e451ee6"><td class="memTemplParams" colspan="2">template&lt;typename CharType &gt; </td></tr>
137<tr class="memitem:ga297f148881cbfce1edd747a22e451ee6"><td class="memTemplItemLeft" align="right" valign="top">std::basic_string&lt; CharType &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__convert.html#ga297f148881cbfce1edd747a22e451ee6">boost::locale::fold_case</a> (CharType const *str, std::locale const &amp;loc=std::locale())</td></tr>
138<tr class="separator:ga297f148881cbfce1edd747a22e451ee6"><td class="memSeparator" colspan="2">&#160;</td></tr>
139<tr class="memitem:gabcb2a619f203306eee30b03061a5cbee"><td class="memTemplParams" colspan="2">template&lt;typename CharType &gt; </td></tr>
140<tr class="memitem:gabcb2a619f203306eee30b03061a5cbee"><td class="memTemplItemLeft" align="right" valign="top">std::basic_string&lt; CharType &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__convert.html#gabcb2a619f203306eee30b03061a5cbee">boost::locale::fold_case</a> (CharType const *begin, CharType const *end, std::locale const &amp;loc=std::locale())</td></tr>
141<tr class="separator:gabcb2a619f203306eee30b03061a5cbee"><td class="memSeparator" colspan="2">&#160;</td></tr>
142</table>
143<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
144<p>This module provides various function for string manipulation like Unicode normalization, case conversion etc. </p>
145<h2 class="groupheader">Enumeration Type Documentation</h2>
146<a class="anchor" id="ga6a595a415b83b8a0c8f14c34eb66cc9f"></a>
147<div class="memitem">
148<div class="memproto">
149      <table class="memname">
150        <tr>
151          <td class="memname">enum <a class="el" href="group__convert.html#ga6a595a415b83b8a0c8f14c34eb66cc9f">boost::locale::norm_type</a></td>
152        </tr>
153      </table>
154</div><div class="memdoc">
155<p>The type that defined <a href="http://unicode.org/reports/tr15/#Norm_Forms">normalization form</a> </p>
156<table class="fieldtable">
157<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="gga6a595a415b83b8a0c8f14c34eb66cc9fa6648d0eabb931f2e9d258570b297e98f"></a>norm_nfd</em>&#160;</td><td class="fielddoc">
158<p>Canonical decomposition. </p>
159</td></tr>
160<tr><td class="fieldname"><em><a class="anchor" id="gga6a595a415b83b8a0c8f14c34eb66cc9faf6fe7be275e5e13df415ab258105ada0"></a>norm_nfc</em>&#160;</td><td class="fielddoc">
161<p>Canonical decomposition followed by canonical composition. </p>
162</td></tr>
163<tr><td class="fieldname"><em><a class="anchor" id="gga6a595a415b83b8a0c8f14c34eb66cc9fa0fbc2ac042fc6f58af5818bfd06d5379"></a>norm_nfkd</em>&#160;</td><td class="fielddoc">
164<p>Compatibility decomposition. </p>
165</td></tr>
166<tr><td class="fieldname"><em><a class="anchor" id="gga6a595a415b83b8a0c8f14c34eb66cc9fa0305c1f3405ea70facf4c6a5ffa40583"></a>norm_nfkc</em>&#160;</td><td class="fielddoc">
167<p>Compatibility decomposition followed by canonical composition. </p>
168</td></tr>
169<tr><td class="fieldname"><em><a class="anchor" id="gga6a595a415b83b8a0c8f14c34eb66cc9faa29173d73d9be7fefcbb18c8712465d2"></a>norm_default</em>&#160;</td><td class="fielddoc">
170<p>Default normalization - canonical decomposition followed by canonical composition. </p>
171</td></tr>
172</table>
173
174</div>
175</div>
176<h2 class="groupheader">Function Documentation</h2>
177<a class="anchor" id="gadf59d16355babd955766deef89d470ea"></a>
178<div class="memitem">
179<div class="memproto">
180<div class="memtemplate">
181template&lt;typename CharType &gt; </div>
182      <table class="memname">
183        <tr>
184          <td class="memname">std::basic_string&lt;CharType&gt; boost::locale::fold_case </td>
185          <td>(</td>
186          <td class="paramtype">std::basic_string&lt; CharType &gt; const &amp;&#160;</td>
187          <td class="paramname"><em>str</em>, </td>
188        </tr>
189        <tr>
190          <td class="paramkey"></td>
191          <td></td>
192          <td class="paramtype">std::locale const &amp;&#160;</td>
193          <td class="paramname"><em>loc</em> = <code>std::locale()</code>&#160;</td>
194        </tr>
195        <tr>
196          <td></td>
197          <td>)</td>
198          <td></td><td></td>
199        </tr>
200      </table>
201</div><div class="memdoc">
202<p>Fold case of a string <em>str</em> according to locale <em>loc</em> </p>
203<dl class="section note"><dt>Note</dt><dd>throws std::bad_cast if loc does not have <a class="el" href="classboost_1_1locale_1_1converter.html">converter</a> facet installed </dd></dl>
204<dl><dt><b>Examples: </b></dt><dd><a class="el" href="hello_8cpp-example.html#a9">hello.cpp</a>, and <a class="el" href="whello_8cpp-example.html#a9">whello.cpp</a>.</dd>
205</dl>
206</div>
207</div>
208<a class="anchor" id="ga297f148881cbfce1edd747a22e451ee6"></a>
209<div class="memitem">
210<div class="memproto">
211<div class="memtemplate">
212template&lt;typename CharType &gt; </div>
213      <table class="memname">
214        <tr>
215          <td class="memname">std::basic_string&lt;CharType&gt; boost::locale::fold_case </td>
216          <td>(</td>
217          <td class="paramtype">CharType const *&#160;</td>
218          <td class="paramname"><em>str</em>, </td>
219        </tr>
220        <tr>
221          <td class="paramkey"></td>
222          <td></td>
223          <td class="paramtype">std::locale const &amp;&#160;</td>
224          <td class="paramname"><em>loc</em> = <code>std::locale()</code>&#160;</td>
225        </tr>
226        <tr>
227          <td></td>
228          <td>)</td>
229          <td></td><td></td>
230        </tr>
231      </table>
232</div><div class="memdoc">
233<p>Fold case of a NUL terminated string <em>str</em> according to locale <em>loc</em> </p>
234<dl class="section note"><dt>Note</dt><dd>throws std::bad_cast if loc does not have <a class="el" href="classboost_1_1locale_1_1converter.html">converter</a> facet installed </dd></dl>
235
236</div>
237</div>
238<a class="anchor" id="gabcb2a619f203306eee30b03061a5cbee"></a>
239<div class="memitem">
240<div class="memproto">
241<div class="memtemplate">
242template&lt;typename CharType &gt; </div>
243      <table class="memname">
244        <tr>
245          <td class="memname">std::basic_string&lt;CharType&gt; boost::locale::fold_case </td>
246          <td>(</td>
247          <td class="paramtype">CharType const *&#160;</td>
248          <td class="paramname"><em>begin</em>, </td>
249        </tr>
250        <tr>
251          <td class="paramkey"></td>
252          <td></td>
253          <td class="paramtype">CharType const *&#160;</td>
254          <td class="paramname"><em>end</em>, </td>
255        </tr>
256        <tr>
257          <td class="paramkey"></td>
258          <td></td>
259          <td class="paramtype">std::locale const &amp;&#160;</td>
260          <td class="paramname"><em>loc</em> = <code>std::locale()</code>&#160;</td>
261        </tr>
262        <tr>
263          <td></td>
264          <td>)</td>
265          <td></td><td></td>
266        </tr>
267      </table>
268</div><div class="memdoc">
269<p>Fold case of a string in range [begin,end) according to locale <em>loc</em> </p>
270<dl class="section note"><dt>Note</dt><dd>throws std::bad_cast if loc does not have <a class="el" href="classboost_1_1locale_1_1converter.html">converter</a> facet installed </dd></dl>
271
272</div>
273</div>
274<a class="anchor" id="ga867733c9d4455aaa13a42cf67367d575"></a>
275<div class="memitem">
276<div class="memproto">
277<div class="memtemplate">
278template&lt;typename CharType &gt; </div>
279      <table class="memname">
280        <tr>
281          <td class="memname">std::basic_string&lt;CharType&gt; boost::locale::normalize </td>
282          <td>(</td>
283          <td class="paramtype">std::basic_string&lt; CharType &gt; const &amp;&#160;</td>
284          <td class="paramname"><em>str</em>, </td>
285        </tr>
286        <tr>
287          <td class="paramkey"></td>
288          <td></td>
289          <td class="paramtype">norm_type&#160;</td>
290          <td class="paramname"><em>n</em> = <code>norm_default</code>, </td>
291        </tr>
292        <tr>
293          <td class="paramkey"></td>
294          <td></td>
295          <td class="paramtype">std::locale const &amp;&#160;</td>
296          <td class="paramname"><em>loc</em> = <code>std::locale()</code>&#160;</td>
297        </tr>
298        <tr>
299          <td></td>
300          <td>)</td>
301          <td></td><td></td>
302        </tr>
303      </table>
304</div><div class="memdoc">
305<p>Normalize Unicode string <em>str</em> according to <a class="el" href="group__convert.html#ga6a595a415b83b8a0c8f14c34eb66cc9f">normalization form</a> <em>n</em> </p>
306<p>Note: This function receives only Unicode strings, i.e.: UTF-8, UTF-16 or UTF-32. It does not take in account the locale encoding, because Unicode decomposition and composition are meaningless outside of a Unicode character set.</p>
307<dl class="section note"><dt>Note</dt><dd>throws std::bad_cast if loc does not have <a class="el" href="classboost_1_1locale_1_1converter.html">converter</a> facet installed </dd></dl>
308
309</div>
310</div>
311<a class="anchor" id="gaa2e01f28fa12ea71a6318f8277f2745e"></a>
312<div class="memitem">
313<div class="memproto">
314<div class="memtemplate">
315template&lt;typename CharType &gt; </div>
316      <table class="memname">
317        <tr>
318          <td class="memname">std::basic_string&lt;CharType&gt; boost::locale::normalize </td>
319          <td>(</td>
320          <td class="paramtype">CharType const *&#160;</td>
321          <td class="paramname"><em>str</em>, </td>
322        </tr>
323        <tr>
324          <td class="paramkey"></td>
325          <td></td>
326          <td class="paramtype">norm_type&#160;</td>
327          <td class="paramname"><em>n</em> = <code>norm_default</code>, </td>
328        </tr>
329        <tr>
330          <td class="paramkey"></td>
331          <td></td>
332          <td class="paramtype">std::locale const &amp;&#160;</td>
333          <td class="paramname"><em>loc</em> = <code>std::locale()</code>&#160;</td>
334        </tr>
335        <tr>
336          <td></td>
337          <td>)</td>
338          <td></td><td></td>
339        </tr>
340      </table>
341</div><div class="memdoc">
342<p>Normalize NUL terminated Unicode string <em>str</em> according to <a class="el" href="group__convert.html#ga6a595a415b83b8a0c8f14c34eb66cc9f">normalization form</a> <em>n</em> </p>
343<p>Note: This function receives only Unicode strings, i.e.: UTF-8, UTF-16 or UTF-32. It does not take in account the locale encoding, because Unicode decomposition and composition are meaningless outside of a Unicode character set.</p>
344<dl class="section note"><dt>Note</dt><dd>throws std::bad_cast if loc does not have <a class="el" href="classboost_1_1locale_1_1converter.html">converter</a> facet installed </dd></dl>
345
346</div>
347</div>
348<a class="anchor" id="ga03ee131e44c37c2191d15683cc281e5f"></a>
349<div class="memitem">
350<div class="memproto">
351<div class="memtemplate">
352template&lt;typename CharType &gt; </div>
353      <table class="memname">
354        <tr>
355          <td class="memname">std::basic_string&lt;CharType&gt; boost::locale::normalize </td>
356          <td>(</td>
357          <td class="paramtype">CharType const *&#160;</td>
358          <td class="paramname"><em>begin</em>, </td>
359        </tr>
360        <tr>
361          <td class="paramkey"></td>
362          <td></td>
363          <td class="paramtype">CharType const *&#160;</td>
364          <td class="paramname"><em>end</em>, </td>
365        </tr>
366        <tr>
367          <td class="paramkey"></td>
368          <td></td>
369          <td class="paramtype">norm_type&#160;</td>
370          <td class="paramname"><em>n</em> = <code>norm_default</code>, </td>
371        </tr>
372        <tr>
373          <td class="paramkey"></td>
374          <td></td>
375          <td class="paramtype">std::locale const &amp;&#160;</td>
376          <td class="paramname"><em>loc</em> = <code>std::locale()</code>&#160;</td>
377        </tr>
378        <tr>
379          <td></td>
380          <td>)</td>
381          <td></td><td></td>
382        </tr>
383      </table>
384</div><div class="memdoc">
385<p>Normalize Unicode string in range [begin,end) according to <a class="el" href="group__convert.html#ga6a595a415b83b8a0c8f14c34eb66cc9f">normalization form</a> <em>n</em> </p>
386<p>Note: This function receives only Unicode strings, i.e.: UTF-8, UTF-16 or UTF-32. It does not take in account the locale encoding, because Unicode decomposition and composition are meaningless outside of a Unicode character set.</p>
387<dl class="section note"><dt>Note</dt><dd>throws std::bad_cast if loc does not have <a class="el" href="classboost_1_1locale_1_1converter.html">converter</a> facet installed </dd></dl>
388
389</div>
390</div>
391<a class="anchor" id="ga4a3eb15f42f5cbae7bdd00c9e9cac222"></a>
392<div class="memitem">
393<div class="memproto">
394<div class="memtemplate">
395template&lt;typename CharType &gt; </div>
396      <table class="memname">
397        <tr>
398          <td class="memname">std::basic_string&lt;CharType&gt; boost::locale::to_lower </td>
399          <td>(</td>
400          <td class="paramtype">std::basic_string&lt; CharType &gt; const &amp;&#160;</td>
401          <td class="paramname"><em>str</em>, </td>
402        </tr>
403        <tr>
404          <td class="paramkey"></td>
405          <td></td>
406          <td class="paramtype">std::locale const &amp;&#160;</td>
407          <td class="paramname"><em>loc</em> = <code>std::locale()</code>&#160;</td>
408        </tr>
409        <tr>
410          <td></td>
411          <td>)</td>
412          <td></td><td></td>
413        </tr>
414      </table>
415</div><div class="memdoc">
416<p>Convert a string <em>str</em> to lower case according to locale <em>loc</em> </p>
417<dl class="section note"><dt>Note</dt><dd>throws std::bad_cast if loc does not have <a class="el" href="classboost_1_1locale_1_1converter.html">converter</a> facet installed </dd></dl>
418<dl><dt><b>Examples: </b></dt><dd><a class="el" href="conversions_8cpp-example.html#a2">conversions.cpp</a>, <a class="el" href="hello_8cpp-example.html#a7">hello.cpp</a>, <a class="el" href="wconversions_8cpp-example.html#a2">wconversions.cpp</a>, and <a class="el" href="whello_8cpp-example.html#a7">whello.cpp</a>.</dd>
419</dl>
420</div>
421</div>
422<a class="anchor" id="gaa7854d1e3ce4c854f4e1fa18703ffed2"></a>
423<div class="memitem">
424<div class="memproto">
425<div class="memtemplate">
426template&lt;typename CharType &gt; </div>
427      <table class="memname">
428        <tr>
429          <td class="memname">std::basic_string&lt;CharType&gt; boost::locale::to_lower </td>
430          <td>(</td>
431          <td class="paramtype">CharType const *&#160;</td>
432          <td class="paramname"><em>str</em>, </td>
433        </tr>
434        <tr>
435          <td class="paramkey"></td>
436          <td></td>
437          <td class="paramtype">std::locale const &amp;&#160;</td>
438          <td class="paramname"><em>loc</em> = <code>std::locale()</code>&#160;</td>
439        </tr>
440        <tr>
441          <td></td>
442          <td>)</td>
443          <td></td><td></td>
444        </tr>
445      </table>
446</div><div class="memdoc">
447<p>Convert a NUL terminated string <em>str</em> to lower case according to locale <em>loc</em> </p>
448<dl class="section note"><dt>Note</dt><dd>throws std::bad_cast if loc does not have <a class="el" href="classboost_1_1locale_1_1converter.html">converter</a> facet installed </dd></dl>
449
450</div>
451</div>
452<a class="anchor" id="ga4763a6d37777254390658d1e050262a5"></a>
453<div class="memitem">
454<div class="memproto">
455<div class="memtemplate">
456template&lt;typename CharType &gt; </div>
457      <table class="memname">
458        <tr>
459          <td class="memname">std::basic_string&lt;CharType&gt; boost::locale::to_lower </td>
460          <td>(</td>
461          <td class="paramtype">CharType const *&#160;</td>
462          <td class="paramname"><em>begin</em>, </td>
463        </tr>
464        <tr>
465          <td class="paramkey"></td>
466          <td></td>
467          <td class="paramtype">CharType const *&#160;</td>
468          <td class="paramname"><em>end</em>, </td>
469        </tr>
470        <tr>
471          <td class="paramkey"></td>
472          <td></td>
473          <td class="paramtype">std::locale const &amp;&#160;</td>
474          <td class="paramname"><em>loc</em> = <code>std::locale()</code>&#160;</td>
475        </tr>
476        <tr>
477          <td></td>
478          <td>)</td>
479          <td></td><td></td>
480        </tr>
481      </table>
482</div><div class="memdoc">
483<p>Convert a string in range [begin,end) to lower case according to locale <em>loc</em> </p>
484<dl class="section note"><dt>Note</dt><dd>throws std::bad_cast if loc does not have <a class="el" href="classboost_1_1locale_1_1converter.html">converter</a> facet installed </dd></dl>
485
486</div>
487</div>
488<a class="anchor" id="ga684efb375e060c71cd3e1799a6329f7f"></a>
489<div class="memitem">
490<div class="memproto">
491<div class="memtemplate">
492template&lt;typename CharType &gt; </div>
493      <table class="memname">
494        <tr>
495          <td class="memname">std::basic_string&lt;CharType&gt; boost::locale::to_title </td>
496          <td>(</td>
497          <td class="paramtype">std::basic_string&lt; CharType &gt; const &amp;&#160;</td>
498          <td class="paramname"><em>str</em>, </td>
499        </tr>
500        <tr>
501          <td class="paramkey"></td>
502          <td></td>
503          <td class="paramtype">std::locale const &amp;&#160;</td>
504          <td class="paramname"><em>loc</em> = <code>std::locale()</code>&#160;</td>
505        </tr>
506        <tr>
507          <td></td>
508          <td>)</td>
509          <td></td><td></td>
510        </tr>
511      </table>
512</div><div class="memdoc">
513<p>Convert a string <em>str</em> to title case according to locale <em>loc</em> </p>
514<dl class="section note"><dt>Note</dt><dd>throws std::bad_cast if loc does not have <a class="el" href="classboost_1_1locale_1_1converter.html">converter</a> facet installed </dd></dl>
515<dl><dt><b>Examples: </b></dt><dd><a class="el" href="hello_8cpp-example.html#a8">hello.cpp</a>, and <a class="el" href="whello_8cpp-example.html#a8">whello.cpp</a>.</dd>
516</dl>
517</div>
518</div>
519<a class="anchor" id="ga16e9258de2d6009546fb0fb07afd67b7"></a>
520<div class="memitem">
521<div class="memproto">
522<div class="memtemplate">
523template&lt;typename CharType &gt; </div>
524      <table class="memname">
525        <tr>
526          <td class="memname">std::basic_string&lt;CharType&gt; boost::locale::to_title </td>
527          <td>(</td>
528          <td class="paramtype">CharType const *&#160;</td>
529          <td class="paramname"><em>str</em>, </td>
530        </tr>
531        <tr>
532          <td class="paramkey"></td>
533          <td></td>
534          <td class="paramtype">std::locale const &amp;&#160;</td>
535          <td class="paramname"><em>loc</em> = <code>std::locale()</code>&#160;</td>
536        </tr>
537        <tr>
538          <td></td>
539          <td>)</td>
540          <td></td><td></td>
541        </tr>
542      </table>
543</div><div class="memdoc">
544<p>Convert a NUL terminated string <em>str</em> to title case according to locale <em>loc</em> </p>
545<dl class="section note"><dt>Note</dt><dd>throws std::bad_cast if loc does not have <a class="el" href="classboost_1_1locale_1_1converter.html">converter</a> facet installed </dd></dl>
546
547</div>
548</div>
549<a class="anchor" id="gab2ff15b36c6f177737c7ae737eb70794"></a>
550<div class="memitem">
551<div class="memproto">
552<div class="memtemplate">
553template&lt;typename CharType &gt; </div>
554      <table class="memname">
555        <tr>
556          <td class="memname">std::basic_string&lt;CharType&gt; boost::locale::to_title </td>
557          <td>(</td>
558          <td class="paramtype">CharType const *&#160;</td>
559          <td class="paramname"><em>begin</em>, </td>
560        </tr>
561        <tr>
562          <td class="paramkey"></td>
563          <td></td>
564          <td class="paramtype">CharType const *&#160;</td>
565          <td class="paramname"><em>end</em>, </td>
566        </tr>
567        <tr>
568          <td class="paramkey"></td>
569          <td></td>
570          <td class="paramtype">std::locale const &amp;&#160;</td>
571          <td class="paramname"><em>loc</em> = <code>std::locale()</code>&#160;</td>
572        </tr>
573        <tr>
574          <td></td>
575          <td>)</td>
576          <td></td><td></td>
577        </tr>
578      </table>
579</div><div class="memdoc">
580<p>Convert a string in range [begin,end) to title case according to locale <em>loc</em> </p>
581<dl class="section note"><dt>Note</dt><dd>throws std::bad_cast if loc does not have <a class="el" href="classboost_1_1locale_1_1converter.html">converter</a> facet installed </dd></dl>
582
583</div>
584</div>
585<a class="anchor" id="ga2ceae621801e8cf4f77c60d1e3047ae8"></a>
586<div class="memitem">
587<div class="memproto">
588<div class="memtemplate">
589template&lt;typename CharType &gt; </div>
590      <table class="memname">
591        <tr>
592          <td class="memname">std::basic_string&lt;CharType&gt; boost::locale::to_upper </td>
593          <td>(</td>
594          <td class="paramtype">std::basic_string&lt; CharType &gt; const &amp;&#160;</td>
595          <td class="paramname"><em>str</em>, </td>
596        </tr>
597        <tr>
598          <td class="paramkey"></td>
599          <td></td>
600          <td class="paramtype">std::locale const &amp;&#160;</td>
601          <td class="paramname"><em>loc</em> = <code>std::locale()</code>&#160;</td>
602        </tr>
603        <tr>
604          <td></td>
605          <td>)</td>
606          <td></td><td></td>
607        </tr>
608      </table>
609</div><div class="memdoc">
610<p>Convert a string <em>str</em> to upper case according to locale <em>loc</em> </p>
611<dl class="section note"><dt>Note</dt><dd>throws std::bad_cast if loc does not have <a class="el" href="classboost_1_1locale_1_1converter.html">converter</a> facet installed </dd></dl>
612<dl><dt><b>Examples: </b></dt><dd><a class="el" href="conversions_8cpp-example.html#a1">conversions.cpp</a>, <a class="el" href="hello_8cpp-example.html#a6">hello.cpp</a>, <a class="el" href="wconversions_8cpp-example.html#a1">wconversions.cpp</a>, and <a class="el" href="whello_8cpp-example.html#a6">whello.cpp</a>.</dd>
613</dl>
614</div>
615</div>
616<a class="anchor" id="ga2197dbd88d8b42a5e6b2b76fb67ed07d"></a>
617<div class="memitem">
618<div class="memproto">
619<div class="memtemplate">
620template&lt;typename CharType &gt; </div>
621      <table class="memname">
622        <tr>
623          <td class="memname">std::basic_string&lt;CharType&gt; boost::locale::to_upper </td>
624          <td>(</td>
625          <td class="paramtype">CharType const *&#160;</td>
626          <td class="paramname"><em>str</em>, </td>
627        </tr>
628        <tr>
629          <td class="paramkey"></td>
630          <td></td>
631          <td class="paramtype">std::locale const &amp;&#160;</td>
632          <td class="paramname"><em>loc</em> = <code>std::locale()</code>&#160;</td>
633        </tr>
634        <tr>
635          <td></td>
636          <td>)</td>
637          <td></td><td></td>
638        </tr>
639      </table>
640</div><div class="memdoc">
641<p>Convert a NUL terminated string <em>str</em> to upper case according to locale <em>loc</em> </p>
642<dl class="section note"><dt>Note</dt><dd>throws std::bad_cast if loc does not have <a class="el" href="classboost_1_1locale_1_1converter.html">converter</a> facet installed </dd></dl>
643
644</div>
645</div>
646<a class="anchor" id="ga55257608f61f0bde86f7306b477c993a"></a>
647<div class="memitem">
648<div class="memproto">
649<div class="memtemplate">
650template&lt;typename CharType &gt; </div>
651      <table class="memname">
652        <tr>
653          <td class="memname">std::basic_string&lt;CharType&gt; boost::locale::to_upper </td>
654          <td>(</td>
655          <td class="paramtype">CharType const *&#160;</td>
656          <td class="paramname"><em>begin</em>, </td>
657        </tr>
658        <tr>
659          <td class="paramkey"></td>
660          <td></td>
661          <td class="paramtype">CharType const *&#160;</td>
662          <td class="paramname"><em>end</em>, </td>
663        </tr>
664        <tr>
665          <td class="paramkey"></td>
666          <td></td>
667          <td class="paramtype">std::locale const &amp;&#160;</td>
668          <td class="paramname"><em>loc</em> = <code>std::locale()</code>&#160;</td>
669        </tr>
670        <tr>
671          <td></td>
672          <td>)</td>
673          <td></td><td></td>
674        </tr>
675      </table>
676</div><div class="memdoc">
677<p>Convert a string in range [begin,end) to upper case according to locale <em>loc</em> </p>
678<dl class="section note"><dt>Note</dt><dd>throws std::bad_cast if loc does not have <a class="el" href="classboost_1_1locale_1_1converter.html">converter</a> facet installed </dd></dl>
679
680</div>
681</div>
682</div><!-- contents -->
683</div><!-- doc-content -->
684
685    <li class="footer">
686&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.
687    </li>
688   </ul>
689 </div>
690</body>
691</html>
692