<!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>ID3_IOStreamWriter class Reference</title> <link href="id3lib.css" rel="stylesheet" type="text/css"> </head><body bgcolor="#ffffff"> <!-- Generated by Doxygen 1.2.12 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> <hr><h1>ID3_IOStreamWriter Class Reference</h1><code>#include <<a class="el" href="writers_8h-source.html">writers.h</a>></code> <p> <p>Inheritance diagram for ID3_IOStreamWriter:: <p><center><img src="class_i_d3___i_o_stream_writer.gif" usemap="#ID3_IOStreamWriter_map" border="0"></center> <map name="ID3_IOStreamWriter_map"> <area href="class_i_d3___writer.html" alt="ID3_Writer" shape="rect" coords="0,0,124,24"> <area href="class_i_d3___f_stream_writer.html" alt="ID3_FStreamWriter" shape="rect" coords="0,112,124,136"> </map> <a href="class_i_d3___i_o_stream_writer-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="class_i_d3___i_o_stream_writer.html#a0">ID3_IOStreamWriter</a> (iostream &writer)</td></tr> <tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="class_i_d3___i_o_stream_writer.html#a1">~ID3_IOStreamWriter</a> ()</td></tr> <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_i_d3___i_o_stream_writer.html#a2">close</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Close the writer.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_i_d3___i_o_stream_writer.html#a3">flush</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Flush the writer.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>virtual <a class="el" href="class_i_d3___writer.html#s4">int_type</a> </td><td valign=bottom><a class="el" href="class_i_d3___i_o_stream_writer.html#a4">writeChar</a> (<a class="el" href="class_i_d3___writer.html#s1">char_type</a> ch)</td></tr> <tr><td> </td><td><font size=-1><em>Write a single character and advance the internal position.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>virtual <a class="el" href="class_i_d3___writer.html#s0">size_type</a> </td><td valign=bottom><a class="el" href="class_i_d3___i_o_stream_writer.html#a5">writeChars</a> (const char buf[], <a class="el" href="class_i_d3___writer.html#s0">size_type</a> len)</td></tr> <tr><td> </td><td><font size=-1><em>Write up to <code>len</code> chars into buf and advance the internal position accordingly.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>virtual <a class="el" href="class_i_d3___writer.html#s0">size_type</a> </td><td valign=bottom><a class="el" href="class_i_d3___i_o_stream_writer.html#a6">writeChars</a> (const <a class="el" href="class_i_d3___writer.html#s1">char_type</a> buf[], <a class="el" href="class_i_d3___writer.html#s0">size_type</a> len)</td></tr> <tr><td> </td><td><font size=-1><em>Write up to <code>len</code> characters into buf and advance the internal position accordingly.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>virtual <a class="el" href="class_i_d3___writer.html#s2">pos_type</a> </td><td valign=bottom><a class="el" href="class_i_d3___i_o_stream_writer.html#a7">getBeg</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Return the beginning position in the writer *.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>virtual <a class="el" href="class_i_d3___writer.html#s2">pos_type</a> </td><td valign=bottom><a class="el" href="class_i_d3___i_o_stream_writer.html#a8">getCur</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Return the next position that will be written to.</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr> <tr><td colspan=2><br><h2>Protected Methods</h2></td></tr> <tr><td nowrap align=right valign=top>iostream & </td><td valign=bottom><a class="el" href="class_i_d3___i_o_stream_writer.html#b0">getWriter</a> () const</td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="ID3_IOStreamWriter::ID3_IOStreamWriter"></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"> ID3_IOStreamWriter::ID3_IOStreamWriter </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">iostream & </td> <td class="mdname1" valign="top" nowrap> <em>writer</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [inline]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="writers_8h-source.html#l00093">93</a> of file <a class="el" href="writers_8h-source.html">writers.h</a>. </td> </tr> </table> <a name="a1" doxytag="ID3_IOStreamWriter::~ID3_IOStreamWriter"></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 ID3_IOStreamWriter::~ID3_IOStreamWriter </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> [inline, virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="writers_8h-source.html#l00094">94</a> of file <a class="el" href="writers_8h-source.html">writers.h</a>. </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="a2" doxytag="ID3_IOStreamWriter::close"></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 void ID3_IOStreamWriter::close </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> [inline, virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Close the writer. <p> Any further actions on the writer should fail. * <p> Reimplemented from <a class="el" href="class_i_d3___writer.html#a0">ID3_Writer</a>. <p> Reimplemented in <a class="el" href="class_i_d3___f_stream_writer.html#a1">ID3_FStreamWriter</a>. <p> Definition at line <a class="el" href="writers_8h-source.html#l00096">96</a> of file <a class="el" href="writers_8h-source.html">writers.h</a>. </td> </tr> </table> <a name="a3" doxytag="ID3_IOStreamWriter::flush"></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 void ID3_IOStreamWriter::flush </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> [inline, virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Flush the writer. <p> * <p> Reimplemented from <a class="el" href="class_i_d3___writer.html#a1">ID3_Writer</a>. <p> Definition at line <a class="el" href="writers_8h-source.html#l00097">97</a> of file <a class="el" href="writers_8h-source.html">writers.h</a>. </td> </tr> </table> <a name="a7" doxytag="ID3_IOStreamWriter::getBeg"></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="class_i_d3___writer.html#s2">pos_type</a> ID3_IOStreamWriter::getBeg </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> [inline, virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Return the beginning position in the writer *. <p> <p> Reimplemented from <a class="el" href="class_i_d3___writer.html#a2">ID3_Writer</a>. <p> Definition at line <a class="el" href="writers_8h-source.html#l00119">119</a> of file <a class="el" href="writers_8h-source.html">writers.h</a>. </td> </tr> </table> <a name="a8" doxytag="ID3_IOStreamWriter::getCur"></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="class_i_d3___writer.html#s2">pos_type</a> ID3_IOStreamWriter::getCur </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> [inline, virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Return the next position that will be written to. <p> <p> Reimplemented from <a class="el" href="class_i_d3___writer.html#a4">ID3_Writer</a>. <p> Definition at line <a class="el" href="writers_8h-source.html#l00120">120</a> of file <a class="el" href="writers_8h-source.html">writers.h</a>. </td> </tr> </table> <a name="b0" doxytag="ID3_IOStreamWriter::getWriter"></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"> iostream& ID3_IOStreamWriter::getWriter </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const<code> [inline, protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="writers_8h-source.html#l00091">91</a> of file <a class="el" href="writers_8h-source.html">writers.h</a>. </td> </tr> </table> <a name="a4" doxytag="ID3_IOStreamWriter::writeChar"></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="class_i_d3___writer.html#s4">int_type</a> ID3_IOStreamWriter::writeChar </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="class_i_d3___writer.html#s1">char_type</a> </td> <td class="mdname1" valign="top" nowrap> <em>ch</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [inline, virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Write a single character and advance the internal position. <p> Note that the interal position may advance more than one byte for a single character write. Returns END_OF_WRITER if there isn't a character to write. <p> Reimplemented from <a class="el" href="class_i_d3___writer.html#a7">ID3_Writer</a>. <p> Definition at line <a class="el" href="writers_8h-source.html#l00099">99</a> of file <a class="el" href="writers_8h-source.html">writers.h</a>. </td> </tr> </table> <a name="a6" doxytag="ID3_IOStreamWriter::writeChars"></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="class_i_d3___writer.html#s0">size_type</a> ID3_IOStreamWriter::writeChars </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="class_i_d3___writer.html#s1">char_type</a> </td> <td class="mdname" nowrap> <em>buf</em>[], </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="class_i_d3___writer.html#s0">size_type</a> </td> <td class="mdname" nowrap> <em>len</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [inline, virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Write up to <code>len</code> characters into buf and advance the internal position accordingly. <p> Returns the number of characters write into buf. Note that the value returned may be less than the number of bytes that the internal position advances, due to multi-byte characters. <p> Reimplemented from <a class="el" href="class_i_d3___writer.html#a8">ID3_Writer</a>. <p> Definition at line <a class="el" href="writers_8h-source.html#l00113">113</a> of file <a class="el" href="writers_8h-source.html">writers.h</a>. </td> </tr> </table> <a name="a5" doxytag="ID3_IOStreamWriter::writeChars"></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="class_i_d3___writer.html#s0">size_type</a> ID3_IOStreamWriter::writeChars </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><a class="el" href="class_i_d3___writer.html#s0">size_type</a> </td> <td class="mdname" nowrap> <em>len</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [inline, virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Write up to <code>len</code> chars into buf and advance the internal position accordingly. <p> Returns the number of characters write into buf. <p> Reimplemented from <a class="el" href="class_i_d3___writer.html#a9">ID3_Writer</a>. <p> Definition at line <a class="el" href="writers_8h-source.html#l00108">108</a> of file <a class="el" href="writers_8h-source.html">writers.h</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li>include/id3/<a class="el" href="writers_8h-source.html">writers.h</a></ul> <hr><address><small>Generated on Thu Jan 3 07:35:56 2002 for id3lib by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.gif" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.12 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, © 1997-2001</small></address> </body> </html>