5 #include <c++utilities/misc/memory.h> 21 MatroskaEditionEntry::MatroskaEditionEntry(
EbmlElement *editionEntryElement) :
22 m_editionEntryElement(editionEntryElement),
55 static const string context(
"parsing \"EditionEntry\"-element");
62 switch(entryChild->
id()) {
76 m_chapters.emplace_back(make_unique<MatroskaChapter>(entryChild));
95 chapter->parseNested();
105 m_hidden = m_default = m_ordered =
false;
void clear()
Resets the object to its initial state.
void parseNested()
Parses the "EditionEntry"-element specified when constructing the object.
uint64 id() const
Returns the edition ID.
void parse()
Parses the "EditionEntry"-element specified when constructing the object.
~MatroskaEditionEntry()
Destroys the MatroskaEditionEntry.
std::string label() const
Returns a label for the entry.
const std::vector< std::unique_ptr< MatroskaChapter > > & chapters() const
Returns the chapters the edition contains.