37 explicit InfectedFile(
const std::string& output_dir =
"output");
43 void Print(
const std::vector<unsigned int>& infectionCounts);
InfectedFile(const std::string &output_dir="output")
Constructor: initialize.
~InfectedFile()
Destructor: close the file stream.
std::ofstream m_fstream
The file stream.
Produces a file with daily count of infected persons.
Namespace for the simulator and related classes.
void Print(const std::vector< unsigned int > &infectionCounts)
Print the given cases with corresponding tag.