dami::io::StringWriter Class Reference

#include <io_strings.h>

Inheritance diagram for dami::io::StringWriter:

ID3_Writer

List of all members.

Public Member Functions

 StringWriter (String &string)
virtual ~StringWriter ()
void close ()
 Close the writer.
void flush ()
 Flush the writer.
virtual size_type writeChars (const char buf[], size_type len)
size_type writeChars (const char_type buf[], size_type len)
 Write up to len characters into buf and advance the internal position accordingly.
pos_type getCur ()
 Return the next position that will be written to.


Detailed Description

Definition at line 183 of file io_strings.h.


Constructor & Destructor Documentation

dami::io::StringWriter::StringWriter ( String &  string  )  [inline]

Definition at line 187 of file io_strings.h.

virtual dami::io::StringWriter::~StringWriter (  )  [inline, virtual]

Definition at line 188 of file io_strings.h.


Member Function Documentation

void dami::io::StringWriter::close (  )  [inline, virtual]

Close the writer.

Any further actions on the writer should fail.

Implements ID3_Writer.

Definition at line 190 of file io_strings.h.

void dami::io::StringWriter::flush (  )  [inline, virtual]

Flush the writer.

Implements ID3_Writer.

Definition at line 191 of file io_strings.h.

pos_type dami::io::StringWriter::getCur (  )  [inline, virtual]

Return the next position that will be written to.

Implements ID3_Writer.

Definition at line 203 of file io_strings.h.

size_type dami::io::StringWriter::writeChars ( const char_type  buf[],
size_type  len 
) [inline, 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 197 of file io_strings.h.

virtual size_type dami::io::StringWriter::writeChars ( const char  buf[],
size_type  len 
) [inline, virtual]

Reimplemented from ID3_Writer.

Definition at line 192 of file io_strings.h.


The documentation for this class was generated from the following file:

Generated on Wed Aug 19 04:05:39 2009 for id3lib by  doxygen 1.5.9