47 : title(
""), platform(
""), rating(0), genre() {
58 Game(
const string& title,
const string& platform,
double rating,
59 const vector<string>& genre)
60 : title(title), platform(platform), rating(rating), genre(genre) {
92 this->platform = platform;
106 this->rating = rating;
A Game object, used along with the Games data source.
Definition: Game.h:34
Game(const string &title, const string &platform, double rating, const vector< string > &genre)
Definition: Game.h:58
vector< string > getGameGenre() const
Definition: Game.h:113
void setPlatformType(const string &platform)
Definition: Game.h:91
string getTitle() const
Definition: Game.h:68
Game()
Definition: Game.h:46
void setGameGenre(const vector< string > &genre)
Definition: Game.h:120
void setTitle(const string &title)
Definition: Game.h:75
void setRating(double rating)
Definition: Game.h:105
double getRating() const
Definition: Game.h:98
string getPlatformType() const
Definition: Game.h:83
Support for drawing Bar charts.
Definition: alltypes.h:4