![]() |
Bridges-C++ 3.5.0
Bridges(C++ API)
|
#include <USState.h>
Public Member Functions | |
| USState ()=default | |
| USState (string st) | |
| unordered_map< string, USCounty > | getCounties () const |
| obtain a copy of the county data for that state More... | |
| unordered_map< string, USCounty > & | accessCounties () |
| obtain reference to the county data for that state More... | |
| void | setCounties (unordered_map< string, USCounty > &c) |
| sets the counties for this state More... | |
| string | getStateName () const |
| void | setStateName (string n) |
| datastructure::Color | getStrokeColor () const |
| void | setStrokeColor (datastructure::Color c) |
| datastructure::Color | getFillColor () const |
| void | setFillColor (datastructure::Color c) |
| float | getStrokeWidth () const |
| void | setStrokeWidth (float width) |
| bool | getViewCountiesFlag () const |
| this flag lets you turn on/off counties as needed More... | |
| void | setViewCountiesFlag (bool flag) |
|
default |
|
inline |
|
inline |
obtain reference to the county data for that state
This is mostly useful to get direct access to the county data inside of the state for manipulation. For instance
{c}
|
inline |
obtain a copy of the county data for that state
The Counties are indexed by FIPS code. (FIPS code are defined by the US Federal Government. See list here: https://transition.fcc.gov/oet/info/maps/census/fips/fips.txt )
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
this flag lets you turn on/off counties as needed
|
inline |
sets the counties for this state
| c | list o counties of this state |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |