You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
<!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++: TranscodeFromStr 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="classTranscodeFromStr-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">TranscodeFromStr 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:af32eda8fd2a468a9b8be645cd239247f"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTranscodeFromStr.html#af32eda8fd2a468a9b8be645cd239247f">TranscodeFromStr</a> (const <a class="el" href="XercesDefs_8hpp.html#a7470c7a32c59355685ebcd878a33f126">XMLByte</a> *data, <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> <a class="el" href="classTranscodeFromStr.html#a2b70e681ce817ad7bf05a3f0007a955f">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:af32eda8fd2a468a9b8be645cd239247f"><td class="mdescLeft"> </td><td class="mdescRight">Converts from the specified encoding to the internal XMLCh* encoding. <a href="#af32eda8fd2a468a9b8be645cd239247f">More...</a><br /></td></tr> <tr class="separator:af32eda8fd2a468a9b8be645cd239247f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a91658e2b2a71aa75900ec8b2f1d3798c"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTranscodeFromStr.html#a91658e2b2a71aa75900ec8b2f1d3798c">TranscodeFromStr</a> (const <a class="el" href="XercesDefs_8hpp.html#a7470c7a32c59355685ebcd878a33f126">XMLByte</a> *data, <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> <a class="el" href="classTranscodeFromStr.html#a2b70e681ce817ad7bf05a3f0007a955f">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:a91658e2b2a71aa75900ec8b2f1d3798c"><td class="mdescLeft"> </td><td class="mdescRight">Converts from the specified encoding to the internal XMLCh* encoding. <a href="#a91658e2b2a71aa75900ec8b2f1d3798c">More...</a><br /></td></tr> <tr class="separator:a91658e2b2a71aa75900ec8b2f1d3798c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a798acc4a2edf576ff16406361beecfe0"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTranscodeFromStr.html#a798acc4a2edf576ff16406361beecfe0">~TranscodeFromStr</a> ()</td></tr> <tr class="separator:a798acc4a2edf576ff16406361beecfe0"><td class="memSeparator" colspan="2"> </td></tr> <tr><td colspan="2"><div class="groupHeader">Getter methods</div></td></tr> <tr class="memitem:a2326c1a76998edfd42a6d2afdbea58fa"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTranscodeFromStr.html#a2326c1a76998edfd42a6d2afdbea58fa">str</a> () const </td></tr> <tr class="memdesc:a2326c1a76998edfd42a6d2afdbea58fa"><td class="mdescLeft"> </td><td class="mdescRight">Returns the transcoded, null terminated string. <a href="#a2326c1a76998edfd42a6d2afdbea58fa">More...</a><br /></td></tr> <tr class="separator:a2326c1a76998edfd42a6d2afdbea58fa"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7124c41c32ef7b5ae9504ae26afe8b26"><td class="memItemLeft" align="right" valign="top"><a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTranscodeFromStr.html#a7124c41c32ef7b5ae9504ae26afe8b26">adopt</a> ()</td></tr> <tr class="memdesc:a7124c41c32ef7b5ae9504ae26afe8b26"><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="classTranscodeFromStr.html">TranscodeFromStr</a> object. <a href="#a7124c41c32ef7b5ae9504ae26afe8b26">More...</a><br /></td></tr> <tr class="separator:a7124c41c32ef7b5ae9504ae26afe8b26"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2b70e681ce817ad7bf05a3f0007a955f"><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="classTranscodeFromStr.html#a2b70e681ce817ad7bf05a3f0007a955f">length</a> () const </td></tr> <tr class="memdesc:a2b70e681ce817ad7bf05a3f0007a955f"><td class="mdescLeft"> </td><td class="mdescRight">Returns the length of the transcoded string in characters. <a href="#a2b70e681ce817ad7bf05a3f0007a955f">More...</a><br /></td></tr> <tr class="separator:a2b70e681ce817ad7bf05a3f0007a955f"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="af32eda8fd2a468a9b8be645cd239247f"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">TranscodeFromStr::TranscodeFromStr </td> <td>(</td> <td class="paramtype">const <a class="el" href="XercesDefs_8hpp.html#a7470c7a32c59355685ebcd878a33f126">XMLByte</a> * </td> <td class="paramname"><em>data</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 specified encoding to the internal XMLCh* encoding. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">data</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="a91658e2b2a71aa75900ec8b2f1d3798c"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">TranscodeFromStr::TranscodeFromStr </td> <td>(</td> <td class="paramtype">const <a class="el" href="XercesDefs_8hpp.html#a7470c7a32c59355685ebcd878a33f126">XMLByte</a> * </td> <td class="paramname"><em>data</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 specified encoding to the internal XMLCh* encoding. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">data</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="a798acc4a2edf576ff16406361beecfe0"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">TranscodeFromStr::~TranscodeFromStr </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="a7124c41c32ef7b5ae9504ae26afe8b26"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> * TranscodeFromStr::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="classTranscodeFromStr.html">TranscodeFromStr</a> object. </p> <dl class="section return"><dt>Returns</dt><dd>the transcoded string </dd></dl>
</div> </div> <a class="anchor" id="a2b70e681ce817ad7bf05a3f0007a955f"></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> TranscodeFromStr::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 characters. </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 characters </dd></dl>
</div> </div> <a class="anchor" id="a2326c1a76998edfd42a6d2afdbea58fa"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> * TranscodeFromStr::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>
|