1 #ifndef TAG_PARSER_MATROSKASEEKINFO_H 2 #define TAG_PARSER_MATROSKASEEKINFO_H 15 const std::vector<std::pair<EbmlElement::IdentifierType, uint64>> &info()
const;
16 std::vector<std::pair<EbmlElement::IdentifierType, uint64>> &info();
17 void shift(uint64 start, int64 amount);
20 uint64 minSize()
const;
21 uint64 maxSize()
const;
22 uint64 actualSize()
const;
27 static std::pair<EbmlElement::IdentifierType, uint64> *findSeekInfo(std::vector<MatroskaSeekInfo> &seekInfos, uint64 offset);
28 static bool updateSeekInfo(
29 const std::vector<MatroskaSeekInfo> &oldSeekInfos, std::vector<MatroskaSeekInfo> &newSeekInfos, uint64 oldOffset, uint64 newOffset);
30 static bool updateSeekInfo(std::vector<MatroskaSeekInfo> &newSeekInfos, uint64 oldOffset, uint64 newOffset);
34 std::vector<std::pair<EbmlElement::IdentifierType, uint64>> m_info;
41 : m_seekHeadElement(nullptr)
50 return m_seekHeadElement;
73 #endif // TAG_PARSER_MATROSKASEEKINFO_H
The MatroskaSeekInfo class helps parsing and making "SeekHead"-elements.
The EbmlElement class helps to parse EBML files such as Matroska files.
const std::vector< std::pair< EbmlElement::IdentifierType, uint64 > > & info() const
Returns the seek information gathered when the parse() method was called.
EbmlElement * seekHeadElement() const
Returns a pointer to the seekHeadElement specified when the parse() method was called.
typename FileElementTraits< ImplementationType >::IdentifierType IdentifierType
Specifies the type used to store identifiers.
Contains all classes and functions of the TagInfo library.
#define TAG_PARSER_EXPORT
Marks the symbol to be exported by the tagparser library.
The Diagnostics class is a container for DiagMessage.
MatroskaSeekInfo()
Constructs a new MatroskaSeekInfo.