Tag Parser 12.3.1
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
|
The MatroskaTagFieldMaker class helps making tag fields. More...
#include <matroskatagfield.h>
Public Member Functions | |
void | make (std::ostream &stream) const |
Saves the field (specified when constructing the object) to the specified stream (makes a "SimpleTag" element). | |
const MatroskaTagField & | field () const |
Returns the associated field. | |
std::uint64_t | requiredSize () const |
Returns number of bytes which will be written when making the field. | |
Friends | |
class | MatroskaTagField |
The MatroskaTagFieldMaker class helps making tag fields.
It allows to calculate the required size.
|
inline |
Returns the associated field.
Definition at line 54 of file matroskatagfield.h.
void TagParser::MatroskaTagFieldMaker::make | ( | std::ostream & | stream | ) | const |
Saves the field (specified when constructing the object) to the specified stream (makes a "SimpleTag" 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 269 of file matroskatagfield.cpp.
|
inline |
Returns number of bytes which will be written when making the field.
Definition at line 62 of file matroskatagfield.h.
|
friend |
Definition at line 31 of file matroskatagfield.h.