8 #include <unordered_map>
32 unordered_map<string, USCounty> counties;
107 stroke_width = width;
114 return view_counties;
117 view_counties = flag;
unordered_map< string, USCounty > & accessCounties()
obtain reference to the county data for that state
Definition: USState.h:68
unordered_map< string, USCounty > getCounties() const
obtain a copy of the county data for that state
Definition: USState.h:52
void setFillColor(datastructure::Color c)
Definition: USState.h:99
void setStrokeWidth(float width)
Definition: USState.h:106
void setStateName(string n)
Definition: USState.h:85
USState(string st)
Definition: USState.h:37
void setStrokeColor(datastructure::Color c)
Definition: USState.h:92
void setCounties(unordered_map< string, USCounty > &c)
sets the counties for this state
Definition: USState.h:77
string getStateName() const
Definition: USState.h:82
float getStrokeWidth() const
Definition: USState.h:103
void setViewCountiesFlag(bool flag)
Definition: USState.h:116
datastructure::Color getStrokeColor() const
Definition: USState.h:89
datastructure::Color getFillColor() const
Definition: USState.h:96
bool getViewCountiesFlag() const
this flag lets you turn on/off counties as needed
Definition: USState.h:113
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