1 #ifndef TAG_PARSER_ID3GENRES_H 2 #define TAG_PARSER_ID3GENRES_H 6 #include <c++utilities/conversion/types.h> 14 static const char *stringFromIndex(
int index);
15 static int indexFromString(
const std::string &
genre);
16 static constexpr
int genreCount();
17 static constexpr
bool isIndexSupported(
int index);
20 static const char **genreNames();
50 #endif // TAG_PARSER_ID3GENRES_H TAG_PARSER_EXPORT const char * genre()
static const char * stringFromIndex(int index)
Returns the genre name for the specified numerical denotation as C-style string.
static constexpr int genreCount()
Returns the number of supported genres.
The Id3Genres class converts pre-defined ID3 genres to strings and vise versa.
static constexpr bool isIndexSupported(int index)
Returns an indication whether the specified numerical denotation is supported by this class...
#define TAG_PARSER_EXPORT
Marks the symbol to be exported by the tagparser library.