libmusicbrainz3
3.0.2
|
Represents generic search result. More...
Public Member Functions | |
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 generic search result.
MusicBrainz::Result::Result | ( | int | score) |
Constructor.
score | an int between 0 and 100 (both inclusive) |
|
inlinevirtual |
Destructor.
int MusicBrainz::Result::getScore | ( | ) |
Returns the result score.
The score indicates how good this result matches the search parameters. The higher the value, the better the match.
void MusicBrainz::Result::setScore | ( | int | score) |
Sets the result score.
score | an int between 0 and 100 (both inclusive) |