32 string city, state, country, time_zone;
33 int elevation, population;
42 City (
string cty,
string st,
string cntry,
string tm_zone,
43 int elev,
int pop,
float lat,
float lon) {
Class that holds data of a city.
Definition: City.h:29
void setLongitude(float lon)
Definition: City.h:98
void setLatitude(float lat)
Definition: City.h:90
string getTimeZone() const
Definition: City.h:78
void setElevation(int elev)
Definition: City.h:113
void setTimeZone(string tz)
Definition: City.h:82
void setCity(string c)
Definition: City.h:58
int getElevation() const
Definition: City.h:109
float getLongitude() const
Definition: City.h:94
string getCity() const
Definition: City.h:54
City(string cty, string st, string cntry, string tm_zone, int elev, int pop, float lat, float lon)
Definition: City.h:42
string getCountry() const
Definition: City.h:70
float getPopulation() const
Definition: City.h:101
void setState(string st)
Definition: City.h:66
float getLatitude() const
Definition: City.h:86
string getState() const
Definition: City.h:62
void setPopulation(int pop)
Definition: City.h:105
void setCountry(string cntry)
Definition: City.h:74
Support for drawing Bar charts.
Definition: alltypes.h:4