Tag Parser
6.5.0
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
|
The MatroskaTagMaker class helps writing Matroska "Tag"-elements storing tag information. More...
#include <matroskatag.h>
Public Member Functions | |
void | make (std::ostream &stream) const |
Saves the tag (specified when constructing the object) to the specified stream (makes a "Tag"-element). More... | |
const MatroskaTag & | tag () const |
Returns the associated tag. More... | |
uint64 | requiredSize () const |
Returns the number of bytes which will be written when making the tag. More... | |
Friends | |
class | MatroskaTag |
The MatroskaTagMaker class helps writing Matroska "Tag"-elements storing tag information.
An instance can be obtained using the MatroskaTag::prepareMaking() method.
Definition at line 14 of file matroskatag.h.
void Media::MatroskaTagMaker::make | ( | std::ostream & | stream | ) | const |
Saves the tag (specified when constructing the object) to the specified stream (makes a "Tag"-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 256 of file matroskatag.cpp.
|
inline |
Returns the number of bytes which will be written when making the tag.
Definition at line 45 of file matroskatag.h.
|
inline |
Returns the associated tag.
Definition at line 37 of file matroskatag.h.
|
friend |
Definition at line 16 of file matroskatag.h.