1#ifndef TAG_PARSER_MPEG4DESCRIPTOR_H
2#define TAG_PARSER_MPEG4DESCRIPTOR_H
48 std::string parsingContext()
const;
The Diagnostics class is a container for DiagMessage.
Mp4Container ContainerType
std::uint8_t IdentifierType
std::uint32_t DataSizeType
Defines traits for the specified ImplementationType.
GenericFileElement(ContainerType &container, std::uint64_t startOffset)
std::uint64_t startOffset() const
typename FileElementTraits< Mpeg4Descriptor >::ContainerType ContainerType
Mpeg4Descriptor * parent()
static constexpr std::uint8_t minimumElementSize()
Mpeg4Descriptor * firstChild()
std::unique_ptr< Mpeg4Descriptor > m_firstChild
ContainerType & container()
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.
std::string idToString() const
Converts the specified atom ID to a printable string.
bool isParent() const
Returns an indication whether the descriptor contains sub descriptors.
Mpeg4Descriptor(ContainerType &container, std::uint64_t startOffset, std::uint64_t maxSize)
Constructs a new top level descriptor with the specified container at the specified startOffset and w...
void internalParse(Diagnostics &diag)
Parses the MPEG-4 descriptor.
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.