1 #ifndef TAG_PARSER_VORBISCOMMENTFIELD_H 2 #define TAG_PARSER_VORBISCOMMENTFIELD_H 4 #include "../generictagfield.h" 25 return static_cast<byte
>(lhs) & static_cast<byte>(rhs);
30 return static_cast<VorbisCommentFlags>(
static_cast<byte
>(lhs) | static_cast<byte>(rhs));
33 class VorbisCommentField;
56 void parse(std::istream &stream, uint64 &maxSize,
Diagnostics &diag);
58 bool isAdditionalTypeInfoUsed()
const;
59 bool supportsNestedFields()
const;
61 static typename std::string fieldIdFromString(
const char *idString, std::size_t idStringSize = std::string::npos);
62 static std::string fieldIdToString(
const std::string &
id);
66 template <
class StreamType>
void internalParse(StreamType &stream, uint64 &maxSize,
Diagnostics &diag);
91 return idStringSize != std::string::npos ? std::string(idString, idStringSize) : std::string(idString);
106 inline void VorbisCommentField::reset()
112 #endif // TAG_PARSER_VORBISCOMMENTFIELD_H
VorbisCommentFlags
The VorbisCommentFlags enum specifies flags which controls parsing and making of Vorbis comments...
Defines traits for the specified ImplementationType.
The OggIterator class helps iterating through all segments of an OGG bitstream.
Contains utility classes helping to read and write streams.
The TagField class is used by FieldMapBasedTag to store the fields.
XingHeaderFlags operator|(XingHeaderFlags lhs, XingHeaderFlags rhs)
const IdentifierType & id() const
Returns the id of the current TagField.
XingHeaderFlags operator &(XingHeaderFlags lhs, XingHeaderFlags rhs)
The TagValue class wraps values of different types.
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.