|
libmusicbrainz3
3.0.2
|
A release event, indicating where and when a release took place. More...
Public Member Functions | |
| ReleaseEvent (const std::string &country=std::string(), const std::string &dateStr=std::string()) | |
| Constructor. | |
| virtual | ~ReleaseEvent () |
| Destructor. | |
| std::string | getCountry () const |
| Returns the country a release took place. | |
| void | setCountry (const std::string &country) |
| Sets the country a release took place. | |
| std::string | getDate () const |
| Returns the date a release took place. | |
| void | setDate (const std::string &dateStr) |
| Sets the date a release took place. | |
| void | setCatalogNumber (const std::string &catalogNumber) |
| std::string | getCatalogNumber () const |
| void | setBarcode (const std::string &barcode) |
| std::string | getBarcode () const |
| void | setLabel (Label *label) |
| Label * | getLabel () |
A release event, indicating where and when a release took place.
All country codes used must be valid ISO-3166 country codes (i.e. "DE", "UK" or "FR"). The dates are strings and must have the format "YYYY", "YYYY-MM" or "YYYY-MM-DD".
| MusicBrainz::ReleaseEvent::ReleaseEvent | ( | const std::string & | country = std::string(), |
| const std::string & | dateStr = std::string() |
||
| ) |
Constructor.
| country | a string containing an ISO-3166 country code |
| dateStr | a string containing a date string |
| virtual MusicBrainz::ReleaseEvent::~ReleaseEvent | ( | ) | [virtual] |
Destructor.
| std::string MusicBrainz::ReleaseEvent::getBarcode | ( | ) | const |
| std::string MusicBrainz::ReleaseEvent::getCatalogNumber | ( | ) | const |
| std::string MusicBrainz::ReleaseEvent::getCountry | ( | ) | const |
Returns the country a release took place.
| std::string MusicBrainz::ReleaseEvent::getDate | ( | ) | const |
Returns the date a release took place.
| void MusicBrainz::ReleaseEvent::setBarcode | ( | const std::string & | barcode | ) |
| void MusicBrainz::ReleaseEvent::setCatalogNumber | ( | const std::string & | catalogNumber | ) |
| void MusicBrainz::ReleaseEvent::setCountry | ( | const std::string & | country | ) |
Sets the country a release took place.
| country | a string containing an ISO-3166 country code |
| void MusicBrainz::ReleaseEvent::setDate | ( | const std::string & | dateStr | ) |
Sets the date a release took place.
| dateStr | a string containing a date |
| void MusicBrainz::ReleaseEvent::setLabel | ( | Label * | label | ) |