23 #ifndef __MUSICBRAINZ3_LABEL_H__
24 #define __MUSICBRAINZ3_LABEL_H__
53 Label(
const std::string &
id =
"",
const std::string &type =
"",
54 const std::string &name =
"",
const std::string &sortName =
"");
66 std::string getType()
const;
73 void setType(
const std::string &type);
80 std::string getName()
const;
87 void setName(
const std::string &name);
98 std::string getSortName()
const;
107 void setSortName(
const std::string &sortName);
124 std::string getDisambiguation()
const;
133 void setDisambiguation(
const std::string &disambiguation);
146 std::string getUniqueName()
const;
162 std::string getBeginDate()
const;
171 void setBeginDate(
const std::string &dateStr);
184 std::string getEndDate()
const;
193 void setEndDate(
const std::string &dateStr);
215 int getNumReleases()
const;
226 Release *getRelease(
int index);
233 void addRelease(
Release *release);
247 int getReleasesOffset()
const;
256 void setReleasesOffset(
const int offset);
269 int getReleasesCount()
const;
278 void setReleasesCount(
const int count);
296 int getNumAliases()
const;
static const std::string TYPE_GROUP
Definition: label.h:43
std::vector< LabelAlias * > LabelAliasList
A vector of pointers to LabelAlias objects.
Definition: lists.h:76
A first-level MusicBrainz class.
Definition: entity.h:56
static const std::string TYPE_PERSON
Definition: label.h:42
Represents a label alias.
Definition: labelalias.h:38
std::vector< Release * > ReleaseList
A vector of pointers to Release objects.
Definition: lists.h:58
Represents a record label.
Definition: label.h:38
#define MB_API
Definition: defines.h:40
Represents a Release.
Definition: release.h:47