|
Stride Reference Manual
1.0
|
Produces a file with daily cases count. More...
#include <PersonFile.h>

Public Member Functions | |
| PersonFile (const std::string &file="stride_person") | |
| Constructor: initialize. More... | |
| ~PersonFile () | |
| Destructor: close the file stream. More... | |
| void | print (const std::shared_ptr< const Population > population) |
| Print the given cases with corresponding tag. More... | |
Private Member Functions | |
| void | initialize (const std::string &file) |
| Generate file name and open the file stream. More... | |
Private Attributes | |
| std::ofstream | m_fstream |
| The file stream. More... | |
Produces a file with daily cases count.
Definition at line 35 of file PersonFile.h.
| stride::output::PersonFile::PersonFile | ( | const std::string & | file = "stride_person" | ) |
Constructor: initialize.
Definition at line 29 of file PersonFile.cpp.
| stride::output::PersonFile::~PersonFile | ( | ) |
Destructor: close the file stream.
Definition at line 33 of file PersonFile.cpp.
| void stride::output::PersonFile::print | ( | const std::shared_ptr< const Population > | population | ) |
Print the given cases with corresponding tag.
Definition at line 45 of file PersonFile.cpp.
|
private |
Generate file name and open the file stream.
Definition at line 37 of file PersonFile.cpp.
|
private |
The file stream.
Definition at line 51 of file PersonFile.h.