1 #ifndef MEDIA_VORBISCOMMENTFIELD_H 2 #define MEDIA_VORBISCOMMENTFIELD_H 4 #include "../generictagfield.h" 5 #include "../statusprovider.h" 27 return static_cast<byte
>(lhs) & static_cast<byte>(rhs);
32 return static_cast<VorbisCommentFlags>(
static_cast<byte
>(lhs) | static_cast<byte>(rhs));
35 class VorbisCommentField;
70 void parse(std::istream &stream, uint64 &maxSize);
72 bool isAdditionalTypeInfoUsed()
const;
73 bool supportsNestedFields()
const;
75 static typename std::string fieldIdFromString(
const char *idString, std::size_t idStringSize = std::string::npos);
76 static std::string fieldIdToString(
const std::string &
id);
82 template<
class StreamType>
83 void internalParse(StreamType &stream, uint64 &maxSize);
108 return idStringSize != std::string::npos ? std::string(idString, idStringSize) : std::string(idString);
128 #endif // MEDIA_VORBISCOMMENTFIELD_H
Contains utility classes helping to read and write streams.
#define TAG_PARSER_EXPORT
Marks the symbol to be exported by the tagparser library.