1#ifndef TAG_PARSER_MPEG4DESCRIPTOR_H
2#define TAG_PARSER_MPEG4DESCRIPTOR_H
25 static constexpr std::uint8_t minimumElementSize()
31class TAG_PARSER_EXPORT Mpeg4Descriptor :
public GenericFileElement<Mpeg4Descriptor> {
32 friend class GenericFileElement<Mpeg4Descriptor>;
35 Mpeg4Descriptor(ContainerType &container, std::uint64_t startOffset, std::uint64_t maxSize);
37 std::string idToString()
const;
38 bool isParent()
const;
39 bool isPadding()
const;
40 std::uint64_t firstChildOffset()
const;
43 Mpeg4Descriptor(Mpeg4Descriptor &parent, std::uint64_t startOffset);
45 void internalParse(Diagnostics &diag);
48 std::string parsingContext()
const;
std::uint8_t IdentifierType
std::uint32_t DataSizeType
Defines traits for the specified ImplementationType.
std::uint64_t startOffset() const
Returns the start offset in the related stream.
Mpeg4Descriptor * firstChild()
std::unique_ptr< Mpeg4Descriptor > m_firstChild
Implementation of GenericContainer<MediaFileInfo, Mp4Tag, Mp4Track, Mp4Atom>.
The Mpeg4Descriptor class helps to parse MPEG-4 descriptors.
bool isPadding() const
Returns always false for MPEG-4 descriptors.
bool isParent() const
Returns an indication whether the descriptor contains sub descriptors.
std::uint64_t firstChildOffset() const
Returns the offset of the first child (relative to the start offset of this descriptor).
#define TAG_PARSER_EXPORT
Marks the symbol to be exported by the tagparser library.
Contains all classes and functions of the TagInfo library.