Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

ID3_IOStreamWriter Class Reference

#include <writers.h>

Inheritance diagram for ID3_IOStreamWriter::

ID3_Writer ID3_FStreamWriter List of all members.

Public Methods

 ID3_IOStreamWriter (iostream &writer)
virtual ~ID3_IOStreamWriter ()
virtual void close ()
 Close the writer. More...

virtual void flush ()
 Flush the writer. More...

virtual int_type writeChar (char_type ch)
 Write a single character and advance the internal position. More...

virtual size_type writeChars (const char buf[], size_type len)
 Write up to len chars into buf and advance the internal position accordingly. More...

virtual size_type writeChars (const char_type buf[], size_type len)
 Write up to len chars into buf and advance the internal position accordingly. More...

virtual pos_type getBeg ()
 Return the beginning position in the writer *. More...

virtual pos_type getCur ()
 Return the next position that will be written to. More...


Protected Methods

iostream& getWriter () const

Constructor & Destructor Documentation

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

Parameters:
writer  

Definition at line 93 of file writers.h.

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

Definition at line 94 of file writers.h.


Member Function Documentation

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

Close the writer.

Any further actions on the writer should fail. *

Reimplemented from ID3_Writer.

Reimplemented in ID3_FStreamWriter.

Definition at line 96 of file writers.h.

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

Flush the writer.

*

Reimplemented from ID3_Writer.

Definition at line 97 of file writers.h.

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

Return the beginning position in the writer *.

Reimplemented from ID3_Writer.

Definition at line 119 of file writers.h.

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

Return the next position that will be written to.

Reimplemented from ID3_Writer.

Definition at line 120 of file writers.h.

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

Definition at line 91 of file writers.h.

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

Write a single character and advance the internal position.

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.

Parameters:
ch  

Reimplemented from ID3_Writer.

Definition at line 99 of file writers.h.

size_type ID3_IOStreamWriter::writeChars ( const char_type 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.

Parameters:
buf  
len  

Reimplemented from ID3_Writer.

Definition at line 113 of file writers.h.

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.

Parameters:
buf  
len  

Reimplemented from ID3_Writer.

Definition at line 108 of file writers.h.

Referenced by ID3_MemoryWriter::writeChars().


The documentation for this class was generated from the following file:
Generated at Sat Sep 8 15:51:12 2001 for id3lib by doxygen1.2.8 written by Dimitri van Heesch, © 1997-2001