8#include <unordered_map>
31 unordered_map<string, USCounty> counties;
106 stroke_width = width;
113 return view_counties;
116 view_counties = flag;
void setFillColor(datastructure::Color c)
Definition USState.h:98
void setStrokeWidth(float width)
Definition USState.h:105
void setStateName(string n)
Definition USState.h:84
USState(string st)
Definition USState.h:36
void setStrokeColor(datastructure::Color c)
Definition USState.h:91
void setCounties(unordered_map< string, USCounty > &c)
sets the counties for this state
Definition USState.h:76
string getStateName() const
Definition USState.h:81
float getStrokeWidth() const
Definition USState.h:102
unordered_map< string, USCounty > & accessCounties()
obtain reference to the county data for that state
Definition USState.h:67
void setViewCountiesFlag(bool flag)
Definition USState.h:115
unordered_map< string, USCounty > getCounties() const
obtain a copy of the county data for that state
Definition USState.h:51
datastructure::Color getStrokeColor() const
Definition USState.h:88
datastructure::Color getFillColor() const
Definition USState.h:95
bool getViewCountiesFlag() const
this flag lets you turn on/off counties as needed
Definition USState.h:112
This class represents Color, and supports rgba, hexadecimal and named color values.
Definition Color.h:50
Support for drawing Bar charts.
Definition alltypes.h:4