1#ifndef TAG_PARSER_MATROSKAATTACHMENT_H
2#define TAG_PARSER_MATROSKAATTACHMENT_H
24 std::uint64_t m_attachedFileElementSize;
25 std::uint64_t m_totalSize;
62 : m_attachedFileElement(nullptr)
71 return m_attachedFileElement;
AbstractAttachment()
Constructs a new attachment.
The Diagnostics class is a container for DiagMessage.
The EbmlElement class helps to parse EBML files such as Matroska files.
The MatroskaAttachmentMaker class helps writing Matroska "AttachedFile"-elements which contain an att...
friend class MatroskaAttachment
const MatroskaAttachment & attachment() const
Returns the associated attachment.
std::uint64_t requiredSize() const
Returns the number of bytes which will be written when making the attachment.
void make(std::ostream &stream, Diagnostics &diag) const
Saves the attachment (specified when constructing the object) to the specified stream (makes an "Atta...
void bufferCurrentAttachments(Diagnostics &diag)
Implementation of TagParser::AbstractAttachment for the Matroska container.
EbmlElement * attachedFileElement() const
Returns the "AttachedFile"-element which has been specified when the parse() method has been called.
void make(std::ostream &stream, Diagnostics &diag)
Writes the attachment to the specified stream (makes an "AttachedFile"-element).
MatroskaAttachmentMaker prepareMaking(Diagnostics &diag)
Prepares making.
void parse(EbmlElement *attachedFileElement, Diagnostics &diag)
Parses attachment from the specified attachedFileElement.
MatroskaAttachment()
Constructs a new Matroska attachment.
#define TAG_PARSER_EXPORT
Marks the symbol to be exported by the tagparser library.
Contains all classes and functions of the TagInfo library.