1 #ifndef TAG_PARSER_ID3V1TAG_H 2 #define TAG_PARSER_ID3V1TAG_H 15 static constexpr
const char *tagName =
"ID3v1 tag";
17 const char *typeName()
const override;
21 bool setValueConsideringTypeInfo(
KnownField field,
const TagValue &value,
const std::string &typeInfo);
22 bool hasField(
KnownField field)
const override;
23 void removeAllFields()
override;
24 unsigned int fieldCount()
const override;
25 bool supportsField(
KnownField field)
const override;
26 void ensureTextValuesAreProperlyEncoded()
override;
28 void parse(std::istream &sourceStream,
Diagnostics &diag);
29 void make(std::ostream &targetStream,
Diagnostics &diag);
32 void readValue(
TagValue &value,
size_t maxLength,
const char *buffer);
33 void writeValue(
const TagValue &value,
size_t length,
char *buffer, std::ostream &targetStream,
Diagnostics &diag);
46 #endif // TAG_PARSER_ID3V1TAG_H The Tag class is used to store, read and write tag information.
KnownField
Specifies the field.
Implementation of TagParser::Tag for ID3v1 tags.
The TagValue class wraps values of different types.
TagType
Specifies the tag type.
TagTextEncoding
Specifies the text encoding.
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.