id3lib
3.8.3
|
#include <io_strings.h>
Public Member Functions | |
BStringWriter (BString &string) | |
virtual | ~BStringWriter () |
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 209 of file io_strings.h.
dami::io::BStringWriter::BStringWriter | ( | BString & | string | ) | [inline] |
Definition at line 213 of file io_strings.h.
virtual dami::io::BStringWriter::~BStringWriter | ( | ) | [inline, virtual] |
Definition at line 214 of file io_strings.h.
void dami::io::BStringWriter::close | ( | ) | [inline, virtual] |
Close the writer.
Any further actions on the writer should fail.
Implements ID3_Writer.
Definition at line 216 of file io_strings.h.
void dami::io::BStringWriter::flush | ( | ) | [inline, virtual] |
pos_type dami::io::BStringWriter::getCur | ( | ) | [inline, virtual] |
Return the next position that will be written to.
Implements ID3_Writer.
Definition at line 229 of file io_strings.h.
virtual size_type dami::io::BStringWriter::writeChars | ( | const char | buf[], |
size_type | len | ||
) | [inline, virtual] |
Reimplemented from ID3_Writer.
Definition at line 218 of file io_strings.h.
size_type dami::io::BStringWriter::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 223 of file io_strings.h.