-
Notifications
You must be signed in to change notification settings - Fork 0
/
classic.h
39 lines (30 loc) · 988 Bytes
/
classic.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
36
37
38
39
// ------------------------------------------------- classic.h ------------------------------------------------------
// Name: Ihar Simanovich & Jason Kozodoy
// Course: CSS343 A
// Creation Date: 12/01/2016
// Last Modification: 12/14/2016
// ------------------------------------------------------------------------------------------------------------------
#ifndef CLASSIC_H_
#define CLASSIC_H_
#include "movie.h"
using namespace std;
//Classic Movie class inherits from movie
//Classic is one of the geners at our store
class Classic: public Movie{
public:
Classic();
virtual ~Classic();
Classic(int, int, string);
bool operator<(const Movie&) const;
bool operator<(const Classic&) const;
bool operator==(const Classic&) const;
bool operator==(const Movie&) const;
void setData(string); //sets classic movie data
void display() const; //displays classic movie info
string getActor();
int getMonth();
protected:
string actor;
int month;
};
#endif /* CLASSIC_H_ */