24 #include "Utils/Pimpl.h" 41 ArtistDesc(
const QString& artist_name,
const QString& mbid);
43 bool operator ==(
const ArtistDesc& other)
const;
44 bool operator <(
const ArtistDesc& other)
const;
45 bool operator <=(
const ArtistDesc& other)
const;
47 QString to_string()
const;
86 void add(
const ArtistDesc& artist,
double match);
109 #endif // ARTISTMATCH_H QString to_string() const
converts the artist match to string
QMap< ArtistDesc, double > get(Quality q) const
get bin by quality
void add(const ArtistDesc &artist, double match)
adds an artist string to the corresponding bin
bool is_valid() const
checks, if structure is valid.
bool operator==(const ArtistMatch &am) const
Compares two ArtistMatch structures.
Definition: ArtistMatch.h:30
QString get_artist_name() const
get the corresponding artist name of the ArtistMatch structure
Definition: ArtistMatch.h:36
Definition: org_mpris_media_player2_adaptor.h:21
Quality
The Quality enum used to access the bin of interest. See ArtistMatch::get(Quality q)
Definition: ArtistMatch.h:53