Tag Parser 12.4.0
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
|
The Id3v2TagMaker class helps writing ID3v2 tags. More...
#include <id3v2tag.h>
Public Member Functions | |
void | make (std::ostream &stream, std::uint32_t padding, Diagnostics &diag) |
Saves the tag (specified when constructing the object) to the specified stream. | |
const Id3v2Tag & | 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 | Id3v2Tag |
The Id3v2TagMaker class helps writing ID3v2 tags.
An instance can be obtained using the Id3v2Tag::prepareMaking() method.
void TagParser::Id3v2TagMaker::make | ( | std::ostream & | stream, |
std::uint32_t | padding, | ||
Diagnostics & | diag ) |
Saves the tag (specified when constructing the object) to the specified stream.
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 879 of file id3v2tag.cpp.
|
inline |
Returns the number of bytes which will be written when making the tag.
Definition at line 64 of file id3v2tag.h.
|
inline |
Returns the associated tag.
Definition at line 55 of file id3v2tag.h.
|
friend |
Definition at line 36 of file id3v2tag.h.