Tag Parser 12.3.1
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
Loading...
Searching...
No Matches
TagParser::Mp4TagMaker Class Reference

The Mp4TagMaker class helps writing MP4 tags. More...

#include <mp4tag.h>

Public Member Functions

void make (std::ostream &stream, Diagnostics &diag)
 Saves the tag (specified when constructing the object) to the specified stream.
 
const Mp4Tagtag () 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 Mp4Tag
 

Detailed Description

The Mp4TagMaker class helps writing MP4 tags.

An instance can be obtained using the Mp4Tag::prepareMaking() method.

Member Function Documentation

◆ make()

void TagParser::Mp4TagMaker::make ( std::ostream & stream,
Diagnostics & diag )

Saves the tag (specified when constructing the object) to the specified stream.

Exceptions
Throwsstd::ios_base::failure when an IO error occurs.
ThrowsAssumes the data is already validated and thus does NOT throw TagParser::Failure or a derived exception.

Definition at line 504 of file mp4tag.cpp.

◆ requiredSize()

std::uint64_t TagParser::Mp4TagMaker::requiredSize ( ) const
inline

Returns the number of bytes which will be written when making the tag.

Definition at line 83 of file mp4tag.h.

◆ tag()

const Mp4Tag & TagParser::Mp4TagMaker::tag ( ) const
inline

Returns the associated tag.

Definition at line 75 of file mp4tag.h.

Friends And Related Symbol Documentation

◆ Mp4Tag

friend class Mp4Tag
friend

Definition at line 55 of file mp4tag.h.


The documentation for this class was generated from the following files: