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
KnownField
Specifies the field.
TagType
Specifies the tag type.
TagTextEncoding
Specifies the text encoding.
#define TAG_PARSER_EXPORT
Marks the symbol to be exported by the tagparser library.