libmusicbrainz5
5.1.0
Toggle main menu visibility
Loading...
Searching...
No Matches
RelationListList.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 the GNU Lesser General Public
11
License as published by the Free Software Foundation; either
12
version 2.1 of the License, or (at your option) any later version.
13
14
libmusicbrainz5 is distributed in the hope that it will be useful,
15
but WITHOUT ANY WARRANTY; without even the implied warranty of
16
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
Lesser General Public License for more details.
18
19
You should have received a copy of the GNU General Public License
20
along with this library. If not, see <http://www.gnu.org/licenses/>.
21
22
$Id$
23
24
----------------------------------------------------------------------------*/
25
26
#ifndef _MUSICBRAINZ5_RELATIONLIST_GROUP_H
27
#define _MUSICBRAINZ5_RELATIONLIST_GROUP_H
28
29
#include <iostream>
30
31
#include "musicbrainz5/xmlParser.h"
32
33
namespace
MusicBrainz5
34
{
35
class
CRelationListListPrivate;
36
37
class
CRelationList
;
38
39
class
CRelationListList
40
{
41
public
:
42
CRelationListList
();
43
CRelationListList
(
const
CRelationListList
& Other);
44
CRelationListList
&
operator =
(
const
CRelationListList
& Other);
45
virtual
~CRelationListList
();
46
47
void
Add
(
CRelationList
*RelationList);
48
int
NumItems
()
const
;
49
CRelationList
*
Item
(
int
Item
)
const
;
50
int
Offset
()
const
{
return
0; }
51
int
Count
()
const
{
return
NumItems
(); }
52
53
std::ostream&
Serialise
(std::ostream& os)
const
;
54
55
private
:
56
void
Cleanup();
57
58
CRelationListListPrivate *
const
m_d;
59
};
60
}
61
62
std::ostream&
operator <<
(std::ostream& os,
const
MusicBrainz5::CRelationListList
& RelationListList);
63
64
#endif
operator<<
std::ostream & operator<<(std::ostream &os, const MusicBrainz5::CRelationListList &RelationListList)
MusicBrainz5::CRelationList
Definition
RelationList.h:42
MusicBrainz5::CRelationListList
Definition
RelationListList.h:40
MusicBrainz5::CRelationListList::Add
void Add(CRelationList *RelationList)
MusicBrainz5::CRelationListList::Count
int Count() const
Definition
RelationListList.h:51
MusicBrainz5::CRelationListList::NumItems
int NumItems() const
MusicBrainz5::CRelationListList::operator=
CRelationListList & operator=(const CRelationListList &Other)
MusicBrainz5::CRelationListList::CRelationListList
CRelationListList()
MusicBrainz5::CRelationListList::Serialise
std::ostream & Serialise(std::ostream &os) const
MusicBrainz5::CRelationListList::Offset
int Offset() const
Definition
RelationListList.h:50
MusicBrainz5::CRelationListList::~CRelationListList
virtual ~CRelationListList()
MusicBrainz5::CRelationListList::Item
CRelationList * Item(int Item) const
MusicBrainz5::CRelationListList::CRelationListList
CRelationListList(const CRelationListList &Other)
MusicBrainz5
Definition
Alias.h:37
include
musicbrainz5
RelationListList.h
Generated by
1.17.0