libmusicbrainz3
3.0.2
|
Represents an artist result. More...
Public Member Functions | |
ArtistResult (Artist *artist, int score) | |
Constructor. More... | |
~ArtistResult () | |
Destructor. More... | |
Artist * | getArtist () |
Returns the artist. More... | |
void | setArtist (Artist *artist) |
Sets the artist. More... | |
![]() | |
Result (int score) | |
Constructor. More... | |
virtual | ~Result () |
Destructor. More... | |
int | getScore () |
Returns the result score. More... | |
void | setScore (int score) |
Sets the result score. More... | |
Represents an artist result.
An ArtistResult consists of a score and an artist. The score is a number between 0 and 100, where a higher number indicates a better match.
MusicBrainz::ArtistResult::ArtistResult | ( | Artist * | artist, |
int | score | ||
) |
Constructor.
MusicBrainz::ArtistResult::~ArtistResult | ( | ) |
Destructor.
Artist* MusicBrainz::ArtistResult::getArtist | ( | ) |
Returns the artist.