-
Notifications
You must be signed in to change notification settings - Fork 0
/
Movie.h
36 lines (30 loc) · 1.01 KB
/
Movie.h
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
31
32
33
34
35
#ifndef MOVIE_INCLUDED
#define MOVIE_INCLUDED
#include <string>
#include <vector>
#include <cctype>
class Movie
{
public:
Movie(const std::string& id, const std::string& title,
const std::string& release_year,
const std::vector<std::string>& directors,
const std::vector<std::string>& actors,
const std::vector<std::string>& genres, float rating);
std::string get_id() const;
std::string get_title() const;
std::string get_release_year() const;
float get_rating() const;
std::vector<std::string> get_directors() const;
std::vector<std::string> get_actors() const;
std::vector<std::string> get_genres() const;
private:
std::string m_ID;
std::string m_title;
std::string m_release_year;
std::vector<std::string> m_directors;
std::vector<std::string> m_actors;
std::vector<std::string> m_genres;
float m_rating;
};
#endif // MOVIE_INCLUDED