![]() |
Sayonara Player
|
Classes | |
| struct | ArtistDesc |
Public Types | |
| enum | Quality : quint8 { Poor = 0, Well = 1, Very_Good = 2 } |
| 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 | is_valid () const |
| checks, if structure is valid. More... | |
| bool | operator== (const ArtistMatch &am) const |
| Compares two ArtistMatch structures. More... | |
| void | add (const ArtistDesc &artist, double match) |
| adds an artist string to the corresponding bin More... | |
| QMap< ArtistDesc, double > | get (Quality q) const |
| get bin by quality More... | |
| QString | get_artist_name () const |
| get the corresponding artist name of the ArtistMatch structure More... | |
| QString | to_string () const |
| converts the artist match to string More... | |
| void ArtistMatch::add | ( | const ArtistDesc & | artist, |
| double | match | ||
| ) |
adds an artist string to the corresponding bin
| artist | artist string |
| match | the match value |
| QMap<ArtistDesc, double> ArtistMatch::get | ( | Quality | q | ) | const |
| QString ArtistMatch::get_artist_name | ( | ) | const |
get the corresponding artist name of the ArtistMatch structure
| bool ArtistMatch::is_valid | ( | ) | const |
checks, if structure is valid.
| bool ArtistMatch::operator== | ( | const ArtistMatch & | am | ) | const |
Compares two ArtistMatch structures.
| am | the other ArtistMatch |
| QString ArtistMatch::to_string | ( | ) | const |
converts the artist match to string
1.8.13