1 #ifndef TAG_PARSER_ABSTRACTCHAPTER_H 2 #define TAG_PARSER_ABSTRACTCHAPTER_H 6 #include <c++utilities/chrono/timespan.h> 20 const std::vector<LocaleAwareString> &names()
const;
23 const std::vector<uint64> &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 uint64 id() const
Returns the chapter ID if known; otherwise returns zero.
ChronoUtilities::TimeSpan m_startTime
std::vector< LocaleAwareString > m_names
ChronoUtilities::TimeSpan endTime() const
Returns the end time if known; otherwise returns a negative time span.
const std::vector< uint64 > & tracks() const
Returns a list of tracks on which the chapter applies.
const std::vector< LocaleAwareString > & names() const
Returns the chapter name.
ChronoUtilities::TimeSpan startTime() const
Returns the start time if known; otherwise returns a negative time span.
ChronoUtilities::TimeSpan m_endTime
virtual std::size_t nestedChapterCount() const
Returns the number of nested chapters.
bool isEnabled() const
Returns whether the chapter is flagged as enabled.
std::vector< uint64 > m_tracks
The AbstractChapter class parses chapter information.
bool isHidden() const
Returns whether the chapter is flagged as hidden.
virtual AbstractChapter * nestedChapter(std::size_t index)
Returns the nested chapter with the specified index.
Contains all classes and functions of the TagInfo library.
#define TAG_PARSER_EXPORT
Marks the symbol to be exported by the tagparser library.
The Diagnostics class is a container for DiagMessage.