-
Notifications
You must be signed in to change notification settings - Fork 0
/
MusicClip.h
50 lines (41 loc) · 959 Bytes
/
MusicClip.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
40
41
42
43
44
45
46
47
48
49
50
#include <iostream>
#include <vector>
class MusicClip {
enum Genre { POP_MUSIC,
FOLK_MUSIC,
JAZZ,
BLUES,
CLASSICAL,
OPERA,
COUNTRY_MUSIC,
REGGAE,
ROCK
};
private:
/* Data Member declaration */
int id, index;
std::string artist, title;
std::vector<std::string> people;
Genre genre;
std::string clip;
double price;
public:
/* Getter methods */
int getId();
std::string getArtist();
std::string getTitle();
int getGenre();
double getPrice();
std::vector<std::string> getPeople();
std::string getClip();
/* Setter Methods */
int setId(int);
std::string setArtist(std::string);
std::string setTitle(std::string);
int setGenre(int);
double setPrice(double);
std::vector<std::string> setPeople(std::string);
void displayclip();
std::vector<std::string> tokenisePeople(std::string);
void setClip(std::string);
};