|
Health-GPS
1.2.2.0
Global Health Policy Simulation model (Health-GPS)
|
Defines a gender associated value data type. More...
#include <gender_value.h>
Public Member Functions | |
| GenderValue ()=default | |
| Initialises a new instance of the GenderValue structure. More... | |
| GenderValue (T males_value, T females_value) | |
| Initialises a new instance of the GenderValue structure. More... | |
| T | total () const noexcept |
| Gets the total value for males and females. More... | |
Public Attributes | |
| T | males |
| Males value. More... | |
| T | females |
| Females value. More... | |
Defines a gender associated value data type.
| T | The value type |
|
default |
Initialises a new instance of the GenderValue structure.
|
inline |
Initialises a new instance of the GenderValue structure.
| males_value | The males value |
| females_value | The female value |
|
inlinenoexcept |
Gets the total value for males and females.
| T hgps::GenderValue< T >::females |
Females value.
| T hgps::GenderValue< T >::males |
Males value.