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