38 PersonFile(
const std::string& file =
"stride_person");
44 void print(
const std::shared_ptr<const Population> population);
void initialize(const std::string &file)
Generate file name and open the file stream.
Time Dependent Person DataType.
PersonFile(const std::string &file="stride_person")
Constructor: initialize.
std::ofstream m_fstream
The file stream.
Header file for the core Population class.
void print(const std::shared_ptr< const Population > population)
Print the given cases with corresponding tag.
Produces a file with daily cases count.
~PersonFile()
Destructor: close the file stream.