-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVideo.h
33 lines (27 loc) · 850 Bytes
/
Video.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
#ifndef VIDEO_H
#define VIDEO_H
#include <iostream>
class Video{
private:
std::string name;
double duration;
std::string classification;
std::string synopsis;
std::string url;
public:
Video();
Video(std::string, double, std::string, std::string, std::string);
std::string getName();
double getDuration();
std::string getClassification();
std::string getSynopsis();
std::string getUrl();
void setName(std::string);
void setDuration(float);
void setClassification(std::string);
void setSynopsis(std::string);
void setUrl(std::string);
friend std::ostream& operator<< (std::ostream &, const Video&);
friend std::istream& operator>> (std::istream &, Video&);
};
#endif // VIDEO_H