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

Edition of chapters. More...

#include <matroskachapteredition.h>

Public Types

using UID = unsigned long long
 Unique identifier.
 

Public Member Functions

 ChapterEdition (const List< Chapter > &chapterList, bool isDefault, bool isOrdered=false, UID uid=0)
 
 ChapterEdition (const ChapterEdition &other)
 
 ChapterEdition (ChapterEdition &&other) noexcept
 
 ~ChapterEdition ()
 
ChapterEditionoperator= (const ChapterEdition &other)
 
ChapterEditionoperator= (ChapterEdition &&other) noexcept
 
void swap (ChapterEdition &other) noexcept
 
UID uid () const
 
bool isDefault () const
 
bool isOrdered () const
 
const List< Chapter > & chapterList () const
 

Detailed Description

Edition of chapters.

Member Typedef Documentation

◆ UID

Unique identifier.

Constructor & Destructor Documentation

◆ ChapterEdition() [1/3]

TagLib::Matroska::ChapterEdition::ChapterEdition ( const List< Chapter > &  chapterList,
bool  isDefault,
bool  isOrdered = false,
UID  uid = 0 
)

Construct an edition.

◆ ChapterEdition() [2/3]

TagLib::Matroska::ChapterEdition::ChapterEdition ( const ChapterEdition other)

Construct an edition as a copy of other.

◆ ChapterEdition() [3/3]

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

Construct an edition moving from other.

◆ ~ChapterEdition()

TagLib::Matroska::ChapterEdition::~ChapterEdition ( )

Destroys this edition.

Member Function Documentation

◆ chapterList()

const List< Chapter > & TagLib::Matroska::ChapterEdition::chapterList ( ) const

Get the list of all chapters.

◆ isDefault()

bool TagLib::Matroska::ChapterEdition::isDefault ( ) const

Check if this edition should be used as the default one.

◆ isOrdered()

bool TagLib::Matroska::ChapterEdition::isOrdered ( ) const

Check if the chapters can be defined multiple times and the order to play them is enforced.

◆ operator=() [1/2]

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

Moves the contents of other into this object.

◆ operator=() [2/2]

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

Copies the contents of other into this object.

◆ swap()

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

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

◆ uid()

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

Returns the UID of the edition.


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