Tag Parser
9.1.0
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
|
Go to the documentation of this file. 1 #ifndef TAG_PARSER_ABSTRACTCHAPTER_H
2 #define TAG_PARSER_ABSTRACTCHAPTER_H
6 #include <c++utilities/chrono/timespan.h>
19 std::uint64_t id()
const;
20 const std::vector<LocaleAwareString> &names()
const;
23 const std::vector<std::uint64_t> &tracks()
const;
24 bool isHidden()
const;
25 bool isEnabled()
const;
26 std::string
label()
const;
29 virtual std::size_t nestedChapterCount()
const;
129 #endif // TAG_PARSER_ABSTRACTCHAPTER_H
virtual std::size_t nestedChapterCount() const
Returns the number of nested chapters.
The AbstractChapter class parses chapter information.
bool isEnabled() const
Returns whether the chapter is flagged as enabled.
The Diagnostics class is a container for DiagMessage.
Contains all classes and functions of the TagInfo library.
bool isHidden() const
Returns whether the chapter is flagged as hidden.
CppUtilities::TimeSpan m_startTime
std::vector< LocaleAwareString > m_names
std::vector< std::uint64_t > m_tracks
std::uint64_t id() const
Returns the chapter ID if known; otherwise returns zero.
CppUtilities::TimeSpan m_endTime
const std::vector< LocaleAwareString > & names() const
Returns the chapter name.
virtual AbstractChapter * nestedChapter(std::size_t index)
Returns the nested chapter with the specified index.
CppUtilities::TimeSpan endTime() const
Returns the end time if known; otherwise returns a negative time span.
#define TAG_PARSER_EXPORT
Marks the symbol to be exported by the tagparser library.
const std::vector< std::uint64_t > & tracks() const
Returns a list of tracks on which the chapter applies.
CppUtilities::TimeSpan startTime() const
Returns the start time if known; otherwise returns a negative time span.