|
Stride Reference Manual
- generated for commit 9643b11
|
Creates a Reader that retrieves the different Household profiles from a given CSV file. More...
#include <HouseholdCSVReader.h>


Public Member Functions | |
| HouseholdCSVReader (std::unique_ptr< std::istream > inputStream) | |
| Construct the HouseholdCSVReader with an istream containing the CSV data. More... | |
| void | SetReferenceHouseholds (unsigned int &ref_person_count, std::vector< std::vector< unsigned int >> &ref_ages) override |
| Add the locations to the GeoGrid. More... | |
Public Member Functions inherited from geopop::HouseholdReader | |
| HouseholdReader ()=default | |
| Construct the HouseholdReader. More... | |
| virtual | ~HouseholdReader ()=default |
| Default destructor. More... | |
Private Attributes | |
| std::unique_ptr< std::istream > | m_input_stream |
| Input stream connected to input data file. More... | |
Creates a Reader that retrieves the different Household profiles from a given CSV file.
Definition at line 34 of file HouseholdCSVReader.h.
|
explicit |
Construct the HouseholdCSVReader with an istream containing the CSV data.
Definition at line 25 of file HouseholdCSVReader.cpp.
|
overridevirtual |
Add the locations to the GeoGrid.
Implements geopop::HouseholdReader.
Definition at line 30 of file HouseholdCSVReader.cpp.
References m_input_stream.
|
private |
Input stream connected to input data file.
Definition at line 46 of file HouseholdCSVReader.h.
Referenced by SetReferenceHouseholds().