/** * @file * Copyright 2014 (c) Anna Schumaker. */ #ifndef OCARINA_CORE_TAGS_ARTIST_H #define OCARINA_CORE_TAGS_ARTIST_H #include /** * Artist tag */ class Artist : public DatabaseEntry { public: std::string name; /**< Artist name. */ std::string lower; /**< Artist name (lowercase). */ /** Artist tag constructor */ Artist(); /** * Artist tag constructor * @param name Artist name */ Artist(const std::string &); /** * Called to access the artist tag's primary key * @return Artist::name */ const std::string primary_key() const; /** * Read artist information from file. * @param file The file to read from. */ void read(File &); /** * Write artist information to file. * @param file The file to write to. */ void write(File &); }; #endif /* OCARINA_CORE_TAGS_ARTIST_H */