TagLib API Documentation
Public Types | Public Member Functions | List of all members
TagLib::Matroska::AttachedFile Class Reference

Attached file embedded into a Matroska file. More...

#include <matroskaattachedfile.h>

Public Types

using UID = unsigned long long
 Unique identifier.
 

Public Member Functions

 AttachedFile (const ByteVector &data, const String &fileName, const String &mediaType, UID uid=0, const String &description=String())
 
 AttachedFile (const AttachedFile &other)
 
 AttachedFile (AttachedFile &&other) noexcept
 
 ~AttachedFile ()
 
AttachedFileoperator= (const AttachedFile &other)
 
AttachedFileoperator= (AttachedFile &&other) noexcept
 
void swap (AttachedFile &other) noexcept
 
const StringfileName () const
 
const Stringdescription () const
 
const StringmediaType () const
 
const ByteVectordata () const
 
UID uid () const
 

Detailed Description

Attached file embedded into a Matroska file.

Member Typedef Documentation

◆ UID

Unique identifier.

Constructor & Destructor Documentation

◆ AttachedFile() [1/3]

TagLib::Matroska::AttachedFile::AttachedFile ( const ByteVector data,
const String fileName,
const String mediaType,
UID  uid = 0,
const String description = String() 
)

Construct an attached file.

◆ AttachedFile() [2/3]

TagLib::Matroska::AttachedFile::AttachedFile ( const AttachedFile other)

Construct an attached file as a copy of other.

◆ AttachedFile() [3/3]

TagLib::Matroska::AttachedFile::AttachedFile ( AttachedFile &&  other)
noexcept

Construct an attached file moving from other.

◆ ~AttachedFile()

TagLib::Matroska::AttachedFile::~AttachedFile ( )

Destroys this attached file.

Member Function Documentation

◆ data()

const ByteVector & TagLib::Matroska::AttachedFile::data ( ) const

Returns the data of the attached file.

◆ description()

const String & TagLib::Matroska::AttachedFile::description ( ) const

Returns the human-friendly description for the attached file.

◆ fileName()

const String & TagLib::Matroska::AttachedFile::fileName ( ) const

Returns the filename of the attached file.

◆ mediaType()

const String & TagLib::Matroska::AttachedFile::mediaType ( ) const

Returns the media type of the attached file.

◆ operator=() [1/2]

AttachedFile & TagLib::Matroska::AttachedFile::operator= ( AttachedFile &&  other)
noexcept

Moves the contents of other into this object.

◆ operator=() [2/2]

AttachedFile & TagLib::Matroska::AttachedFile::operator= ( const AttachedFile other)

Copies the contents of other into this object.

◆ swap()

void TagLib::Matroska::AttachedFile::swap ( AttachedFile other)
noexcept

Exchanges the content of the object with the content of other.

◆ uid()

UID TagLib::Matroska::AttachedFile::uid ( ) const

Returns the UID of the attached file.


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