Represents a Release Group.
More...
List of all members.
Additional Inherited Members |
| Entity (const std::string &id) |
| Constructor.
|
Detailed Description
Represents a Release Group.
Constructor & Destructor Documentation
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 |
( |
| ) |
|
Member Function Documentation
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:
-
Member Data Documentation
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 |