Health-GPS
1.2.2.0
Global Health Policy Simulation model (Health-GPS)
|
Define the population record data type for the demographic dataset. More...
#include <demographic.h>
Public Member Functions | |
PopulationRecord (int pop_age, float num_males, float num_females) | |
Initialise a new instance of the PopulationRecord structure. More... | |
float | total () const noexcept |
Gets the total number at age. More... | |
Public Attributes | |
int | age {} |
Age reference in years. More... | |
float | males {} |
Number of males. More... | |
float | females {} |
NUmber of females. More... | |
Define the population record data type for the demographic dataset.
|
inline |
Initialise a new instance of the PopulationRecord structure.
pop_age | Age reference |
num_males | Number of males |
num_females | Number of females |
|
inlinenoexcept |
Gets the total number at age.
int hgps::PopulationRecord::age {} |
Age reference in years.
float hgps::PopulationRecord::females {} |
NUmber of females.
float hgps::PopulationRecord::males {} |
Number of males.