libmusicbrainz5
5.0.1
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Typedefs
Enumerations
Enumerator
Macros
Pages
Artist.h
Go to the documentation of this file.
1
/* --------------------------------------------------------------------------
2
3
libmusicbrainz5 - Client library to access MusicBrainz
4
5
Copyright (C) 2012 Andrew Hawkins
6
7
This file is part of libmusicbrainz5.
8
9
This library is free software; you can redistribute it and/or
10
modify it under the terms of v2 of the GNU Lesser General Public
11
License as published by the Free Software Foundation.
12
13
libmusicbrainz5 is distributed in the hope that it will be useful,
14
but WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
Lesser General Public License for more details.
17
18
You should have received a copy of the GNU General Public License
19
along with this library. If not, see <http://www.gnu.org/licenses/>.
20
21
$Id$
22
23
----------------------------------------------------------------------------*/
24
25
#ifndef _MUSICBRAINZ5_ARTIST_H
26
#define _MUSICBRAINZ5_ARTIST_H
27
28
#include <string>
29
#include <iostream>
30
31
#include "
musicbrainz5/Entity.h
"
32
#include "
musicbrainz5/IPIList.h
"
33
#include "
musicbrainz5/ReleaseList.h
"
34
#include "
musicbrainz5/AliasList.h
"
35
#include "
musicbrainz5/RecordingList.h
"
36
#include "
musicbrainz5/ReleaseGroupList.h
"
37
#include "
musicbrainz5/LabelList.h
"
38
#include "
musicbrainz5/WorkList.h
"
39
#include "
musicbrainz5/RelationList.h
"
40
#include "
musicbrainz5/TagList.h
"
41
#include "
musicbrainz5/UserTagList.h
"
42
43
#include "musicbrainz5/xmlParser.h"
44
45
namespace
MusicBrainz5
46
{
47
class
CArtistPrivate;
48
class
CLifespan;
49
class
CRating;
50
class
CUserRating;
51
52
class
CArtist
:
public
CEntity
53
{
54
public
:
55
CArtist
(
const
XMLNode& Node=XMLNode::emptyNode());
56
CArtist
(
const
CArtist
& Other);
57
CArtist
&
operator =
(
const
CArtist
& Other);
58
virtual
~CArtist
();
59
60
virtual
CArtist
*
Clone
();
61
62
std::string
ID
()
const
;
63
std::string
Type
()
const
;
64
std::string
Name
()
const
;
65
std::string
SortName
()
const
;
66
std::string
Gender
()
const
;
67
std::string
Country
()
const
;
68
std::string
Disambiguation
()
const
;
69
CIPIList
*
IPIList
()
const
;
70
CLifespan
*
Lifespan
()
const
;
71
CAliasList
*
AliasList
()
const
;
72
CRecordingList
*
RecordingList
()
const
;
73
CReleaseList
*
ReleaseList
()
const
;
74
CReleaseGroupList
*
ReleaseGroupList
()
const
;
75
CLabelList
*
LabelList
()
const
;
76
CWorkList
*
WorkList
()
const
;
77
CRelationListList
*
RelationListList
()
const
;
78
CTagList
*
TagList
()
const
;
79
CUserTagList
*
UserTagList
()
const
;
80
CRating
*
Rating
()
const
;
81
CUserRating
*
UserRating
()
const
;
82
83
virtual
std::ostream&
Serialise
(std::ostream& os)
const
;
84
static
std::string
GetElementName
();
85
86
protected
:
87
virtual
void
ParseAttribute
(
const
std::string& Name,
const
std::string& Value);
88
virtual
void
ParseElement
(
const
XMLNode& Node);
89
90
private
:
91
void
Cleanup();
92
93
CArtistPrivate *
const
m_d;
94
};
95
}
96
97
#endif
include
musicbrainz5
Artist.h
Generated on Sat Nov 2 2013 09:16:01 for libmusicbrainz5 by
1.8.1.2