TagLib API Documentation
Public Member Functions | List of all members
TagLib::MP4::Chapter Class Reference

#include <mp4chapter.h>

Public Member Functions

 Chapter (const String &title, long long startTime)
 
 Chapter (const Chapter &other)
 
 Chapter (Chapter &&other) noexcept
 
 ~Chapter ()
 
Chapteroperator= (const Chapter &other)
 
Chapteroperator= (Chapter &&other) noexcept
 
bool operator== (const Chapter &other) const
 
bool operator!= (const Chapter &other) const
 
void swap (Chapter &other) noexcept
 
const Stringtitle () const
 
long long startTime () const
 

Detailed Description

A single Nero-style chapter marker.

Constructor & Destructor Documentation

◆ Chapter() [1/3]

TagLib::MP4::Chapter::Chapter ( const String title,
long long  startTime 
)

Construct a chapter.

◆ Chapter() [2/3]

TagLib::MP4::Chapter::Chapter ( const Chapter other)

Construct a chapter as a copy of other.

◆ Chapter() [3/3]

TagLib::MP4::Chapter::Chapter ( Chapter &&  other)
noexcept

Construct a chapter moving from other.

◆ ~Chapter()

TagLib::MP4::Chapter::~Chapter ( )

Destroys this chapter.

Member Function Documentation

◆ operator!=()

bool TagLib::MP4::Chapter::operator!= ( const Chapter other) const

Returns true if the chapter and other differ in data.

◆ operator=() [1/2]

Chapter & TagLib::MP4::Chapter::operator= ( Chapter &&  other)
noexcept

Moves the contents of other into this object.

◆ operator=() [2/2]

Chapter & TagLib::MP4::Chapter::operator= ( const Chapter other)

Copies the contents of other into this object.

◆ operator==()

bool TagLib::MP4::Chapter::operator== ( const Chapter other) const

Returns true if the chapter and other contain the same data.

◆ startTime()

long long TagLib::MP4::Chapter::startTime ( ) const

Returns the start time in milliseconds.

◆ swap()

void TagLib::MP4::Chapter::swap ( Chapter other)
noexcept

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

◆ title()

const String & TagLib::MP4::Chapter::title ( ) const

Returns the title representing the chapter.


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