<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>libxml++: xmlpp::OutputBuffer Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.8 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</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="dirs.html"><span>Directories</span></a></li> </ul> </div> <div class="tabs"> <ul> <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 class="navpath"><a class="el" href="namespacexmlpp.html">xmlpp</a>::<a class="el" href="classxmlpp_1_1OutputBuffer.html">OutputBuffer</a> </div> </div> <div class="contents"> <h1>xmlpp::OutputBuffer Class Reference</h1><!-- doxytag: class="xmlpp::OutputBuffer" --><!-- doxytag: inherits="xmlpp::NonCopyable" -->Base class for xmlOutputBuffer wrapper. <a href="#_details">More...</a> <p> <div class="dynheader"> Inheritance diagram for xmlpp::OutputBuffer:</div> <div class="dynsection"> <p><center><img src="classxmlpp_1_1OutputBuffer__inherit__graph.jpg" border="0" usemap="#xmlpp_1_1OutputBuffer__inherit__map" alt="Inheritance graph"></center> <map name="xmlpp_1_1OutputBuffer__inherit__map"> <area shape="rect" href="classxmlpp_1_1OStreamOutputBuffer.html" title="An OutputBuffer implementation that send datas to a std::ostream." alt="" coords="5,155,195,181"><area shape="rect" href="classxmlpp_1_1NonCopyable.html" title="Herited by classes which cannot be copied." alt="" coords="29,5,171,32"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="classxmlpp_1_1OutputBuffer-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1OutputBuffer.html#2e00dabdec3e40b837d2b9ecb1d9fbcd">OutputBuffer</a> (const Glib::ustring &encoding=Glib::ustring())</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1OutputBuffer.html#02ddd3e8891f92d6518252f6326ed2a9">~OutputBuffer</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">_xmlOutputBuffer * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1OutputBuffer.html#2de0e355037956329d70b990d7bc79f5">cobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">gives an access to the underlying libxml structure to the children <a href="#2de0e355037956329d70b990d7bc79f5"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const _xmlOutputBuffer * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1OutputBuffer.html#6dbd7fc5ab8af66e751e0209aa3a0346">cobj</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">gives an access to the underlying libxml structure to the children <a href="#6dbd7fc5ab8af66e751e0209aa3a0346"></a><br></td></tr> <tr><td colspan="2"><br><h2>Friends</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1OutputBuffer.html#ce09b059d166044ed816ac7243fd5e83">OutputBufferCallback</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Base class for xmlOutputBuffer wrapper. <p> It can be herited to create a new output buffer. A child class has to override do_write, and eventually do_close if some actions are required before buffer closing. <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="2e00dabdec3e40b837d2b9ecb1d9fbcd"></a><!-- doxytag: member="xmlpp::OutputBuffer::OutputBuffer" ref="2e00dabdec3e40b837d2b9ecb1d9fbcd" args="(const Glib::ustring &encoding=Glib::ustring())" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">xmlpp::OutputBuffer::OutputBuffer </td> <td>(</td> <td class="paramtype">const Glib::ustring & </td> <td class="paramname"> <em>encoding</em> = <code>Glib::ustring()</code> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>encoding</em> </td><td>The encoding herited class wait for in do_write. If not provided, UTF-8 will be sent to do_write.</td></tr> </table> </dl> <dl class="warning" compact><dt><b>Warning:</b></dt><dd>The encoding is done by libxml. As a consequence, libxml must have a translator to the target encoding. </dd></dl> </div> </div><p> <a class="anchor" name="02ddd3e8891f92d6518252f6326ed2a9"></a><!-- doxytag: member="xmlpp::OutputBuffer::~OutputBuffer" ref="02ddd3e8891f92d6518252f6326ed2a9" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual xmlpp::OutputBuffer::~OutputBuffer </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="6dbd7fc5ab8af66e751e0209aa3a0346"></a><!-- doxytag: member="xmlpp::OutputBuffer::cobj" ref="6dbd7fc5ab8af66e751e0209aa3a0346" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const _xmlOutputBuffer* xmlpp::OutputBuffer::cobj </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p> gives an access to the underlying libxml structure to the children <p> </div> </div><p> <a class="anchor" name="2de0e355037956329d70b990d7bc79f5"></a><!-- doxytag: member="xmlpp::OutputBuffer::cobj" ref="2de0e355037956329d70b990d7bc79f5" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">_xmlOutputBuffer* xmlpp::OutputBuffer::cobj </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> gives an access to the underlying libxml structure to the children <p> </div> </div><p> <hr><h2>Friends And Related Function Documentation</h2> <a class="anchor" name="ce09b059d166044ed816ac7243fd5e83"></a><!-- doxytag: member="xmlpp::OutputBuffer::OutputBufferCallback" ref="ce09b059d166044ed816ac7243fd5e83" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">friend struct OutputBufferCallback<code> [friend]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="outputbuffer_8h.html">outputbuffer.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jul 27 17:07:25 2009 for libxml++ by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> </body> </html>