Bridges-C++  3.1.1
Bridges(C++API)
Public Member Functions | List of all members
bridges::dataset::Game Class Reference

#include <Game.h>

Detailed Description

A Game object, used along with the Games data source.

This is a convenience class provided for users who wish to use this data source as part of their application. It provides an API that makes it easy to access the attributes of this data set.

Refer to tutorial examples to using this data source in data structure assignments.

Public Member Functions

 Game ()
 
 Game (const string &title, const string &platform, double rating, const vector< string > &genre)
 
string getTitle () const
 
void setTitle (const string &title)
 
string getPlatformType () const
 
void setPlatformType (const string &platform)
 
double getRating () const
 
void setRating (double rating)
 
vector< string > getGameGenre () const
 
void setGameGenre (const vector< string > &genre)
 

Constructor & Destructor Documentation

◆ Game() [1/2]

bridges::dataset::Game::Game ( )
inline

◆ Game() [2/2]

bridges::dataset::Game::Game ( const string &  title,
const string &  platform,
double  rating,
const vector< string > &  genre 
)
inline

Member Function Documentation

◆ getGameGenre()

vector<string> bridges::dataset::Game::getGameGenre ( ) const
inline

◆ getPlatformType()

string bridges::dataset::Game::getPlatformType ( ) const
inline

◆ getRating()

double bridges::dataset::Game::getRating ( ) const
inline

◆ getTitle()

string bridges::dataset::Game::getTitle ( ) const
inline

◆ setGameGenre()

void bridges::dataset::Game::setGameGenre ( const vector< string > &  genre)
inline

◆ setPlatformType()

void bridges::dataset::Game::setPlatformType ( const string &  platform)
inline

◆ setRating()

void bridges::dataset::Game::setRating ( double  rating)
inline

◆ setTitle()

void bridges::dataset::Game::setTitle ( const string &  title)
inline

The documentation for this class was generated from the following file: