|
libmusicbrainz3
3.0.2
|
Represents an artist alias. More...
Public Member Functions | |
| ArtistAlias (const std::string &value=std::string(), const std::string &type=std::string(), const std::string &script=std::string()) | |
| Constructor. | |
| virtual | ~ArtistAlias () |
| Destructor. | |
| std::string | getValue () const |
| Returns the alias. | |
| void | setValue (const std::string &value) |
| Sets the alias. | |
| std::string | getType () const |
| Returns the alias type. | |
| void | setType (const std::string &type) |
| Sets the alias type. | |
| std::string | getScript () const |
| Returns the alias script. | |
| void | setScript (const std::string &type) |
| Sets the alias script. | |
Represents an artist alias.
An alias (the alias value) is a different representation of an artist's name. This may be a common misspelling or a transliteration (the alias type).
The alias script is interesting mostly for transliterations and indicates which script is used for the alias value. To represent the script, ISO-15924 script codes like 'Latn', 'Cyrl', or 'Hebr' are used.
| MusicBrainz::ArtistAlias::ArtistAlias | ( | const std::string & | value = std::string(), |
| const std::string & | type = std::string(), |
||
| const std::string & | script = std::string() |
||
| ) |
Constructor.
| value | a string containing the alias |
| type | a string containing an absolute URI |
| script | a string containing an ISO-15924 script code |
| virtual MusicBrainz::ArtistAlias::~ArtistAlias | ( | ) | [virtual] |
Destructor.
| std::string MusicBrainz::ArtistAlias::getScript | ( | ) | const |
Returns the alias script.
| std::string MusicBrainz::ArtistAlias::getType | ( | ) | const |
Returns the alias type.
| std::string MusicBrainz::ArtistAlias::getValue | ( | ) | const |
Returns the alias.
| void MusicBrainz::ArtistAlias::setScript | ( | const std::string & | type | ) |
Sets the alias script.
| type | a string containing an ISO-15924 script code |
| void MusicBrainz::ArtistAlias::setType | ( | const std::string & | type | ) |
Sets the alias type.
| type | a string containing an absolute URI |
| void MusicBrainz::ArtistAlias::setValue | ( | const std::string & | value | ) |
Sets the alias.
| value | a string containing the alias |