Tag Parser 12.3.1
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). | |
const MatroskaTag & | tag () const |
Returns the associated tag. | |
std::uint64_t | requiredSize () const |
Returns the number of bytes which will be written when making the tag. | |
Friends | |
class | MatroskaTag |
The MatroskaTagMaker class helps writing Matroska "Tag"-elements storing tag information.
An instance can be obtained using the MatroskaTag::prepareMaking() method.
void TagParser::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 TagParser::Failure or a derived exception. |
Definition at line 483 of file matroskatag.cpp.
|
inline |
Returns the number of bytes which will be written when making the tag.
Definition at line 58 of file matroskatag.h.
|
inline |
Returns the associated tag.
Definition at line 50 of file matroskatag.h.
|
friend |
Definition at line 29 of file matroskatag.h.