<!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_MemoryWriter 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_MemoryWriter Class Reference</h1><code>#include <<a class="el" href="writers_8h-source.html">writers.h</a>></code> <p> <p>Inheritance diagram for ID3_MemoryWriter:: <p><center><img src="class_i_d3___memory_writer.gif" usemap="#ID3_MemoryWriter_map" border="0"></center> <map name="ID3_MemoryWriter_map"> <area href="class_i_d3___writer.html" alt="ID3_Writer" shape="rect" coords="0,0,118,24"> </map> <a href="class_i_d3___memory_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___memory_writer.html#a0">ID3_MemoryWriter</a> ()</td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="class_i_d3___memory_writer.html#a1">ID3_MemoryWriter</a> (<a class="el" href="class_i_d3___writer.html#s1">char_type</a> buf[], size_t size)</td></tr> <tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="class_i_d3___memory_writer.html#a2">~ID3_MemoryWriter</a> ()</td></tr> <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_i_d3___memory_writer.html#a3">close</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Close the writer.</em> <a href="#a3">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___memory_writer.html#a4">flush</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Flush the writer.</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___memory_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 from 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___memory_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___memory_writer.html#a7">getCur</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Return the next position that will be written to.</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___memory_writer.html#a8">getBeg</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Return the beginning position in the writer *.</em> <a href="#a8">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___memory_writer.html#a9">getEnd</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Return the first position that can't be written to.</em> <a href="#a9">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>void </td><td valign=bottom><a class="el" href="class_i_d3___memory_writer.html#b0">setBuffer</a> (<a class="el" href="class_i_d3___writer.html#s1">char_type</a> *buf, size_t size)</td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="ID3_MemoryWriter::ID3_MemoryWriter"></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_MemoryWriter::ID3_MemoryWriter </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]</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#l00149">149</a> of file <a class="el" href="writers_8h-source.html">writers.h</a>. <p> References <a class="el" href="globals_8h-source.html#l00404">NULL</a>. </td> </tr> </table> <a name="a1" doxytag="ID3_MemoryWriter::ID3_MemoryWriter"></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_MemoryWriter::ID3_MemoryWriter </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="mdname" nowrap> <em>buf</em>[], </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>size_t </td> <td class="mdname" nowrap> <em>size</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><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#l00153">153</a> of file <a class="el" href="writers_8h-source.html">writers.h</a>. </td> </tr> </table> <a name="a2" doxytag="ID3_MemoryWriter::~ID3_MemoryWriter"></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_MemoryWriter::~ID3_MemoryWriter </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#l00157">157</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="a3" doxytag="ID3_MemoryWriter::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_MemoryWriter::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> Definition at line <a class="el" href="writers_8h-source.html#l00158">158</a> of file <a class="el" href="writers_8h-source.html">writers.h</a>. </td> </tr> </table> <a name="a4" doxytag="ID3_MemoryWriter::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_MemoryWriter::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#l00159">159</a> of file <a class="el" href="writers_8h-source.html">writers.h</a>. </td> </tr> </table> <a name="a8" doxytag="ID3_MemoryWriter::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_MemoryWriter::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#l00182">182</a> of file <a class="el" href="writers_8h-source.html">writers.h</a>. </td> </tr> </table> <a name="a7" doxytag="ID3_MemoryWriter::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_MemoryWriter::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#l00177">177</a> of file <a class="el" href="writers_8h-source.html">writers.h</a>. </td> </tr> </table> <a name="a9" doxytag="ID3_MemoryWriter::getEnd"></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_MemoryWriter::getEnd </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 first position that can't be written to. <p> A return value of -1 indicates no (reasonable) limit to the writer. <p> Reimplemented from <a class="el" href="class_i_d3___writer.html#a3">ID3_Writer</a>. <p> Definition at line <a class="el" href="writers_8h-source.html#l00187">187</a> of file <a class="el" href="writers_8h-source.html">writers.h</a>. </td> </tr> </table> <a name="b0" doxytag="ID3_MemoryWriter::setBuffer"></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"> void ID3_MemoryWriter::setBuffer </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="mdname" nowrap> <em>buf</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>size_t </td> <td class="mdname" nowrap> <em>size</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><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#l00142">142</a> of file <a class="el" href="writers_8h-source.html">writers.h</a>. </td> </tr> </table> <a name="a6" doxytag="ID3_MemoryWriter::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_MemoryWriter::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#l00168">168</a> of file <a class="el" href="writers_8h-source.html">writers.h</a>. </td> </tr> </table> <a name="a5" doxytag="ID3_MemoryWriter::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_MemoryWriter::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 from buf and advance the internal position accordingly. <p> Returns the number of characters written from 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#l00164">164</a> of file <a class="el" href="writers_8h-source.html">writers.h</a>. <p> References <a class="el" href="class_i_d3___writer.html#a8">ID3_Writer::writeChars</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:57 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>