Tag Parser  6.5.0
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
Public Member Functions | Friends | List of all members
Media::MatroskaTagMaker Class Reference

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). More...
 
const MatroskaTagtag () const
 Returns the associated tag. More...
 
uint64 requiredSize () const
 Returns the number of bytes which will be written when making the tag. More...
 

Friends

class MatroskaTag
 

Detailed Description

The MatroskaTagMaker class helps writing Matroska "Tag"-elements storing tag information.

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

Definition at line 14 of file matroskatag.h.

Member Function Documentation

◆ make()

void Media::MatroskaTagMaker::make ( std::ostream &  stream) const

Saves the tag (specified when constructing the object) to the specified stream (makes a "Tag"-element).

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

Definition at line 256 of file matroskatag.cpp.

◆ requiredSize()

uint64 Media::MatroskaTagMaker::requiredSize ( ) const
inline

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

Definition at line 45 of file matroskatag.h.

◆ tag()

const MatroskaTag & Media::MatroskaTagMaker::tag ( ) const
inline

Returns the associated tag.

Definition at line 37 of file matroskatag.h.

Friends And Related Function Documentation

◆ MatroskaTag

friend class MatroskaTag
friend

Definition at line 16 of file matroskatag.h.


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