<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Glib::StreamIOChannel class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head> <body bgcolor="#ffffff"> <table border="0" width="100%"> <tr> <td width="10%" height="40"><img src="../../images/gtkmm_logo.gif" alt="logo" border="0" width="100%" height="100%"/></td> <td width="90%" height="40"><img src="../../images/top.gif" alt="top" width="100%" height="40"/></td> </tr> </table> <center> <a class="qindex" href="../../index.html">Main Page</a> <a href="group__Widgets.html">Widgets</a> <a class="qindex" href="namespaces.html"> Namespaces</a> <a href="../../tutorial/html/index.html"> Book</a> </center> <hr width="100%"/> <!-- Generated by Doxygen 1.3-rc1 --> <h1>Glib::StreamIOChannel Class Reference</h1>This whole class is deprecated in glibmm 2.2. <a href="#_details">More...</a> <p> Inheritance diagram for Glib::StreamIOChannel:<p><center><img src="classGlib_1_1StreamIOChannel__inherit__graph.png" border="0" usemap="#Glib_1_1StreamIOChannel__inherit__map" alt="Inheritance graph"></center> <map name="Glib_1_1StreamIOChannel__inherit__map"> <area href="classGlib_1_1IOChannel.html" shape="rect" coords="28,86,132,105" alt=""> <area href="classSigC_1_1Object.html" shape="rect" coords="55,17,105,36" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classGlib_1_1StreamIOChannel-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 Methods</h2></td></tr> <tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="classGlib_1_1StreamIOChannel.html#a0">~StreamIOChannel</a> ()</td></tr> <tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><StreamIOChannel> </td><td valign=bottom><a class="el" href="classGlib_1_1StreamIOChannel.html#d0">create</a> (std::istream& stream)</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><StreamIOChannel> </td><td valign=bottom><a class="el" href="classGlib_1_1StreamIOChannel.html#d1">create</a> (std::ostream& stream)</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><StreamIOChannel> </td><td valign=bottom><a class="el" href="classGlib_1_1StreamIOChannel.html#d2">create</a> (std::iostream& stream)</td></tr> <tr><td colspan=2><br><h2>Protected Methods</h2></td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classGlib_1_1StreamIOChannel.html#b0">StreamIOChannel</a> (std::istream* stream_in, std::ostream* stream_out)</td></tr> <tr><td nowrap align=right valign=top>virtual <a class="el" href="group__glibmmEnums.html#a40">IOStatus</a> </td><td valign=bottom><a class="el" href="classGlib_1_1StreamIOChannel.html#b1">read_vfunc</a> (char* buf, gsize count, gsize& bytes_read)</td></tr> <tr><td nowrap align=right valign=top>virtual <a class="el" href="group__glibmmEnums.html#a40">IOStatus</a> </td><td valign=bottom><a class="el" href="classGlib_1_1StreamIOChannel.html#b2">write_vfunc</a> (const char* buf, gsize count, gsize& bytes_written)</td></tr> <tr><td nowrap align=right valign=top>virtual <a class="el" href="group__glibmmEnums.html#a40">IOStatus</a> </td><td valign=bottom><a class="el" href="classGlib_1_1StreamIOChannel.html#b3">seek_vfunc</a> (gint64 offset, <a class="el" href="group__glibmmEnums.html#a39">SeekType</a> type)</td></tr> <tr><td nowrap align=right valign=top>virtual <a class="el" href="group__glibmmEnums.html#a40">IOStatus</a> </td><td valign=bottom><a class="el" href="classGlib_1_1StreamIOChannel.html#b4">close_vfunc</a> ()</td></tr> <tr><td nowrap align=right valign=top>virtual <a class="el" href="group__glibmmEnums.html#a40">IOStatus</a> </td><td valign=bottom><a class="el" href="classGlib_1_1StreamIOChannel.html#b5">set_flags_vfunc</a> (<a class="el" href="group__glibmmEnums.html#a41">IOFlags</a> flags)</td></tr> <tr><td nowrap align=right valign=top>virtual <a class="el" href="group__glibmmEnums.html#a41">IOFlags</a> </td><td valign=bottom><a class="el" href="classGlib_1_1StreamIOChannel.html#b6">get_flags_vfunc</a> ()</td></tr> <tr><td nowrap align=right valign=top>virtual <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGlib_1_1Source.html">Glib::Source</a>> </td><td valign=bottom><a class="el" href="classGlib_1_1StreamIOChannel.html#b7">create_watch_vfunc</a> (<a class="el" href="group__MainLoop.html#a11">IOCondition</a> cond)</td></tr> <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> <tr><td nowrap align=right valign=top>std::istream* </td><td valign=bottom><a class="el" href="classGlib_1_1StreamIOChannel.html#n0">stream_in_</a></td></tr> <tr><td nowrap align=right valign=top>std::ostream* </td><td valign=bottom><a class="el" href="classGlib_1_1StreamIOChannel.html#n1">stream_out_</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> This whole class is deprecated in glibmm 2.2. <p> See the <a class="el" href="classGlib_1_1IOChannel.html">Glib::IOChannel</a> documentation for an explanation. <p> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="Glib::StreamIOChannel::~StreamIOChannel"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual Glib::StreamIOChannel::~StreamIOChannel </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="b0" doxytag="Glib::StreamIOChannel::StreamIOChannel"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Glib::StreamIOChannel::StreamIOChannel </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">std::istream* </td> <td class="mdname" nowrap> <em>stream_in</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>std::ostream* </td> <td class="mdname" nowrap> <em>stream_out</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="b4" doxytag="Glib::StreamIOChannel::close_vfunc"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual <a class="el" href="group__glibmmEnums.html#a40">IOStatus</a> Glib::StreamIOChannel::close_vfunc </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [protected, virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Reimplemented from <a class="el" href="classGlib_1_1IOChannel.html#b4">Glib::IOChannel</a>. </td> </tr> </table> <a name="d2" doxytag="Glib::StreamIOChannel::create"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><StreamIOChannel> Glib::StreamIOChannel::create </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">std::iostream& </td> <td class="mdname1" valign="top" nowrap> <em>stream</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [static]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="d1" doxytag="Glib::StreamIOChannel::create"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><StreamIOChannel> Glib::StreamIOChannel::create </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">std::ostream& </td> <td class="mdname1" valign="top" nowrap> <em>stream</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [static]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="d0" doxytag="Glib::StreamIOChannel::create"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><StreamIOChannel> Glib::StreamIOChannel::create </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">std::istream& </td> <td class="mdname1" valign="top" nowrap> <em>stream</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [static]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="b7" doxytag="Glib::StreamIOChannel::create_watch_vfunc"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGlib_1_1Source.html">Glib::Source</a>> Glib::StreamIOChannel::create_watch_vfunc </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top"><a class="el" href="group__MainLoop.html#a11">IOCondition</a> </td> <td class="mdname1" valign="top" nowrap> <em>cond</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [protected, virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Reimplemented from <a class="el" href="classGlib_1_1IOChannel.html#b7">Glib::IOChannel</a>. </td> </tr> </table> <a name="b6" doxytag="Glib::StreamIOChannel::get_flags_vfunc"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual <a class="el" href="group__glibmmEnums.html#a41">IOFlags</a> Glib::StreamIOChannel::get_flags_vfunc </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [protected, virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Reimplemented from <a class="el" href="classGlib_1_1IOChannel.html#b6">Glib::IOChannel</a>. </td> </tr> </table> <a name="b1" doxytag="Glib::StreamIOChannel::read_vfunc"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual <a class="el" href="group__glibmmEnums.html#a40">IOStatus</a> Glib::StreamIOChannel::read_vfunc </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">char* </td> <td class="mdname" nowrap> <em>buf</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>gsize </td> <td class="mdname" nowrap> <em>count</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>gsize& </td> <td class="mdname" nowrap> <em>bytes_read</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [protected, virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Reimplemented from <a class="el" href="classGlib_1_1IOChannel.html#b1">Glib::IOChannel</a>. </td> </tr> </table> <a name="b3" doxytag="Glib::StreamIOChannel::seek_vfunc"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual <a class="el" href="group__glibmmEnums.html#a40">IOStatus</a> Glib::StreamIOChannel::seek_vfunc </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">gint64 </td> <td class="mdname" nowrap> <em>offset</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group__glibmmEnums.html#a39">SeekType</a> </td> <td class="mdname" nowrap> <em>type</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [protected, virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Reimplemented from <a class="el" href="classGlib_1_1IOChannel.html#b3">Glib::IOChannel</a>. </td> </tr> </table> <a name="b5" doxytag="Glib::StreamIOChannel::set_flags_vfunc"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual <a class="el" href="group__glibmmEnums.html#a40">IOStatus</a> Glib::StreamIOChannel::set_flags_vfunc </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top"><a class="el" href="group__glibmmEnums.html#a41">IOFlags</a> </td> <td class="mdname1" valign="top" nowrap> <em>flags</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [protected, virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Reimplemented from <a class="el" href="classGlib_1_1IOChannel.html#b5">Glib::IOChannel</a>. </td> </tr> </table> <a name="b2" doxytag="Glib::StreamIOChannel::write_vfunc"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual <a class="el" href="group__glibmmEnums.html#a40">IOStatus</a> Glib::StreamIOChannel::write_vfunc </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">const char* </td> <td class="mdname" nowrap> <em>buf</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>gsize </td> <td class="mdname" nowrap> <em>count</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>gsize& </td> <td class="mdname" nowrap> <em>bytes_written</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [protected, virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Reimplemented from <a class="el" href="classGlib_1_1IOChannel.html#b2">Glib::IOChannel</a>. </td> </tr> </table> <hr><h2>Member Data Documentation</h2> <a name="n0" doxytag="Glib::StreamIOChannel::stream_in_"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> std::istream* Glib::StreamIOChannel::stream_in_<code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="n1" doxytag="Glib::StreamIOChannel::stream_out_"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> std::ostream* Glib::StreamIOChannel::stream_out_<code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="streamiochannel_8h.html">streamiochannel.h</a></ul> <hr><address><small> Generated for gtkmm by <a href="http://www.doxygen.org/index.html"> Doxygen</a> 1.3-rc1 © 1997-2001</small></address> </body> </html>