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

Public Member Functions | |
| CasesFile (const std::string &file="stride_cases") | |
| Constructor: initialize. More... | |
| ~CasesFile () | |
| Destructor: close the file stream. More... | |
| void | print (const std::vector< unsigned int > &cases) |
| 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 32 of file CasesFile.h.
| stride::output::CasesFile::CasesFile | ( | const std::string & | file = "stride_cases" | ) |
Constructor: initialize.
Definition at line 30 of file CasesFile.cpp.
| stride::output::CasesFile::~CasesFile | ( | ) |
Destructor: close the file stream.
Definition at line 34 of file CasesFile.cpp.
| void stride::output::CasesFile::print | ( | const std::vector< unsigned int > & | cases | ) |
Print the given cases with corresponding tag.
Definition at line 42 of file CasesFile.cpp.
|
private |
Generate file name and open the file stream.
Definition at line 38 of file CasesFile.cpp.
|
private |
The file stream.
Definition at line 48 of file CasesFile.h.