1 #ifndef MEDIA_MATROSKATAGFIELD_H 2 #define MEDIA_MATROSKATAGFIELD_H 4 #include "../generictagfield.h" 5 #include "../statusprovider.h" 10 class MatroskaTagField;
34 static bool supportsNestedFields();
50 void make(std::ostream &stream)
const;
52 uint64 requiredSize()
const;
59 std::string m_stringValue;
60 uint64 m_simpleTagSize;
62 std::vector<MatroskaTagFieldMaker> m_nestedMaker;
91 void reparse(
EbmlElement &simpleTagElement,
bool parseNestedFields =
true);
93 void make(std::ostream &stream);
94 bool isAdditionalTypeInfoUsed()
const;
95 bool supportsNestedFields()
const;
97 static typename std::string fieldIdFromString(
const char *idString, std::size_t idStringSize = std::string::npos);
98 static std::string fieldIdToString(
const std::string &
id);
126 return idStringSize != std::string::npos ? std::string(idString, idStringSize) : std::string(idString);
146 #endif // MEDIA_MATROSKATAGFIELD_H
#define TAG_PARSER_EXPORT
Marks the symbol to be exported by the tagparser library.