Bridges-C++ 3.5.0-dev1
Bridges(C++ API)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
bridges::dataset::Country Class Reference

#include <Country.h>

Public Member Functions

 Country ()=default
 constructors
 
 Country (string cntry)
 creates a country object for a specific country
 
 Country (string cntry, string alpha2, string alpha3, int numeric, datastructure::Color fill_col, datastructure::Color stroke_col, float stroke_w)
 creates a country object with specific parameters
 
string getCountryName () const
 getters, setters for class
 
void setCountryName (string n)
 
string getAlpha2Id () const
 
void setAlpha2Id (string id)
 
string getAlpha3Id () const
 
void setAlpha3Id (string id)
 
int getNumeric3Id () const
 
void setNumeric3Id (int id)
 
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)
 

Constructor & Destructor Documentation

◆ Country() [1/3]

bridges::dataset::Country::Country ( )
default

constructors

◆ Country() [2/3]

bridges::dataset::Country::Country ( string  cntry)
inline

creates a country object for a specific country

Parameters
cntrycountry name

◆ Country() [3/3]

bridges::dataset::Country::Country ( string  cntry,
string  alpha2,
string  alpha3,
int  numeric,
datastructure::Color  fill_col,
datastructure::Color  stroke_col,
float  stroke_w 
)
inline

creates a country object with specific parameters

Parameters
cntrycountry name
alpha22 letter alpabet code for country
alpha33 letter alpabet code for country
numericnumeric id
fill_colfill color
stroke_colboundary color
stroke_wstroke width

Member Function Documentation

◆ getAlpha2Id()

string bridges::dataset::Country::getAlpha2Id ( ) const
inline

◆ getAlpha3Id()

string bridges::dataset::Country::getAlpha3Id ( ) const
inline

◆ getCountryName()

string bridges::dataset::Country::getCountryName ( ) const
inline

getters, setters for class

◆ getFillColor()

datastructure::Color bridges::dataset::Country::getFillColor ( ) const
inline

◆ getNumeric3Id()

int bridges::dataset::Country::getNumeric3Id ( ) const
inline

◆ getStrokeColor()

datastructure::Color bridges::dataset::Country::getStrokeColor ( ) const
inline

◆ getStrokeWidth()

float bridges::dataset::Country::getStrokeWidth ( ) const
inline

◆ setAlpha2Id()

void bridges::dataset::Country::setAlpha2Id ( string  id)
inline

◆ setAlpha3Id()

void bridges::dataset::Country::setAlpha3Id ( string  id)
inline

◆ setCountryName()

void bridges::dataset::Country::setCountryName ( string  n)
inline

◆ setFillColor()

void bridges::dataset::Country::setFillColor ( datastructure::Color  c)
inline

◆ setNumeric3Id()

void bridges::dataset::Country::setNumeric3Id ( int  id)
inline

◆ setStrokeColor()

void bridges::dataset::Country::setStrokeColor ( datastructure::Color  c)
inline

◆ setStrokeWidth()

void bridges::dataset::Country::setStrokeWidth ( float  width)
inline

The documentation for this class was generated from the following file: