#include <io_strings.h>
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. |
Definition at line 183 of file io_strings.h.
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.
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] |
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.