libmusicbrainz4  4.0.3
MusicBrainz4::CLabel Class Reference
Inheritance diagram for MusicBrainz4::CLabel:
MusicBrainz4::CEntity

Public Member Functions

 CLabel (const XMLNode &Node=XMLNode::emptyNode())
 
 CLabel (const CLabel &Other)
 
CLabeloperator= (const CLabel &Other)
 
virtual ~CLabel ()
 
virtual CLabelClone ()
 
std::string ID () const
 
std::string Type () const
 
std::string Name () const
 
std::string SortName () const
 
int LabelCode () const
 
std::string IPI () const
 
CIPIListIPIList () const
 
std::string Disambiguation () const
 
std::string Country () const
 
CLifespanLifespan () const
 
CAliasListAliasList () const
 
CReleaseListReleaseList () const
 
CRelationListRelationList () const
 
CRelationListListRelationListList () const
 
CTagListTagList () const
 
CUserTagListUserTagList () const
 
CRatingRating () const
 
CUserRatingUserRating () const
 
virtual std::ostream & Serialise (std::ostream &os) const
 
- Public Member Functions inherited from MusicBrainz4::CEntity
 CEntity ()
 
 CEntity (const CEntity &Other)
 
CEntityoperator= (const CEntity &Other)
 
virtual ~CEntity ()
 
void Parse (const XMLNode &Node)
 
std::map< std::string, std::string > ExtAttributes () const
 
std::map< std::string, std::string > ExtElements () const
 

Static Public Member Functions

static std::string GetElementName ()
 
- Static Public Member Functions inherited from MusicBrainz4::CEntity
static std::string GetElementName ()
 

Protected Member Functions

virtual void ParseAttribute (const std::string &Name, const std::string &Value)
 
virtual void ParseElement (const XMLNode &Node)
 
- Protected Member Functions inherited from MusicBrainz4::CEntity
void ProcessRelationList (const XMLNode &Node, CRelationListList *&RetVal)
 
template<typename T >
void ProcessItem (const XMLNode &Node, T *&RetVal)
 
template<class T >
void ProcessItem (const XMLNode &Node, T &RetVal)
 
template<typename T >
void ProcessItem (const std::string &Text, T &RetVal)
 
void ProcessItem (const XMLNode &Node, std::string &RetVal)
 

Constructor & Destructor Documentation

◆ CLabel() [1/2]

MusicBrainz4::CLabel::CLabel ( const XMLNode &  Node = XMLNode::emptyNode())

◆ CLabel() [2/2]

MusicBrainz4::CLabel::CLabel ( const CLabel Other)

◆ ~CLabel()

virtual MusicBrainz4::CLabel::~CLabel ( )
virtual

Member Function Documentation

◆ AliasList()

CAliasList* MusicBrainz4::CLabel::AliasList ( ) const

◆ Clone()

virtual CLabel* MusicBrainz4::CLabel::Clone ( )
virtual

Implements MusicBrainz4::CEntity.

◆ Country()

std::string MusicBrainz4::CLabel::Country ( ) const

◆ Disambiguation()

std::string MusicBrainz4::CLabel::Disambiguation ( ) const

◆ GetElementName()

static std::string MusicBrainz4::CLabel::GetElementName ( )
static

◆ ID()

std::string MusicBrainz4::CLabel::ID ( ) const

◆ IPI()

std::string MusicBrainz4::CLabel::IPI ( ) const
Deprecated:
Returns one of the IPIs for this label

Returns one of the IPIs for this label. To return all IPIs, see MusicBrainz4::CLabel::IPIList

This method is deprecated, please use MusicBrainz4::CLabel::IPIList

Returns
One of the IPIs for this label

◆ IPIList()

CIPIList* MusicBrainz4::CLabel::IPIList ( ) const

◆ LabelCode()

int MusicBrainz4::CLabel::LabelCode ( ) const

◆ Lifespan()

CLifespan* MusicBrainz4::CLabel::Lifespan ( ) const

◆ Name()

std::string MusicBrainz4::CLabel::Name ( ) const

◆ operator=()

CLabel& MusicBrainz4::CLabel::operator= ( const CLabel Other)

◆ ParseAttribute()

virtual void MusicBrainz4::CLabel::ParseAttribute ( const std::string &  Name,
const std::string &  Value 
)
protectedvirtual

Implements MusicBrainz4::CEntity.

◆ ParseElement()

virtual void MusicBrainz4::CLabel::ParseElement ( const XMLNode &  Node)
protectedvirtual

Implements MusicBrainz4::CEntity.

◆ Rating()

CRating* MusicBrainz4::CLabel::Rating ( ) const

◆ RelationList()

CRelationList* MusicBrainz4::CLabel::RelationList ( ) const
Deprecated:
Returns the last relation list for this label

Returns the last relation list for this label. To return all relation lists, see MusicBrainz4::CLabel::RelationListList

This method is deprecated, please use MusicBrainz4::CLabel::RelationListList

Returns
The last relation list for this label

◆ RelationListList()

CRelationListList* MusicBrainz4::CLabel::RelationListList ( ) const

◆ ReleaseList()

CReleaseList* MusicBrainz4::CLabel::ReleaseList ( ) const

◆ Serialise()

virtual std::ostream& MusicBrainz4::CLabel::Serialise ( std::ostream &  os) const
virtual

Reimplemented from MusicBrainz4::CEntity.

◆ SortName()

std::string MusicBrainz4::CLabel::SortName ( ) const

◆ TagList()

CTagList* MusicBrainz4::CLabel::TagList ( ) const

◆ Type()

std::string MusicBrainz4::CLabel::Type ( ) const

◆ UserRating()

CUserRating* MusicBrainz4::CLabel::UserRating ( ) const

◆ UserTagList()

CUserTagList* MusicBrainz4::CLabel::UserTagList ( ) const