Tag Parser: TagParser::Mp4TagMaker Class Reference

Tag Parser 12.5.2 C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags

Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
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 Mp4Tag & | 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 | Mp4Tag

## Detailed Description

The Mp4TagMaker class helps writing MP4 tags.

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

Definition at line 54 of file mp4tag.h.

## 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

  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 512 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:

- mp4/mp4tag.h
- mp4/mp4tag.cpp