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

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

Friends

class MatroskaTagField
 

Detailed Description

The MatroskaTagFieldMaker class helps making tag fields.

It allows to calculate the required size.

See also
See MatroskaTagField::prepareMaking() for more information.

Definition at line 45 of file matroskatagfield.h.

Member Function Documentation

◆ field()

const MatroskaTagField & Media::MatroskaTagFieldMaker::field ( ) const
inline

Returns the associated field.

Definition at line 68 of file matroskatagfield.h.

◆ make()

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

Saves the field (specified when constructing the object) to the specified stream (makes a "SimpleTag" 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 208 of file matroskatagfield.cpp.

◆ requiredSize()

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

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

Definition at line 76 of file matroskatagfield.h.

Friends And Related Function Documentation

◆ MatroskaTagField

friend class MatroskaTagField
friend

Definition at line 47 of file matroskatagfield.h.


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