Tag Parser
6.2.2
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
|
The MatroskaAttachmentMaker class helps writing Matroska "AttachedFile"-elements which contain an attachment. More...
#include <matroskaattachment.h>
Public Member Functions | |
void | make (std::ostream &stream) const |
Saves the attachment (specified when constructing the object) to the specified stream (makes an "AttachedFile"-element). More... | |
const MatroskaAttachment & | attachment () const |
Returns the associated attachment. More... | |
uint64 | requiredSize () const |
Returns the number of bytes which will be written when making the attachment. More... | |
void | bufferCurrentAttachments () |
Friends | |
class | MatroskaAttachment |
The MatroskaAttachmentMaker class helps writing Matroska "AttachedFile"-elements which contain an attachment.
An instance can be obtained using the MatroskaAttachment::prepareMaking() method.
Definition at line 11 of file matroskaattachment.h.
|
inline |
Returns the associated attachment.
Definition at line 32 of file matroskaattachment.h.
void Media::MatroskaAttachmentMaker::bufferCurrentAttachments | ( | ) |
Definition at line 178 of file matroskaattachment.cpp.
void Media::MatroskaAttachmentMaker::make | ( | std::ostream & | stream | ) | const |
Saves the attachment (specified when constructing the object) to the specified stream (makes an "AttachedFile"-element).
Throws | std::ios_base::failure when an IO error occurs. |
Throws | Assumes the data is already validated and thus does NOT throw Media::Failure or a derived exception. |
Definition at line 143 of file matroskaattachment.cpp.
|
inline |
Returns the number of bytes which will be written when making the attachment.
Definition at line 40 of file matroskaattachment.h.
|
friend |
Definition at line 13 of file matroskaattachment.h.