|
|
<!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.9.1"/> <title>Xerces-C++: TranscodeToStr 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="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 style="padding-left: 0.5em;"> <div id="projectname">Xerces-C++  <span id="projectnumber">3.1.2</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.9.1 --> <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 class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="classTranscodeToStr-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">TranscodeToStr Class Reference</div> </div> </div><!--header--> <div class="contents"> <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:aa00e7a5816900e3b5f943d9fec339507"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTranscodeToStr.html#aa00e7a5816900e3b5f943d9fec339507">TranscodeToStr</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *in, const char *encoding, <a class="el" href="classMemoryManager.html">MemoryManager</a> *manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr> <tr class="memdesc:aa00e7a5816900e3b5f943d9fec339507"><td class="mdescLeft"> </td><td class="mdescRight">Converts from the internal XMLCh* encoding to the specified encoding. <a href="#aa00e7a5816900e3b5f943d9fec339507">More...</a><br /></td></tr> <tr class="separator:aa00e7a5816900e3b5f943d9fec339507"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abd3959393c6b4de14d4878241c960319"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTranscodeToStr.html#abd3959393c6b4de14d4878241c960319">TranscodeToStr</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *in, <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> <a class="el" href="classTranscodeToStr.html#a23c2fc62aa22d773c7d5f16ca42d5370">length</a>, const char *encoding, <a class="el" href="classMemoryManager.html">MemoryManager</a> *manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr> <tr class="memdesc:abd3959393c6b4de14d4878241c960319"><td class="mdescLeft"> </td><td class="mdescRight">Converts from the internal XMLCh* encoding to the specified encoding. <a href="#abd3959393c6b4de14d4878241c960319">More...</a><br /></td></tr> <tr class="separator:abd3959393c6b4de14d4878241c960319"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a936f5e6a894606dcc47ce167f4ebefe6"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTranscodeToStr.html#a936f5e6a894606dcc47ce167f4ebefe6">TranscodeToStr</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *in, <a class="el" href="classXMLTranscoder.html">XMLTranscoder</a> *trans, <a class="el" href="classMemoryManager.html">MemoryManager</a> *manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr> <tr class="memdesc:a936f5e6a894606dcc47ce167f4ebefe6"><td class="mdescLeft"> </td><td class="mdescRight">Converts from the internal XMLCh* encoding to the specified encoding. <a href="#a936f5e6a894606dcc47ce167f4ebefe6">More...</a><br /></td></tr> <tr class="separator:a936f5e6a894606dcc47ce167f4ebefe6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af4a9c3a1d6282c135cabed5b1a060fde"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTranscodeToStr.html#af4a9c3a1d6282c135cabed5b1a060fde">TranscodeToStr</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *in, <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> <a class="el" href="classTranscodeToStr.html#a23c2fc62aa22d773c7d5f16ca42d5370">length</a>, <a class="el" href="classXMLTranscoder.html">XMLTranscoder</a> *trans, <a class="el" href="classMemoryManager.html">MemoryManager</a> *manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr> <tr class="memdesc:af4a9c3a1d6282c135cabed5b1a060fde"><td class="mdescLeft"> </td><td class="mdescRight">Converts from the internal XMLCh* encoding to the specified encoding. <a href="#af4a9c3a1d6282c135cabed5b1a060fde">More...</a><br /></td></tr> <tr class="separator:af4a9c3a1d6282c135cabed5b1a060fde"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5227b85920f66868f613148f8445a422"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTranscodeToStr.html#a5227b85920f66868f613148f8445a422">~TranscodeToStr</a> ()</td></tr> <tr class="separator:a5227b85920f66868f613148f8445a422"><td class="memSeparator" colspan="2"> </td></tr> <tr><td colspan="2"><div class="groupHeader">Getter methods</div></td></tr> <tr class="memitem:a9bd4b0444193bc0e82329ec359d25b66"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="XercesDefs_8hpp.html#a7470c7a32c59355685ebcd878a33f126">XMLByte</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTranscodeToStr.html#a9bd4b0444193bc0e82329ec359d25b66">str</a> () const </td></tr> <tr class="memdesc:a9bd4b0444193bc0e82329ec359d25b66"><td class="mdescLeft"> </td><td class="mdescRight">Returns the transcoded, null terminated string. <a href="#a9bd4b0444193bc0e82329ec359d25b66">More...</a><br /></td></tr> <tr class="separator:a9bd4b0444193bc0e82329ec359d25b66"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a163e9159b1f5a0131aee5c08e1a7f16c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="XercesDefs_8hpp.html#a7470c7a32c59355685ebcd878a33f126">XMLByte</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTranscodeToStr.html#a163e9159b1f5a0131aee5c08e1a7f16c">adopt</a> ()</td></tr> <tr class="memdesc:a163e9159b1f5a0131aee5c08e1a7f16c"><td class="mdescLeft"> </td><td class="mdescRight">Returns the transcoded, null terminated string - adopting the memory allocated to it from the <a class="el" href="classTranscodeToStr.html">TranscodeToStr</a> object. <a href="#a163e9159b1f5a0131aee5c08e1a7f16c">More...</a><br /></td></tr> <tr class="separator:a163e9159b1f5a0131aee5c08e1a7f16c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a23c2fc62aa22d773c7d5f16ca42d5370"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTranscodeToStr.html#a23c2fc62aa22d773c7d5f16ca42d5370">length</a> () const </td></tr> <tr class="memdesc:a23c2fc62aa22d773c7d5f16ca42d5370"><td class="mdescLeft"> </td><td class="mdescRight">Returns the length of the transcoded string in bytes. <a href="#a23c2fc62aa22d773c7d5f16ca42d5370">More...</a><br /></td></tr> <tr class="separator:a23c2fc62aa22d773c7d5f16ca42d5370"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="aa00e7a5816900e3b5f943d9fec339507"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">TranscodeToStr::TranscodeToStr </td> <td>(</td> <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> * </td> <td class="paramname"><em>in</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>encoding</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> * </td> <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc">
<p>Converts from the internal XMLCh* encoding to the specified encoding. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">in</td><td>the null terminated source buffer to be transcoded </td></tr> <tr><td class="paramname">encoding</td><td>the name of the encoding to transcode to </td></tr> <tr><td class="paramname">manager</td><td>the memory manager to use </td></tr> </table> </dd> </dl>
</div> </div> <a class="anchor" id="abd3959393c6b4de14d4878241c960319"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">TranscodeToStr::TranscodeToStr </td> <td>(</td> <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> * </td> <td class="paramname"><em>in</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> </td> <td class="paramname"><em>length</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>encoding</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> * </td> <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc">
<p>Converts from the internal XMLCh* encoding to the specified encoding. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">in</td><td>the source buffer to be transcoded </td></tr> <tr><td class="paramname">length</td><td>the length of the source buffer </td></tr> <tr><td class="paramname">encoding</td><td>the name of the encoding to transcode to </td></tr> <tr><td class="paramname">manager</td><td>the memory manager to use </td></tr> </table> </dd> </dl>
</div> </div> <a class="anchor" id="a936f5e6a894606dcc47ce167f4ebefe6"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">TranscodeToStr::TranscodeToStr </td> <td>(</td> <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> * </td> <td class="paramname"><em>in</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classXMLTranscoder.html">XMLTranscoder</a> * </td> <td class="paramname"><em>trans</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> * </td> <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc">
<p>Converts from the internal XMLCh* encoding to the specified encoding. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">in</td><td>the null terminated source buffer to be transcoded </td></tr> <tr><td class="paramname">trans</td><td>the transcoder to use </td></tr> <tr><td class="paramname">manager</td><td>the memory manager to use </td></tr> </table> </dd> </dl>
</div> </div> <a class="anchor" id="af4a9c3a1d6282c135cabed5b1a060fde"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">TranscodeToStr::TranscodeToStr </td> <td>(</td> <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> * </td> <td class="paramname"><em>in</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> </td> <td class="paramname"><em>length</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classXMLTranscoder.html">XMLTranscoder</a> * </td> <td class="paramname"><em>trans</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> * </td> <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc">
<p>Converts from the internal XMLCh* encoding to the specified encoding. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">in</td><td>the source buffer to be transcoded </td></tr> <tr><td class="paramname">length</td><td>the length of the source buffer </td></tr> <tr><td class="paramname">trans</td><td>the transcoder to use </td></tr> <tr><td class="paramname">manager</td><td>the memory manager to use </td></tr> </table> </dd> </dl>
</div> </div> <a class="anchor" id="a5227b85920f66868f613148f8445a422"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">TranscodeToStr::~TranscodeToStr </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc">
</div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a163e9159b1f5a0131aee5c08e1a7f16c"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="XercesDefs_8hpp.html#a7470c7a32c59355685ebcd878a33f126">XMLByte</a> * TranscodeToStr::adopt </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc">
<p>Returns the transcoded, null terminated string - adopting the memory allocated to it from the <a class="el" href="classTranscodeToStr.html">TranscodeToStr</a> object. </p> <dl class="section return"><dt>Returns</dt><dd>the transcoded string </dd></dl>
</div> </div> <a class="anchor" id="a23c2fc62aa22d773c7d5f16ca42d5370"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> TranscodeToStr::length </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc">
<p>Returns the length of the transcoded string in bytes. </p> <p>The length does not include the null terminator. </p><dl class="section return"><dt>Returns</dt><dd>the length of the transcoded string in bytes </dd></dl>
</div> </div> <a class="anchor" id="a9bd4b0444193bc0e82329ec359d25b66"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="XercesDefs_8hpp.html#a7470c7a32c59355685ebcd878a33f126">XMLByte</a> * TranscodeToStr::str </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc">
<p>Returns the transcoded, null terminated string. </p> <dl class="section return"><dt>Returns</dt><dd>the transcoded string </dd></dl>
</div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="TransService_8hpp_source.html">TransService.hpp</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Wed Mar 18 2015 10:43:38 for Xerces-C++ by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.9.1 </small></address> </body> </html>
|