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::Mp4TagFieldMaker Class Reference

The Mp4TagFieldMaker class helps making tag fields. More...

#include <mp4tagfield.h>

Public Member Functions

void make (std::ostream &stream)
 Saves the field (specified when constructing the object) to the specified stream. More...
 
const Mp4TagFieldfield () const
 Returns the associated field. More...
 
uint64 requiredSize () const
 Returns number of bytes which will be written when making the field. More...
 

Friends

class Mp4TagField
 

Detailed Description

The Mp4TagFieldMaker class helps making tag fields.

It allows to calculate the required size.

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

Definition at line 78 of file mp4tagfield.h.

Member Function Documentation

◆ field()

const Mp4TagField & Media::Mp4TagFieldMaker::field ( ) const
inline

Returns the associated field.

Definition at line 101 of file mp4tagfield.h.

◆ make()

void Media::Mp4TagFieldMaker::make ( std::ostream &  stream)

Saves the field (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 Media::Failure or a derived exception.

Definition at line 523 of file mp4tagfield.cpp.

◆ requiredSize()

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

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

Definition at line 109 of file mp4tagfield.h.

Friends And Related Function Documentation

◆ Mp4TagField

friend class Mp4TagField
friend

Definition at line 80 of file mp4tagfield.h.


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