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

#include <id3v2frame.h>

Public Member Functions

void make (IoUtilities::BinaryWriter &writer)
 Saves the frame (specified when constructing the object) using the specified writer. More...
 
const Id3v2Framefield () const
 Returns the associated frame. More...
 
const std::unique_ptr< char[]> & data () const
 Returns the frame data. More...
 
uint32 dataSize () const
 Returns the size of the array returned by data(). More...
 
uint32 requiredSize () const
 Returns number of bytes which will be written when making the frame. More...
 

Friends

class Id3v2Frame
 

Detailed Description

Definition at line 22 of file id3v2frame.h.

Member Function Documentation

◆ data()

const std::unique_ptr< char[]> & TagParser::Id3v2FrameMaker::data ( ) const
inline

Returns the frame data.

Definition at line 54 of file id3v2frame.h.

◆ dataSize()

uint32 TagParser::Id3v2FrameMaker::dataSize ( ) const
inline

Returns the size of the array returned by data().

Definition at line 62 of file id3v2frame.h.

◆ field()

const Id3v2Frame & TagParser::Id3v2FrameMaker::field ( ) const
inline

Returns the associated frame.

Definition at line 46 of file id3v2frame.h.

◆ make()

void TagParser::Id3v2FrameMaker::make ( IoUtilities::BinaryWriter &  writer)

Saves the frame (specified when constructing the object) using the specified writer.

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 503 of file id3v2frame.cpp.

◆ requiredSize()

uint32 TagParser::Id3v2FrameMaker::requiredSize ( ) const
inline

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

Definition at line 70 of file id3v2frame.h.

Friends And Related Function Documentation

◆ Id3v2Frame

friend class Id3v2Frame
friend

Definition at line 23 of file id3v2frame.h.


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