#include <writers.h>
Inheritance diagram for ID3_MemoryWriter:

Public Member Functions | |
| ID3_MemoryWriter () | |
| ID3_MemoryWriter (char_type buf[], size_t size) | |
| virtual | ~ID3_MemoryWriter () |
| virtual void | close () |
| Close the writer. | |
| virtual void | flush () |
| Flush the writer. | |
| virtual size_type | writeChars (const char buf[], size_type len) |
Write up to len chars from buf and advance the internal position accordingly. | |
| virtual size_type | writeChars (const char_type buf[], size_type len) |
| virtual pos_type | getCur () |
| Return the next position that will be written to. | |
| virtual pos_type | getBeg () |
| Return the beginning position in the writer. | |
| virtual pos_type | getEnd () |
| Return the first position that can't be written to. | |
Protected Member Functions | |
| void | setBuffer (char_type *buf, size_t size) |
Definition at line 135 of file writers.h.
| ID3_MemoryWriter::ID3_MemoryWriter | ( | ) | [inline] |
| ID3_MemoryWriter::ID3_MemoryWriter | ( | char_type | buf[], | |
| size_t | size | |||
| ) | [inline] |
| virtual ID3_MemoryWriter::~ID3_MemoryWriter | ( | ) | [inline, virtual] |
| void ID3_MemoryWriter::setBuffer | ( | char_type * | buf, | |
| size_t | size | |||
| ) | [inline, protected] |
| virtual void ID3_MemoryWriter::close | ( | ) | [inline, virtual] |
| virtual void ID3_MemoryWriter::flush | ( | ) | [inline, virtual] |
| virtual size_type ID3_MemoryWriter::writeChars | ( | const char | buf[], | |
| size_type | len | |||
| ) | [inline, virtual] |
Write up to len chars from buf and advance the internal position accordingly.
Returns the number of characters written from buf.
Definition at line 163 of file writers.h.
References ID3_Writer::writeChars().
| virtual pos_type ID3_MemoryWriter::getCur | ( | ) | [inline, virtual] |
Return the next position that will be written to.
Implements ID3_Writer.
Definition at line 176 of file writers.h.
References _cur.
| virtual pos_type ID3_MemoryWriter::getBeg | ( | ) | [inline, virtual] |
| virtual pos_type ID3_MemoryWriter::getEnd | ( | ) | [inline, virtual] |
Return the first position that can't be written to.
A return value of -1 indicates no (reasonable) limit to the writer.
Reimplemented from ID3_Writer.
Definition at line 186 of file writers.h.
References _end.
1.5.2