1#ifndef TAG_PARSER_MATROSKATAGFIELD_H
2#define TAG_PARSER_MATROSKATAGFIELD_H
34 void make(std::ostream &stream)
const;
36 std::uint64_t requiredSize()
const;
42 std::string m_stringValue;
43 const std::string &m_language;
44 const std::string &m_languageIETF;
45 std::uint64_t m_simpleTagSize;
46 std::uint64_t m_totalSize;
47 std::vector<MatroskaTagFieldMaker> m_nestedMaker;
77 bool isAdditionalTypeInfoUsed()
const;
78 bool supportsNestedFields()
const;
80 static typename std::string fieldIdFromString(std::string_view idString);
81 static std::string fieldIdToString(
const std::string &
id);
82 static void normalizeId(std::string &
id);
107 return std::string(idString);
The Diagnostics class is a container for DiagMessage.
The EbmlElement class helps to parse EBML files such as Matroska files.
The MatroskaTagFieldMaker class helps making tag fields.
const MatroskaTagField & field() const
Returns the associated field.
std::uint64_t requiredSize() const
Returns number of bytes which will be written when making the field.
The MatroskaTagField class is used by MatroskaTag to store the fields.
static std::string fieldIdToString(const std::string &id)
Returns the string representation for the specified id.
static std::string fieldIdFromString(std::string_view idString)
Converts the specified ID string representation to an actual ID.
bool supportsNestedFields() const
Returns whether nested fields are supported.
bool isAdditionalTypeInfoUsed() const
Returns whether the additional type info is used.
static bool supportsNestedFields()
std::string IdentifierType
Defines traits for the specified ImplementationType.
The TagField class is used by FieldMapBasedTag to store the fields.
The TagValue class wraps values of different types.
#define TAG_PARSER_EXPORT
Marks the symbol to be exported by the tagparser library.
Contains all classes and functions of the TagInfo library.