<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html lang="en" dir="LTR"> <head> <!-- $Id: header.html,v 1.5 2004/06/12 01:58:25 sbooth Exp $ --> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>cgicc: cgicc::MStreamable Class Reference</title> <link rev="made" href="mailto:bug-cgicc@gnu.org" /> <link href="doxygen.css" rel="stylesheet" type="text/css" /> <link href="cgicc-doc.css" rel="stylesheet" type="text/css" /> </head> <body> <!-- Generated by Doxygen 1.5.9 --> <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> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</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="namespacecgicc.html">cgicc</a>::<a class="el" href="classcgicc_1_1MStreamable.html">MStreamable</a> </div> </div> <div class="contents"> <h1>cgicc::MStreamable Class Reference</h1><!-- doxytag: class="cgicc::MStreamable" -->Mix-in streamable interface. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="MStreamable_8h_source.html">cgicc/MStreamable.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for cgicc::MStreamable:</div> <div class="dynsection"> <p><center><img src="classcgicc_1_1MStreamable.png" usemap="#cgicc::MStreamable_map" border="0" alt=""></center> <map name="cgicc::MStreamable_map"> <area href="classcgicc_1_1HTMLAttribute.html" alt="cgicc::HTMLAttribute" shape="rect" coords="187,56,364,80"> <area href="classcgicc_1_1HTMLDoctype.html" alt="cgicc::HTMLDoctype" shape="rect" coords="187,112,364,136"> <area href="classcgicc_1_1HTMLElement.html" alt="cgicc::HTMLElement" shape="rect" coords="187,168,364,192"> <area href="classcgicc_1_1HTTPCookie.html" alt="cgicc::HTTPCookie" shape="rect" coords="187,224,364,248"> <area href="classcgicc_1_1HTTPHeader.html" alt="cgicc::HTTPHeader" shape="rect" coords="187,280,364,304"> <area href="classcgicc_1_1HTTPResponseHeader.html" alt="cgicc::HTTPResponseHeader" shape="rect" coords="187,336,364,360"> <area href="classcgicc_1_1XHTMLDoctype.html" alt="cgicc::XHTMLDoctype" shape="rect" coords="187,392,364,416"> <area href="classcgicc_1_1XMLPI.html" alt="cgicc::XMLPI" shape="rect" coords="187,448,364,472"> </map> </div> <p> <a href="classcgicc_1_1MStreamable-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"><a class="anchor" name="b93a5a655ee9ef2c5f7e84fb132d0cda"></a><!-- doxytag: member="cgicc::MStreamable::MStreamable" ref="b93a5a655ee9ef2c5f7e84fb132d0cda" args="()" --> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcgicc_1_1MStreamable.html#b93a5a655ee9ef2c5f7e84fb132d0cda">MStreamable</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Empty constructor. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e4d7a0bf0909b345274d91aafc6897d4"></a><!-- doxytag: member="cgicc::MStreamable::~MStreamable" ref="e4d7a0bf0909b345274d91aafc6897d4" args="()" --> virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classcgicc_1_1MStreamable.html#e4d7a0bf0909b345274d91aafc6897d4">~MStreamable</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Empty destructor. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcgicc_1_1MStreamable.html#6a4ae7e9c578b44eebf0f04341be74ab">render</a> (std::ostream &out) const =0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Write this object to a stream. <a href="#6a4ae7e9c578b44eebf0f04341be74ab"></a><br></td></tr> <tr><td colspan="2"><br><h2>Friends</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="classcgicc_1_1MStreamable.html#6c4e6fb1668e6f8f39537bd948b61204">operator<<</a> (std::ostream &out, const <a class="el" href="classcgicc_1_1MStreamable.html">MStreamable</a> &obj)</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Mix-in streamable interface. <p> Abstract mix-in class which makes classes streamable via the <code><<</code> operator. Written in the spirit of a Java interface. <p>Definition at line <a class="el" href="MStreamable_8h_source.html#l00066">66</a> of file <a class="el" href="MStreamable_8h_source.html">MStreamable.h</a>.</p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="6a4ae7e9c578b44eebf0f04341be74ab"></a><!-- doxytag: member="cgicc::MStreamable::render" ref="6a4ae7e9c578b44eebf0f04341be74ab" args="(std::ostream &out) const =0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void cgicc::MStreamable::render </td> <td>(</td> <td class="paramtype">std::ostream & </td> <td class="paramname"> <em>out</em> </td> <td> ) </td> <td> const<code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Write this object to a stream. <p> Subclasses must implement this function. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>out</em> </td><td>The ostream to which to write. </td></tr> </table> </dl> <p>Implemented in <a class="el" href="classcgicc_1_1HTMLAttribute.html#dbc7b1cc96788516816bdd0efd13a31d">cgicc::HTMLAttribute</a>, <a class="el" href="classcgicc_1_1HTMLDoctype.html#0c8af960941daa06ae11003faed722e9">cgicc::HTMLDoctype</a>, <a class="el" href="classcgicc_1_1HTMLElement.html#c17d5128ffb09a6806d6bfeda5ae0d5d">cgicc::HTMLElement</a>, <a class="el" href="classcgicc_1_1HTTPContentHeader.html#6a602d4ed31758a6dc26b63dcacc1fa9">cgicc::HTTPContentHeader</a>, <a class="el" href="classcgicc_1_1HTTPCookie.html#82f96b3972cb70cc51e389df3f27df4b">cgicc::HTTPCookie</a>, <a class="el" href="classcgicc_1_1HTTPHeader.html#550657fcf3438c67af22c0a0c385a5af">cgicc::HTTPHeader</a>, <a class="el" href="classcgicc_1_1HTTPRedirectHeader.html#3d72b2c1fe071916eec735084864a49e">cgicc::HTTPRedirectHeader</a>, <a class="el" href="classcgicc_1_1HTTPResponseHeader.html#3e42c4c41cb8b808c3cd6bf4dedeefea">cgicc::HTTPResponseHeader</a>, <a class="el" href="classcgicc_1_1HTTPStatusHeader.html#f6aa37dc11e627c0acef71dffcd5e157">cgicc::HTTPStatusHeader</a>, <a class="el" href="classcgicc_1_1XHTMLDoctype.html#6bbc61fbf5f70a7fc21f79891df3d8fc">cgicc::XHTMLDoctype</a>, and <a class="el" href="classcgicc_1_1XMLPI.html#31776f03b9e4036718a4cc02be02ac47">cgicc::XMLPI</a>.</p> </div> </div><p> <hr><h2>Friends And Related Function Documentation</h2> <a class="anchor" name="6c4e6fb1668e6f8f39537bd948b61204"></a><!-- doxytag: member="cgicc::MStreamable::operator<<" ref="6c4e6fb1668e6f8f39537bd948b61204" args="(std::ostream &out, const MStreamable &obj)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::ostream& operator<< </td> <td>(</td> <td class="paramtype">std::ostream & </td> <td class="paramname"> <em>out</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classcgicc_1_1MStreamable.html">MStreamable</a> & </td> <td class="paramname"> <em>obj</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [friend]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Prototype for overloading streaming operator <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>out</em> </td><td>The ostream to which to write </td></tr> <tr><td valign="top"></td><td valign="top"><em>obj</em> </td><td>The <a class="el" href="classcgicc_1_1MStreamable.html" title="Mix-in streamable interface.">MStreamable</a> object to write </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A reference to <code>out</code> </dd></dl> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="MStreamable_8h_source.html">MStreamable.h</a></ul> </div> <!-- $Id: footer.html,v 1.7 2004/06/12 01:58:25 sbooth Exp $ --> <hr> <address><small> <a href="http://www.cgicc.org">GNU cgicc</a> - A C++ class library for writing CGI applications<br /> Copyright © 1996 - 2004 <a href="mailto:sboothATgnuDOTorg">Stephen F. Booth</a><br /> Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front Cover Texts, and with no Back-Cover Texts.<br /> Documentation generated Tue Jun 9 15:30:17 2009 for cgicc by <a HREF="http://www.doxygen.org/index.html">doxygen</a> 1.5.9 </small></address> </body> </html>