Stride Reference Manual
- generated for commit 9643b11
|
Produces a file with daily count of infected persons. More...
#include <InfectedFile.h>
Public Member Functions | |
InfectedFile (const std::string &output_dir="output") | |
Constructor: initialize. More... | |
~InfectedFile () | |
Destructor: close the file stream. More... | |
void | Print (const std::vector< unsigned int > &infectionCounts) |
Print the given cases with corresponding tag. More... | |
Private Attributes | |
std::ofstream | m_fstream |
The file stream. More... | |
Produces a file with daily count of infected persons.
Definition at line 33 of file InfectedFile.h.
|
explicit |
Constructor: initialize.
Definition at line 30 of file InfectedFile.cpp.
References stride::util::FileSys::BuildPath(), and m_fstream.
stride::output::InfectedFile::~InfectedFile | ( | ) |
Destructor: close the file stream.
Definition at line 36 of file InfectedFile.cpp.
References m_fstream.
void stride::output::InfectedFile::Print | ( | const std::vector< unsigned int > & | infectionCounts | ) |
Print the given cases with corresponding tag.
Definition at line 38 of file InfectedFile.cpp.
References m_fstream.
|
private |
The file stream.
Definition at line 46 of file InfectedFile.h.
Referenced by InfectedFile(), Print(), and ~InfectedFile().