|
libmusicbrainz3
3.0.2
|
Represents a parsed Music Metadata XML document. More...
Public Member Functions | |
| Metadata () | |
| virtual | ~Metadata () |
| Artist * | getArtist (bool remove=false) |
| Returns the artist. | |
| void | setArtist (Artist *artist) |
| Sets the artist. | |
| Release * | getRelease (bool remove=false) |
| Returns the release. | |
| void | setRelease (Release *release) |
| Sets the release. | |
| Track * | getTrack (bool remove=false) |
| Returns a track. | |
| void | setTrack (Track *track) |
| Sets the track. | |
| Label * | getLabel (bool remove=false) |
| Returns the label. | |
| void | setLabel (Label *label) |
| Sets the label. | |
| UserList & | getUserList () |
| Returns a list of users. | |
| UserList | getUserList (bool remove) |
| ArtistResultList & | getArtistResults () |
| Returns a artist result list. | |
| ArtistResultList | getArtistResults (bool remove) |
| TrackResultList & | getTrackResults () |
| Returns a track result list. | |
| TrackResultList | getTrackResults (bool remove) |
| ReleaseResultList & | getReleaseResults () |
| Returns a release result list. | |
| ReleaseResultList | getReleaseResults (bool remove) |
Represents a parsed Music Metadata XML document.
The Music Metadata XML format is very flexible and may contain a diverse set of data (e.g. an artist, a release and a list of tracks), but usually only a small subset is used (either an artist, a release or a track, or a lists of objects from one class).
| virtual MusicBrainz::Metadata::~Metadata | ( | ) | [virtual] |
| Artist* MusicBrainz::Metadata::getArtist | ( | bool | remove = false | ) |
Returns a artist result list.
| ArtistResultList MusicBrainz::Metadata::getArtistResults | ( | bool | remove | ) |
| Label* MusicBrainz::Metadata::getLabel | ( | bool | remove = false | ) |
| Release* MusicBrainz::Metadata::getRelease | ( | bool | remove = false | ) |
Returns a release result list.
| ReleaseResultList MusicBrainz::Metadata::getReleaseResults | ( | bool | remove | ) |
| Track* MusicBrainz::Metadata::getTrack | ( | bool | remove = false | ) |
Returns a track result list.
| TrackResultList MusicBrainz::Metadata::getTrackResults | ( | bool | remove | ) |
Returns a list of users.
| UserList MusicBrainz::Metadata::getUserList | ( | bool | remove | ) |
| void MusicBrainz::Metadata::setArtist | ( | Artist * | artist | ) |
Sets the artist.
| artist | a pointer to Artist object, or NULL |
| void MusicBrainz::Metadata::setLabel | ( | Label * | label | ) |
Sets the label.
| label | a pointer to Label object, or NULL |
| void MusicBrainz::Metadata::setRelease | ( | Release * | release | ) |
Sets the release.
| release | a pointer to Release object, or NULL |
| void MusicBrainz::Metadata::setTrack | ( | Track * | track | ) |
Sets the track.
| track | a pointer to Track object, or NULL |