Represents a Release Group.
More...
Represents a Release Group.
MusicBrainz::ReleaseGroup::ReleaseGroup |
( |
const std::string & |
id = std::string() , |
|
|
const std::string & |
title = std::string() |
|
) |
| |
Constructor.
- Parameters
-
id | a string containing an absolute URI |
title | a string containing the title |
MusicBrainz::ReleaseGroup::~ReleaseGroup |
( |
) | |
|
Artist* MusicBrainz::ReleaseGroup::getArtist |
( |
) | |
|
Returns the main artist of this release group.
- Returns
- a pointer to Artist object, or NULL
int MusicBrainz::ReleaseGroup::getNumReleases |
( |
) | |
const |
Release* MusicBrainz::ReleaseGroup::getRelease |
( |
int |
index) | |
|
ReleaseList& MusicBrainz::ReleaseGroup::getReleases |
( |
) | |
|
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.
- Returns
- a string containing an absolute URI
- See Also
- The MusicBrainz Style Guidelines
std::string MusicBrainz::ReleaseGroup::getType |
( |
) | |
const |
Returns the release group's type.
- Returns
- a string
- See Also
- getType
void MusicBrainz::ReleaseGroup::setArtist |
( |
Artist * |
artist) | |
|
Sets this release group's main artist.
- Parameters
-
artist | a pointer to Artist object |
void MusicBrainz::ReleaseGroup::setTitle |
( |
const std::string & |
title) | |
|
Sets the release group's title.
- Parameters
-
title,: | a string containing the release group's title |
- See Also
- getTitle
void MusicBrainz::ReleaseGroup::setType |
( |
const std::string & |
type) | |
|
Sets the release group's type.
- Parameters
-
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 |