libmusicbrainz3
3.0.2
|
Represents an track result. More...
Public Member Functions | |
TrackResult (Track *track, int score) | |
Constructor. | |
~TrackResult () | |
Destructor. | |
Track * | getTrack () |
Returns the track. | |
void | setTrack (Track *track) |
Sets the track. |
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.
Destructor.
Returns the track.
void MusicBrainz::TrackResult::setTrack | ( | Track * | track | ) |
Sets the track.
track | a pointer to a Track object |