1 #ifndef TAG_PARSER_MATROSKATAG_H 2 #define TAG_PARSER_MATROSKATAG_H 7 #include "../fieldbasedtag.h" 18 void make(std::ostream &stream)
const;
20 uint64 requiredSize()
const;
27 uint64 m_simpleTagsSize;
28 std::vector<MatroskaTagFieldMaker> m_maker;
55 typedef std::less<typename FieldType::IdentifierType>
Compare;
65 static constexpr
const char *tagName =
"Matroska tag";
68 bool supportsTarget()
const;
76 IdentifierType internallyGetFieldId(
KnownField field)
const;
77 KnownField internallyGetKnownField(
const IdentifierType &
id)
const;
107 #endif // TAG_PARSER_MATROSKATAG_H
bool canEncodingBeUsed(TagTextEncoding encoding) const
Returns an indication whether the specified encoding can be used to provide string values for the tag...
TagTargetLevel
The TagTargetLevel enum specifies tag target levels.
uint64 requiredSize() const
Returns the number of bytes which will be written when making the tag.
uint64 level() const
Returns the level.
KnownField
Specifies the field.
bool supportsTarget() const
Returns an indication whether a target is supported by the tag.
TAG_PARSER_EXPORT TagTargetLevel matroskaTagTargetLevel(uint64 targetLevelValue)
Returns the general TagTargetLevel for the Matroska specific targetLevelValue.
MatroskaTagField FieldType
std::less< typename FieldType::IdentifierType > Compare
MatroskaTag()
Constructs a new tag.
TagTargetLevel targetLevel() const
Returns the name of the current tag target level.
const MatroskaTag & tag() const
Returns the associated tag.
TagType
Specifies the tag type.
TagTextEncoding
Specifies the text encoding.
#define TAG_PARSER_EXPORT
Marks the symbol to be exported by the tagparser library.