Sayonara Player
|
Classes | |
struct | Entry |
Public Types | |
enum class | Quality : uint8_t { Poor = 0 , Good , VeryGood , Excellent } |
The Quality enum used to access the bin of interest. See ArtistMatch::get(Quality q) | |
Public Member Functions | |
ArtistMatch (const QString &artist_name) | |
ArtistMatch (const ArtistMatch &other) | |
bool | isValid () const |
checks, if structure is valid. More... | |
bool | operator== (const ArtistMatch &am) const |
Compares two ArtistMatch structures. More... | |
ArtistMatch & | operator= (const ArtistMatch &other) |
void | add (const Entry &entry) |
adds an artist string to the corresponding bin More... | |
QList< Entry > | get (Quality q) const |
get bin by quality More... | |
QString | artistName () const |
get the corresponding artist name of the ArtistMatch structure More... | |
QString | toString () const |
converts the artist match to string More... | |
Static Public Member Functions | |
static ArtistMatch | fromString (const QString &data) |
void DynamicPlayback::ArtistMatch::add | ( | const Entry & | entry | ) |
adds an artist string to the corresponding bin
artist | artist string |
match | the match value |
QString DynamicPlayback::ArtistMatch::artistName | ( | ) | const |
get the corresponding artist name of the ArtistMatch structure
bool DynamicPlayback::ArtistMatch::isValid | ( | ) | const |
checks, if structure is valid.
bool DynamicPlayback::ArtistMatch::operator== | ( | const ArtistMatch & | am | ) | const |
Compares two ArtistMatch structures.
am | the other ArtistMatch |
QString DynamicPlayback::ArtistMatch::toString | ( | ) | const |
converts the artist match to string