id3lib 3.8.3
|
#include <writers.h>
Public Member Functions | |
ID3_OFStreamWriter (ofstream &writer) | |
virtual void | close () |
Close the writer. | |
![]() | |
ID3_OStreamWriter (ostream &writer) | |
virtual | ~ID3_OStreamWriter () |
virtual void | flush () |
Flush the writer. | |
virtual int_type | writeChar (char_type ch) |
Write a single character and advance the internal position. | |
virtual size_type | writeChars (const char buf[], size_type len) |
Write up to len chars into buf and advance the internal position accordingly. | |
virtual size_type | writeChars (const char_type buf[], size_type len) |
Write up to len characters into buf and advance the internal position accordingly. | |
virtual pos_type | getBeg () |
Return the beginning position in the writer. | |
virtual pos_type | getCur () |
Return the next position that will be written to. | |
![]() | |
virtual pos_type | getEnd () |
Return the first position that can't be written to. | |
virtual size_type | getSize () |
Return the number of bytes written. | |
virtual size_type | getMaxSize () |
Return the maximum number of bytes that can be written. | |
virtual bool | atEnd () |
Additional Inherited Members | |
![]() | |
typedef uint32 | size_type |
typedef uint8 | char_type |
typedef uint32 | pos_type |
typedef int32 | off_type |
typedef int16 | int_type |
![]() | |
static const int_type | END_OF_WRITER = -1 |
![]() | |
ostream & | getWriter () const |
|
inline |
|
inlinevirtual |
Close the writer.
Any further actions on the writer should fail.
Reimplemented from ID3_OStreamWriter.