libmusicbrainz3
3.0.3
|
Represents a Release Group. More...
Public Member Functions | |
ReleaseGroup (const std::string &id=std::string(), const std::string &title=std::string()) | |
Constructor. | |
~ReleaseGroup () | |
Destructor. | |
std::string | getTitle () const |
Returns the release group's title. | |
void | setTitle (const std::string &title) |
Sets the release group's title. | |
Artist * | getArtist () |
Returns the main artist of this release group. | |
void | setArtist (Artist *artist) |
Sets this release group's main artist. | |
void | setType (const std::string &type) |
Sets the release group's type. | |
std::string | getType () const |
Returns the release group's type. | |
ReleaseList & | getReleases () |
int | getNumReleases () const |
Release * | getRelease (int index) |
Static Public Attributes | |
static const std::string | TYPE_NONE |
static const std::string | TYPE_ALBUM |
static const std::string | TYPE_SINGLE |
static const std::string | TYPE_EP |
static const std::string | TYPE_COMPILATION |
static const std::string | TYPE_SOUNDTRACK |
static const std::string | TYPE_SPOKENWORD |
static const std::string | TYPE_INTERVIEW |
static const std::string | TYPE_AUDIOBOOK |
static const std::string | TYPE_LIVE |
static const std::string | TYPE_REMIX |
static const std::string | TYPE_OTHER |
Represents a Release Group.
MusicBrainz::ReleaseGroup::ReleaseGroup | ( | const std::string & | id = std::string() , |
const std::string & | title = std::string() |
||
) |
Constructor.
id | a string containing an absolute URI |
title | a string containing the title |
Destructor.
Returns the main artist of this release group.
int MusicBrainz::ReleaseGroup::getNumReleases | ( | ) | const |
Release* MusicBrainz::ReleaseGroup::getRelease | ( | int | index | ) |
std::string MusicBrainz::ReleaseGroup::getTitle | ( | ) | const |
Returns the release group's title.
The style and format of this attribute is specified by the style guide.
std::string MusicBrainz::ReleaseGroup::getType | ( | ) | const |
void MusicBrainz::ReleaseGroup::setArtist | ( | Artist * | artist | ) |
Sets this release group's main artist.
artist | a pointer to Artist object |
void MusicBrainz::ReleaseGroup::setTitle | ( | const std::string & | title | ) |
Sets the release group's title.
title,: | a string containing the release group's title |
void MusicBrainz::ReleaseGroup::setType | ( | const std::string & | type | ) |
Sets the release group's type.
type |
const std::string MusicBrainz::ReleaseGroup::TYPE_ALBUM [static] |
const std::string MusicBrainz::ReleaseGroup::TYPE_AUDIOBOOK [static] |
const std::string MusicBrainz::ReleaseGroup::TYPE_COMPILATION [static] |
const std::string MusicBrainz::ReleaseGroup::TYPE_EP [static] |
const std::string MusicBrainz::ReleaseGroup::TYPE_INTERVIEW [static] |
const std::string MusicBrainz::ReleaseGroup::TYPE_LIVE [static] |
const std::string MusicBrainz::ReleaseGroup::TYPE_NONE [static] |
const std::string MusicBrainz::ReleaseGroup::TYPE_OTHER [static] |
const std::string MusicBrainz::ReleaseGroup::TYPE_REMIX [static] |
const std::string MusicBrainz::ReleaseGroup::TYPE_SINGLE [static] |
const std::string MusicBrainz::ReleaseGroup::TYPE_SOUNDTRACK [static] |
const std::string MusicBrainz::ReleaseGroup::TYPE_SPOKENWORD [static] |