libmusicbrainz3
3.0.2
|
Represents an track result. More...
Public Member Functions | |
TrackResult (Track *track, int score) | |
Constructor. More... | |
~TrackResult () | |
Destructor. More... | |
Track * | getTrack () |
Returns the track. More... | |
void | setTrack (Track *track) |
Sets the track. 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 track result.
An TrackResult consists of a score and an track. The score is a number between 0 and 100, where a higher number indicates a better match.
MusicBrainz::TrackResult::TrackResult | ( | Track * | track, |
int | score | ||
) |
Constructor.
MusicBrainz::TrackResult::~TrackResult | ( | ) |
Destructor.