|
Stride Reference Manual
- generated for commit 9643b11
|
Create a Reader that fills a GeoGrid with the commute info from CSV file. More...
#include <CommutesCSVReader.h>


Public Member Functions | |
| CommutesCSVReader (std::unique_ptr< std::istream > istream) | |
| Construct the CommutesCSVReader with an istream containing the CSV data. More... | |
| void | FillGeoGrid (GeoGrid &geoGrid) const override |
| Add the found Commutes to the provided GeoGrid. More... | |
Public Member Functions inherited from geopop::CommutesReader | |
| CommutesReader (std::unique_ptr< std::istream > inputStream) | |
| Construct the CommutesReader with an istream with the file content. More... | |
| virtual | ~CommutesReader ()=default |
| Default destructor needs to be virtual. More... | |
Additional Inherited Members | |
Protected Attributes inherited from geopop::CommutesReader | |
| std::unique_ptr< std::istream > | m_inputStream |
| The istream with the file content. More... | |
Create a Reader that fills a GeoGrid with the commute info from CSV file.
Definition at line 27 of file CommutesCSVReader.h.
|
explicit |
Construct the CommutesCSVReader with an istream containing the CSV data.
Definition at line 30 of file CommutesCSVReader.cpp.
|
overridevirtual |
Add the found Commutes to the provided GeoGrid.
Implements geopop::CommutesReader.
Definition at line 32 of file CommutesCSVReader.cpp.
References geopop::GeoGrid::GetById(), stride::util::CSV::GetColumnCount(), stride::util::CSV::GetLabels(), and geopop::CommutesReader::m_inputStream.
