123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.17"/>
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
- <title>Bugz Door Project: door::IConv Class 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="search/search.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="search/searchdata.js"></script>
- <script type="text/javascript" src="search/search.js"></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="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">Bugz Door Project
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <!-- end header part -->
- <!-- Generated by Doxygen 1.8.17 -->
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- var searchBox = new SearchBox("searchBox", "search",false,'Search');
- /* @license-end */
- </script>
- <script type="text/javascript" src="menudata.js"></script>
- <script type="text/javascript" src="menu.js"></script>
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- $(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
- });
- /* @license-end */</script>
- <div id="main-nav"></div>
- <!-- window showing the filter options -->
- <div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
- </div>
- <!-- iframe showing the search results (closed by default) -->
- <div id="MSearchResultsWindow">
- <iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
- </iframe>
- </div>
- <div id="nav-path" class="navpath">
- <ul>
- <li class="navelem"><a class="el" href="namespacedoor.html">door</a></li><li class="navelem"><a class="el" href="classdoor_1_1IConv.html">IConv</a></li> </ul>
- </div>
- </div><!-- top -->
- <div class="header">
- <div class="summary">
- <a href="#pub-methods">Public Member Functions</a> |
- <a href="#pri-attribs">Private Attributes</a> |
- <a href="classdoor_1_1IConv-members.html">List of all members</a> </div>
- <div class="headertitle">
- <div class="title">door::IConv Class Reference</div> </div>
- </div><!--header-->
- <div class="contents">
- <p>Converts from one encoding to another. Uses iconv (international conversion) API.
- <a href="classdoor_1_1IConv.html#details">More...</a></p>
- <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:aa201b347d3982a6b96fc66a9edb36279"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1IConv.html#aa201b347d3982a6b96fc66a9edb36279">IConv</a> (const char *to, const char *from)</td></tr>
- <tr class="memdesc:aa201b347d3982a6b96fc66a9edb36279"><td class="mdescLeft"> </td><td class="mdescRight">Construct a new <a class="el" href="classdoor_1_1IConv.html#aa201b347d3982a6b96fc66a9edb36279" title="Construct a new IConv::IConv object.">IConv::IConv</a> object. <a href="classdoor_1_1IConv.html#aa201b347d3982a6b96fc66a9edb36279">More...</a><br /></td></tr>
- <tr class="separator:aa201b347d3982a6b96fc66a9edb36279"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a65f19364b9b6a219dd88e8d8f18db8dc"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1IConv.html#a65f19364b9b6a219dd88e8d8f18db8dc">convert</a> (char *input, char *output, size_t outbufsize)</td></tr>
- <tr class="memdesc:a65f19364b9b6a219dd88e8d8f18db8dc"><td class="mdescLeft"> </td><td class="mdescRight">Calls iconv API to do the conversion. <a href="classdoor_1_1IConv.html#a65f19364b9b6a219dd88e8d8f18db8dc">More...</a><br /></td></tr>
- <tr class="separator:a65f19364b9b6a219dd88e8d8f18db8dc"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
- Private Attributes</h2></td></tr>
- <tr class="memitem:ab64b4dfad21ad709b1a17556c3f197be"><td class="memItemLeft" align="right" valign="top"><a id="ab64b4dfad21ad709b1a17556c3f197be"></a>
- iconv_t </td><td class="memItemRight" valign="bottom"><b>ic</b></td></tr>
- <tr class="separator:ab64b4dfad21ad709b1a17556c3f197be"><td class="memSeparator" colspan="2"> </td></tr>
- </table>
- <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
- <div class="textblock"><p>Converts from one encoding to another. Uses iconv (international conversion) API. </p>
- </div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
- <a id="aa201b347d3982a6b96fc66a9edb36279"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#aa201b347d3982a6b96fc66a9edb36279">◆ </a></span>IConv()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">door::IConv::IConv </td>
- <td>(</td>
- <td class="paramtype">const char * </td>
- <td class="paramname"><em>to</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const char * </td>
- <td class="paramname"><em>from</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Construct a new <a class="el" href="classdoor_1_1IConv.html#aa201b347d3982a6b96fc66a9edb36279" title="Construct a new IConv::IConv object.">IConv::IConv</a> object. </p>
- <p>Give the encodings that you want to convert to and from. </p><dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">to</td><td></td></tr>
- <tr><td class="paramname">from</td><td></td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <h2 class="groupheader">Member Function Documentation</h2>
- <a id="a65f19364b9b6a219dd88e8d8f18db8dc"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a65f19364b9b6a219dd88e8d8f18db8dc">◆ </a></span>convert()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">int door::IConv::convert </td>
- <td>(</td>
- <td class="paramtype">char * </td>
- <td class="paramname"><em>input</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">char * </td>
- <td class="paramname"><em>output</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">size_t </td>
- <td class="paramname"><em>outbufsize</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Calls iconv API to do the conversion. </p>
- <p>Buffers must be provided. </p><dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">input</td><td></td></tr>
- <tr><td class="paramname">output</td><td></td></tr>
- <tr><td class="paramname">outbufsize</td><td></td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section return"><dt>Returns</dt><dd>int </dd></dl>
- </div>
- </div>
- <hr/>The documentation for this class was generated from the following file:<ul>
- <li><a class="el" href="door_8cpp.html">door.cpp</a></li>
- </ul>
- </div><!-- contents -->
- <!-- start footer part -->
- <hr class="footer"/><address class="footer"><small>
- Generated by  <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/>
- </a> 1.8.17
- </small></address>
- </body>
- </html>
|