Tag Parser
6.4.1
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
|
The Id3Genres class converts pre-defined ID3 genres to strings and vise versa. More...
#include <id3genres.h>
Static Public Member Functions | |
static const char * | stringFromIndex (int index) |
Returns the genre name for the specified numerical denotation as C-style string. More... | |
static int | indexFromString (const std::string &genre) |
Returns the numerical denotation of the specified genre or -1 if genre is unknown. More... | |
static constexpr int | genreCount () |
Returns the number of supported genres. More... | |
static constexpr bool | isIndexSupported (int index) |
Returns an indication whether the specified numerical denotation is supported by this class. More... | |
The Id3Genres class converts pre-defined ID3 genres to strings and vise versa.
Definition at line 13 of file id3genres.h.
|
static |
Returns the number of supported genres.
Definition at line 36 of file id3genres.h.
|
static |
Returns the numerical denotation of the specified genre or -1 if genre is unknown.
Definition at line 52 of file id3genres.cpp.
|
static |
Returns an indication whether the specified numerical denotation is supported by this class.
Definition at line 45 of file id3genres.h.
|
inlinestatic |
Returns the genre name for the specified numerical denotation as C-style string.
Definition at line 28 of file id3genres.h.