<!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::utf8_codecvt&lt; CharType &gt; Class Template Reference</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&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;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 class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><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="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</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('classboost_1_1locale_1_1utf8__codecvt.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="classboost_1_1locale_1_1utf8__codecvt-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">boost::locale::utf8_codecvt&lt; CharType &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Geneneric utf8 codecvt facet, it allows to convert UTF-8 strings to UTF-16 and UTF-32 using wchar_t, char32_t and char16_t.  
 <a href="classboost_1_1locale_1_1utf8__codecvt.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="utf8__codecvt_8hpp_source.html">boost/locale/utf8_codecvt.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for boost::locale::utf8_codecvt&lt; CharType &gt;:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classboost_1_1locale_1_1utf8__codecvt.png" usemap="#boost::locale::utf8_codecvt&lt; CharType &gt;_map" alt=""/>
  <map id="boost::locale::utf8_codecvt&lt; CharType &gt;_map" name="boost::locale::utf8_codecvt&lt; CharType &gt;_map">
<area href="classboost_1_1locale_1_1generic__codecvt.html" alt="boost::locale::generic_codecvt&lt; CharType, utf8_codecvt&lt; CharType &gt; &gt;" shape="rect" coords="0,0,425,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structboost_1_1locale_1_1utf8__codecvt_1_1state__type.html">state_type</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a650f2dd476003f783e586f8e375601a7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a650f2dd476003f783e586f8e375601a7"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>utf8_codecvt</b> (size_t refs=0)</td></tr>
<tr class="separator:a650f2dd476003f783e586f8e375601a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a99625ff09e266b781fd5ec0b27c98d4f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a99625ff09e266b781fd5ec0b27c98d4f"></a>
static int&#160;</td><td class="memItemRight" valign="bottom"><b>max_encoding_length</b> ()</td></tr>
<tr class="separator:a99625ff09e266b781fd5ec0b27c98d4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a009f04bfc57d0bedbb1ba5e1236f81f0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a009f04bfc57d0bedbb1ba5e1236f81f0"></a>
static <a class="el" href="structboost_1_1locale_1_1utf8__codecvt_1_1state__type.html">state_type</a>&#160;</td><td class="memItemRight" valign="bottom"><b>initial_state</b> (<a class="el" href="classboost_1_1locale_1_1generic__codecvt__base.html#af28c4b64af6cbf2eb01c444e2cdf08c3">generic_codecvt_base::initial_convertion_state</a>)</td></tr>
<tr class="separator:a009f04bfc57d0bedbb1ba5e1236f81f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab58e38a52e88c431f3ea5b9cc00f7f93"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab58e38a52e88c431f3ea5b9cc00f7f93"></a>
static <a class="el" href="namespaceboost_1_1locale_1_1utf.html#a068111a6b9d6d465a63893ed5c05e2f8">utf::code_point</a>&#160;</td><td class="memItemRight" valign="bottom"><b>to_unicode</b> (<a class="el" href="structboost_1_1locale_1_1utf8__codecvt_1_1state__type.html">state_type</a> &amp;, char const *&amp;begin, char const *end)</td></tr>
<tr class="separator:ab58e38a52e88c431f3ea5b9cc00f7f93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a5baf5525ad5a147b8ee5442d6eee9b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6a5baf5525ad5a147b8ee5442d6eee9b"></a>
static <a class="el" href="namespaceboost_1_1locale_1_1utf.html#a068111a6b9d6d465a63893ed5c05e2f8">utf::code_point</a>&#160;</td><td class="memItemRight" valign="bottom"><b>from_unicode</b> (<a class="el" href="structboost_1_1locale_1_1utf8__codecvt_1_1state__type.html">state_type</a> &amp;, <a class="el" href="namespaceboost_1_1locale_1_1utf.html#a068111a6b9d6d465a63893ed5c05e2f8">utf::code_point</a> u, char *begin, char const *end)</td></tr>
<tr class="separator:a6a5baf5525ad5a147b8ee5442d6eee9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename CharType&gt;<br/>
class boost::locale::utf8_codecvt&lt; CharType &gt;</h3>

<p>Geneneric utf8 codecvt facet, it allows to convert UTF-8 strings to UTF-16 and UTF-32 using wchar_t, char32_t and char16_t. </p>
</div><hr/>The documentation for this class was generated from the following file:<ul>
<li>boost/locale/<a class="el" href="utf8__codecvt_8hpp_source.html">utf8_codecvt.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->

    <li class="footer">
&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.
    </li>
   </ul>
 </div>
</body>
</html>
