aboutsummaryrefslogtreecommitdiff
path: root/People.h
blob: 1e9ced01811637ca5936ddf3e791334408fe3634 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#pragma once

#include <forward_list>
#include <string>

#include "Artist.h"
#include "ArtistData.h"

class Museum;

class People {
public:
	People(Museum &);
	virtual ~People();
	std::string to_string();

public:
	void add_artist(const ArtistData & data);
	void remove_artist(Artist & artist);

	std::forward_list<Artist *> get_artists();

	void update();

private:
	std::forward_list<Artist *> artists;
	size_t artist_count = 0;
	Museum & museum;
};