5 #include <c++utilities/conversion/stringbuilder.h> 6 #include <c++utilities/conversion/stringconversion.h> 24 MatroskaEditionEntry::MatroskaEditionEntry(
EbmlElement *editionEntryElement) :
25 m_editionEntryElement(editionEntryElement),
43 return "ID: " + numberToString(
id());
56 static const string context(
"parsing \"EditionEntry\"-element");
63 switch(entryChild->
id()) {
77 m_chapters.emplace_back(make_unique<MatroskaChapter>(entryChild));
96 chapter->parseNested();
106 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.
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.