Imported Upstream version 1.57.0
[platform/upstream/boost.git] / libs / locale / doc / html / encoding__utf_8hpp_source.html
index a630057..8729f82 100644 (file)
@@ -2,46 +2,51 @@
 <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"/>
 <title>Boost.Locale: boost/locale/encoding_utf.hpp Source File</title>
+
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
-<link href="doxygen.css" rel="stylesheet" type="text/css"/>
-<link rel="stylesheet" type="text/css" href="../style/section-basic.css">
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+<link href="navtree.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="resize.js"></script>
+<script type="text/javascript" src="navtree.js"></script>
+<script type="text/javascript">
+  $(document).ready(initResizable);
+</script>
+
+
 </head>
 <body>
-<div id="boost-common-heading-doc">
-    <div class="heading-inner">
-        <div class="heading-placard"></div>
-
-        <h1 class="heading-title">
-            <a href="http://www.boost.org/">
-                <img src="../style/space.png" alt= "Boost C++ Libraries" class="heading-logo" />
-                <span class="heading-boost">Boost</span>
-                <span class="heading-cpplibraries">C++ Libraries</span>
-            </a>
-        </h1>
+<div id="top"><!-- do not remove this div! -->
 
-        <p class="heading-quote">
 
-            <q>...one of the most highly
-            regarded and expertly designed C++ library projects in the
-            world.</q> 
-            
-            <span class="heading-attribution">&mdash; <a href=
-            "http://www.gotw.ca/" class="external">Herb Sutter</a> and <a href=
-            "http://en.wikipedia.org/wiki/Andrei_Alexandrescu" class="external">Andrei
-            Alexandrescu</a>, <a href=
-            "http://safari.awprofessional.com/?XmlId=0321113586" class="external">C++
-            Coding Standards</a></span>
-        </p>
-    </div>
+<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>
 
-<div id="boost-common-heading-doc-spacer"></div> 
-<!-- Generated by Doxygen 1.7.1 -->
-<div class="navigation" id="top">
-  <div class="tabs">
+<!-- Generated by Doxygen 1.7.6.1 -->
+  <div id="navrow1" class="tabs">
     <ul class="tablist">
-      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
+      <li><a href="index.html"><span>Main&#160;Page</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><a href="examples.html"><span>Examples</span></a></li>
     </ul>
   </div>
-  <div class="tabs2">
+  <div id="navrow2" class="tabs2">
     <ul class="tablist">
-      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
+      <li><a href="files.html"><span>File&#160;List</span></a></li>
     </ul>
   </div>
+</div>
+<div id="side-nav" class="ui-resizable side-nav-resizable">
+  <div id="nav-tree">
+    <div id="nav-tree-contents">
+    </div>
+  </div>
+  <div id="splitbar" style="-moz-user-select:none;" 
+       class="ui-resizable-handle">
+  </div>
+</div>
+<script type="text/javascript">
+  initNavTree('encoding__utf_8hpp.html','');
+</script>
+<div id="doc-content">
 <div class="header">
   <div class="headertitle">
-<h1>boost/locale/encoding_utf.hpp</h1>  </div>
-</div>
+<div class="title">boost/locale/encoding_utf.hpp</div>  </div>
+</div><!--header-->
 <div class="contents">
 <div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//</span>
 <a name="l00002"></a>00002 <span class="comment">//  Copyright (c) 2009-2011 Artyom Beilis (Tonkikh)</span>
 <a name="l00028"></a>00028 
 <a name="l00032"></a>00032             <span class="keyword">template</span>&lt;<span class="keyword">typename</span> CharOut,<span class="keyword">typename</span> CharIn&gt;
 <a name="l00033"></a>00033             std::basic_string&lt;CharOut&gt;
-<a name="l00034"></a><a class="code" href="group__codepage.html#ga2de4d9d38004e5d7146abf2bd6a3df0b">00034</a>             <a class="code" href="group__codepage.html#ga2de4d9d38004e5d7146abf2bd6a3df0b">utf_to_utf</a>(CharIn <span class="keyword">const</span> *begin,CharIn <span class="keyword">const</span> *end,<a class="code" href="group__codepage.html#ga8e3c5a274f57107ec5745e227c26ba84">method_type</a> how = <a class="code" href="group__codepage.html#gga8e3c5a274f57107ec5745e227c26ba84adcdc34a57dd2a3ca917f73c13f18b559" title="Default method - skip.">default_method</a>)
+<a name="l00034"></a><a class="code" href="group__codepage.html#gaf0ad39959911b000706e0538ec059d44">00034</a>             <a class="code" href="group__codepage.html#gaf0ad39959911b000706e0538ec059d44">utf_to_utf</a>(CharIn <span class="keyword">const</span> *begin,CharIn <span class="keyword">const</span> *end,<a class="code" href="group__codepage.html#ga8e3c5a274f57107ec5745e227c26ba84">method_type</a> how = <a class="code" href="group__codepage.html#gga8e3c5a274f57107ec5745e227c26ba84adcdc34a57dd2a3ca917f73c13f18b559" title="Default method - skip.">default_method</a>)
 <a name="l00035"></a>00035             {
 <a name="l00036"></a>00036                 std::basic_string&lt;CharOut&gt; result;
 <a name="l00037"></a>00037                 result.reserve(end-begin);
 <a name="l00038"></a>00038                 <span class="keyword">typedef</span> std::back_insert_iterator&lt;std::basic_string&lt;CharOut&gt; &gt; inserter_type;
 <a name="l00039"></a>00039                 inserter_type inserter(result);
-<a name="l00040"></a>00040                 <a class="code" href="namespaceboost_1_1locale_1_1utf.html#a068111a6b9d6d465a63893ed5c05e2f8" title="The integral type type that can hold a Unicode code point.">utf::code_point</a> c;
+<a name="l00040"></a>00040                 <a class="code" href="namespaceboost_1_1locale_1_1utf.html#a068111a6b9d6d465a63893ed5c05e2f8" title="The integral type that can hold a Unicode code point.">utf::code_point</a> c;
 <a name="l00041"></a>00041                 <span class="keywordflow">while</span>(begin!=end) {
 <a name="l00042"></a>00042                     c=<a class="code" href="structboost_1_1locale_1_1utf_1_1utf__traits.html" title="UTF Traits class - functions to convert UTF sequences to and from Unicode code points.">utf::utf_traits&lt;CharIn&gt;::template</a> decode&lt;CharIn const *&gt;(begin,end);
 <a name="l00043"></a>00043                     <span class="keywordflow">if</span>(c==<a class="code" href="namespaceboost_1_1locale_1_1utf.html#a30010000878c7732340bda8956b844fb" title="Special constant that defines illegal code point.">utf::illegal</a> || c==<a class="code" href="namespaceboost_1_1locale_1_1utf.html#a20dbe458fd18229a0e6c09888d031b38" title="Special constant that defines incomplete code point.">utf::incomplete</a>) {
 <a name="l00053"></a>00053 
 <a name="l00057"></a>00057             <span class="keyword">template</span>&lt;<span class="keyword">typename</span> CharOut,<span class="keyword">typename</span> CharIn&gt;
 <a name="l00058"></a>00058             std::basic_string&lt;CharOut&gt;
-<a name="l00059"></a><a class="code" href="group__codepage.html#gae36d1fa29f675c4f13164afd8e0fabde">00059</a>             <a class="code" href="group__codepage.html#ga2de4d9d38004e5d7146abf2bd6a3df0b">utf_to_utf</a>(CharIn <span class="keyword">const</span> *str,<a class="code" href="group__codepage.html#ga8e3c5a274f57107ec5745e227c26ba84">method_type</a> how = <a class="code" href="group__codepage.html#gga8e3c5a274f57107ec5745e227c26ba84adcdc34a57dd2a3ca917f73c13f18b559" title="Default method - skip.">default_method</a>)
+<a name="l00059"></a><a class="code" href="group__codepage.html#gaa4de44e37cbe5ec4a4b79e1d9bbaf4a7">00059</a>             <a class="code" href="group__codepage.html#gaf0ad39959911b000706e0538ec059d44">utf_to_utf</a>(CharIn <span class="keyword">const</span> *str,<a class="code" href="group__codepage.html#ga8e3c5a274f57107ec5745e227c26ba84">method_type</a> how = <a class="code" href="group__codepage.html#gga8e3c5a274f57107ec5745e227c26ba84adcdc34a57dd2a3ca917f73c13f18b559" title="Default method - skip.">default_method</a>)
 <a name="l00060"></a>00060             {
 <a name="l00061"></a>00061                 CharIn <span class="keyword">const</span> *end = str;
 <a name="l00062"></a>00062                 <span class="keywordflow">while</span>(*end)
 <a name="l00067"></a>00067 
 <a name="l00071"></a>00071             <span class="keyword">template</span>&lt;<span class="keyword">typename</span> CharOut,<span class="keyword">typename</span> CharIn&gt;
 <a name="l00072"></a>00072             std::basic_string&lt;CharOut&gt;
-<a name="l00073"></a><a class="code" href="group__codepage.html#ga2aa7d34682ff4e66b297ab5d75e1de51">00073</a>             <a class="code" href="group__codepage.html#ga2de4d9d38004e5d7146abf2bd6a3df0b">utf_to_utf</a>(std::basic_string&lt;CharIn&gt; <span class="keyword">const</span> &amp;str,<a class="code" href="group__codepage.html#ga8e3c5a274f57107ec5745e227c26ba84">method_type</a> how = <a class="code" href="group__codepage.html#gga8e3c5a274f57107ec5745e227c26ba84adcdc34a57dd2a3ca917f73c13f18b559" title="Default method - skip.">default_method</a>)
+<a name="l00073"></a><a class="code" href="group__codepage.html#ga1951228e7f528a20e40258d73cf17f5c">00073</a>             <a class="code" href="group__codepage.html#gaf0ad39959911b000706e0538ec059d44">utf_to_utf</a>(std::basic_string&lt;CharIn&gt; <span class="keyword">const</span> &amp;str,<a class="code" href="group__codepage.html#ga8e3c5a274f57107ec5745e227c26ba84">method_type</a> how = <a class="code" href="group__codepage.html#gga8e3c5a274f57107ec5745e227c26ba84adcdc34a57dd2a3ca917f73c13f18b559" title="Default method - skip.">default_method</a>)
 <a name="l00074"></a>00074             {
 <a name="l00075"></a>00075                 <span class="keywordflow">return</span> utf_to_utf&lt;CharOut,CharIn&gt;(str.c_str(),str.c_str()+str.size(),how);
 <a name="l00076"></a>00076             }
 <a name="l00091"></a>00091 <span class="preprocessor"></span>
 <a name="l00092"></a>00092 <span class="comment">// vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4</span>
 <a name="l00093"></a>00093 
-</pre></div></div>
+</pre></div></div><!-- contents -->
 </div>
-<hr class="footer"/><address class="footer"><small>
-&copy; Copyright 2009-2011 Artyom Beilis,  Distributed under the <a href="http://www.boost.org/LICENSE_1_0.txt">Boost Software License</a>, Version 1.0.
-</small></address>
+  <div id="nav-path" class="navpath">
+    <ul>
+      <li class="navelem"><b>encoding_utf.hpp</b>      </li>
+
+    <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>