6 #include <c++utilities/conversion/types.h> 16 static const char *stringFromIndex(
int index);
17 static int indexFromString(
const std::string &
genre);
18 static constexpr
int genreCount();
19 static constexpr
bool isIndexSupported(
int index);
22 static const char **genreNames();
30 return isIndexSupported(index) ? genreNames()[index] :
nullptr;
47 return index >= 0 && index < genreCount();
#define TAG_PARSER_EXPORT
Marks the symbol to be exported by the tagparser library.