Health-GPS  1.2.2.0
Global Health Policy Simulation model (Health-GPS)
hgps::Disease Struct Reference

Defines the disease history data type. More...

#include <person.h>

Public Member Functions

Disease clone () const noexcept
 Clone a disease history entry. More...
 

Public Attributes

DiseaseStatus status {}
 The disease current status. More...
 
int start_time {}
 Disease start time. More...
 
int time_since_onset {-1}
 Disease time since onset (cancer disease only) More...
 

Detailed Description

Defines the disease history data type.

Member Function Documentation

◆ clone()

Disease hgps::Disease::clone ( ) const
inlinenoexcept

Clone a disease history entry.

Returns
A new instance of the Disease class

Member Data Documentation

◆ start_time

int hgps::Disease::start_time {}

Disease start time.

◆ status

DiseaseStatus hgps::Disease::status {}

The disease current status.

◆ time_since_onset

int hgps::Disease::time_since_onset {-1}

Disease time since onset (cancer disease only)


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