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

dami::io::CompressedWriter Class Reference

#include <io_decorators.h>

Inheritance diagram for dami::io::CompressedWriter:

ID3_Writer List of all members.

Public Methods

 CompressedWriter (ID3_Writer &writer)
virtual ~CompressedWriter ()
size_type getOrigSize () const
void flush ()
 Flush the writer.

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

size_type writeChars (const char buf[], size_type len)
pos_type getCur ()
 Return the next position that will be written to.

void close ()
 Close the writer.


Constructor & Destructor Documentation

dami::io::CompressedWriter::CompressedWriter ID3_Writer   writer [inline, explicit]
 

Definition at line 196 of file io_decorators.h.

virtual dami::io::CompressedWriter::~CompressedWriter   [inline, virtual]
 

Definition at line 199 of file io_decorators.h.

References flush().


Member Function Documentation

void dami::io::CompressedWriter::close   [inline, virtual]
 

Close the writer.

Any further actions on the writer should fail. *

Implements ID3_Writer.

Definition at line 212 of file io_decorators.h.

void io::CompressedWriter::flush   [virtual]
 

Flush the writer.

*

Implements ID3_Writer.

Definition at line 257 of file io_decorators.cpp.

References ID3_Writer::char_type, ID3_Writer::size_type, and ID3_Writer::writeChars().

Referenced by ~CompressedWriter().

pos_type dami::io::CompressedWriter::getCur   [inline, virtual]
 

Return the next position that will be written to.

Implements ID3_Writer.

Definition at line 211 of file io_decorators.h.

References ID3_Writer::pos_type.

size_type dami::io::CompressedWriter::getOrigSize   const [inline]
 

Definition at line 201 of file io_decorators.h.

References ID3_Writer::size_type.

size_type dami::io::CompressedWriter::writeChars const char    buf[],
size_type    len
[inline, virtual]
 

Reimplemented from ID3_Writer.

Definition at line 206 of file io_decorators.h.

References ID3_Writer::size_type, and writeChars().

ID3_Writer::size_type io::CompressedWriter::writeChars const char_type    buf[],
size_type    len
[virtual]
 

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

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.

Implements ID3_Writer.

Definition at line 292 of file io_decorators.cpp.

Referenced by writeChars().


The documentation for this class was generated from the following files:
Generated on Fri Nov 29 06:01:55 2002 for id3lib by doxygen1.2.18