diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-12 14:18:05 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-12 14:18:05 +0200 |
commit | 1a30375e369d2d872cb3fd6ecdc6019136c7b1a4 (patch) | |
tree | 3077761b96e733fb64be803f04497c44597fe965 /People.h | |
parent | e113e6e65be07ab31d69243bd8d219d2bc02d094 (diff) |
deserialize and display artists
Diffstat (limited to 'People.h')
-rw-r--r-- | People.h | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -1,16 +1,24 @@ #pragma once -#include <memory> #include <vector> +#include <string> #include "Artist.h" #include "ArtistData.h" class People { public: + People() = default; + virtual ~People(); + std::string to_string(); + +public: void add_artist(ArtistData data); + Artist & get_artist(size_t index); + size_t artists_size(); + private: - std::vector<Artist*> artists; + std::vector<Artist *> artists; }; |