ID3_IOStreamWriter Class Reference

#include <writers.h>

Inheritance diagram for ID3_IOStreamWriter:

ID3_Writer ID3_FStreamWriter List of all members.

Public Member Functions

 ID3_IOStreamWriter (iostream &writer)
virtual ~ID3_IOStreamWriter ()
virtual void close ()
 Close the writer.
virtual void flush ()
 Flush the writer.
virtual int_type writeChar (char_type ch)
virtual size_type writeChars (const char buf[], size_type len)
 Write up to len chars into buf and advance the internal position accordingly.
virtual size_type writeChars (const char_type buf[], size_type len)
virtual pos_type getBeg ()
 Return the beginning position in the writer.
virtual pos_type getCur ()
 Return the next position that will be written to.

Protected Member Functions

iostream & getWriter () const

Detailed Description

Definition at line 85 of file writers.h.


Constructor & Destructor Documentation

ID3_IOStreamWriter::ID3_IOStreamWriter ( iostream &  writer  )  [inline]

Definition at line 92 of file writers.h.

virtual ID3_IOStreamWriter::~ID3_IOStreamWriter (  )  [inline, virtual]

Definition at line 93 of file writers.h.


Member Function Documentation

iostream& ID3_IOStreamWriter::getWriter (  )  const [inline, protected]

Definition at line 90 of file writers.h.

virtual void ID3_IOStreamWriter::close (  )  [inline, virtual]

Close the writer.

Any further actions on the writer should fail.

Implements ID3_Writer.

Reimplemented in ID3_FStreamWriter.

Definition at line 95 of file writers.h.

virtual void ID3_IOStreamWriter::flush (  )  [inline, virtual]

Flush the writer.

Implements ID3_Writer.

Definition at line 96 of file writers.h.

virtual int_type ID3_IOStreamWriter::writeChar ( char_type  ch  )  [inline, virtual]

Definition at line 98 of file writers.h.

virtual size_type ID3_IOStreamWriter::writeChars ( const char  buf[],
size_type  len 
) [inline, virtual]

Write up to len chars into buf and advance the internal position accordingly.

Returns the number of characters write into buf.

Definition at line 107 of file writers.h.

virtual size_type ID3_IOStreamWriter::writeChars ( const char_type  buf[],
size_type  len 
) [inline, virtual]

Definition at line 112 of file writers.h.

virtual pos_type ID3_IOStreamWriter::getBeg (  )  [inline, virtual]

Return the beginning position in the writer.

Reimplemented from ID3_Writer.

Definition at line 118 of file writers.h.

virtual pos_type ID3_IOStreamWriter::getCur (  )  [inline, virtual]

Return the next position that will be written to.

Implements ID3_Writer.

Definition at line 119 of file writers.h.


The documentation for this class was generated from the following file:
Generated on Mon Aug 20 17:48:46 2007 for id3lib by  doxygen 1.5.2