30 #define DATUM(Type, Name, VType) \
33 static constexpr const char* name{#Name};\
34 typedef VType ValueType;\
40 DATUM(AlbumArtist,
xesam:albumArtist, std::vector<std::string>)
41 DATUM(Artist,
xesam:artist, std::vector<std::string>)
45 DATUM(Comment,
xesam:comment, std::vector<std::string>)
46 DATUM(Composer,
xesam:composer, std::vector<std::string>)
47 DATUM(ContentCreated,
xesam:comment, std::string)
48 DATUM(DiscNumber,
xesam:discNumber, std::int32_t)
50 DATUM(Genre,
xesam:genre, std::vector<std::string>)
52 DATUM(Lyricist,
xesam:lyricist, std::vector<std::string>)
54 DATUM(TrackNumber,
xesam:trackNumber, std::int32_t)
62 DATUM(Image, tag:image,
bool)
64 DATUM(PreviewImage, tag::previewImage,
bool)