Bridges-Python
3.4.4
Bridges(Python API)
|
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.
Each game record has title, platform on which it can be played, rating, and a list of genres.
This object is generally not created by the user, to see how its created check out bridges::data_src_dependent::data_source::get_game_data()
Public Member Functions | |
def | __init__ (self, str title="", str platform="", float rating=0.0, str genre="") |
Constructor. More... | |
def | title (self) |
get game title More... | |
def | title (self, t) |
Set game title. More... | |
def | platform (self) |
get game platform More... | |
def | platform (self, p) |
Set game platform. More... | |
def | rating (self) |
get game rating More... | |
def | rating (self, r) |
Set game rating. More... | |
def | genre (self) |
get game genres More... | |
def | genre (self, g) |
Set game title. More... | |
def bridges.data_src_dependent.game.Game.__init__ | ( | self, | |
str | title = "" , |
||
str | platform = "" , |
||
float | rating = 0.0 , |
||
str | genre = "" |
||
) |
Constructor.
title | game title |
platform | game platform |
rating | game rating |
genre | game's genres |
def bridges.data_src_dependent.game.Game.genre | ( | self | ) |
get game genres
def bridges.data_src_dependent.game.Game.genre | ( | self, | |
g | |||
) |
Set game title.
g | game genres to set |
def bridges.data_src_dependent.game.Game.platform | ( | self | ) |
get game platform
def bridges.data_src_dependent.game.Game.platform | ( | self, | |
p | |||
) |
Set game platform.
p | game platform to set |
def bridges.data_src_dependent.game.Game.rating | ( | self | ) |
get game rating
def bridges.data_src_dependent.game.Game.rating | ( | self, | |
r | |||
) |
Set game rating.
r | game rating to set |
def bridges.data_src_dependent.game.Game.title | ( | self | ) |
get game title
def bridges.data_src_dependent.game.Game.title | ( | self, | |
t | |||
) |
Set game title.
t | game title to set |