1 #ifndef CANCER_INCIDENCE_H
3 #define CANCER_INCIDENCE_H
36 double age_adjusted_rate;
37 double age_adjusted_rate_ci[2];
39 double crude_rate_ci[2];
54 loc[0] = loc[1] = 0.0;
55 age_adjusted_rate_ci[0] = age_adjusted_rate_ci[1] = 0.0;
56 crude_rate_ci[0] = crude_rate_ci[1] = 0.0;
66 return age_adjusted_rate;
75 age_adjusted_rate = aar;
86 return age_adjusted_rate_ci[0];
96 age_adjusted_rate_ci[0] = ci_l;
106 return age_adjusted_rate_ci[1];
115 age_adjusted_rate_ci[1] = ci_u;
142 return crude_rate_ci[0];
151 crude_rate_ci[0] = cr_l;
161 return crude_rate_ci[1];
171 crude_rate_ci[1] = cr_u;
266 return affected_area;
275 affected_area = area;
A class representing the attributes for cancer incidence.
Definition: CancerIncidence.h:32
string getGender() const
Get the gender of the group.
Definition: CancerIncidence.h:196
void setAffectedArea(const string &area)
Set cancer incidenc area.
Definition: CancerIncidence.h:274
int getYear() const
Get the year of this cancer record.
Definition: CancerIncidence.h:179
double getCrudeRate_CI_Upper() const
Definition: CancerIncidence.h:160
CancerIncidence()
Definition: CancerIncidence.h:53
int getCount() const
Get the number of people affected in this group.
Definition: CancerIncidence.h:283
void setAgeAdjustedRate(double aar)
Definition: CancerIncidence.h:74
void setPopulation(int pop)
Set population size.
Definition: CancerIncidence.h:256
double getCrudeRate_CI_Lower() const
Definition: CancerIncidence.h:141
void setAgeAdjustedCI_Upper(double ci_u)
Definition: CancerIncidence.h:114
int getPopulation() const
Get the population size.
Definition: CancerIncidence.h:247
void setYear(int y)
Definition: CancerIncidence.h:188
string getEventType() const
Get the event type (incidence, mortality, etc)
Definition: CancerIncidence.h:230
double getLocationX() const
Definition: CancerIncidence.h:300
void setCrudeRate_CI_Upper(double cr_u)
Set crude rate CI (upper)
Definition: CancerIncidence.h:170
double getAgeAdjustedCI_Upper() const
Definition: CancerIncidence.h:105
void setEventType(const string &et)
Set event type.
Definition: CancerIncidence.h:238
string getRace() const
Get the race of the group.
Definition: CancerIncidence.h:213
double getAgeAdjustedCI_Lower() const
Definition: CancerIncidence.h:85
void setGender(const string &g)
Set gender of the record.
Definition: CancerIncidence.h:204
void setLocationY(double locY)
Set location (Y coord)
Definition: CancerIncidence.h:326
string getAffectedArea() const
Get the cancer incidence area (state, region, etc)
Definition: CancerIncidence.h:265
double getAgeAdjustedRate() const
Definition: CancerIncidence.h:65
void setRace(const string &r)
Set race.
Definition: CancerIncidence.h:221
void setCount(int c)
Set cancer incidence count.
Definition: CancerIncidence.h:291
void setAgeAdjustedCI_Lower(double ci_l)
Definition: CancerIncidence.h:95
void setCrudeRate(double cr)
Definition: CancerIncidence.h:131
double getCrudeRate() const
Definition: CancerIncidence.h:123
void setLocationX(double locX)
Set location (X coord)
Definition: CancerIncidence.h:308
void setCrudeRate_CI_Lower(double cr_l)
Definition: CancerIncidence.h:150
double getLocationY() const
Get the Y coordinate of location.
Definition: CancerIncidence.h:317
Support for drawing Bar charts.
Definition: alltypes.h:4