Stride Reference Manual
- generated for commit 9643b11
|
Create an abstract Reader that fills a GeoGrid with the commute info from file. More...
#include <CommutesReader.h>
Public Member Functions | |
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... | |
virtual void | FillGeoGrid (GeoGrid &) const =0 |
Add commutes onfo to the GeoGrid. More... | |
Protected Attributes | |
std::unique_ptr< std::istream > | m_inputStream |
The istream with the file content. More... | |
Create an abstract Reader that fills a GeoGrid with the commute info from file.
This can be implemented using different input types. Currently CSV is implemented.
Definition at line 31 of file CommutesReader.h.
|
inlineexplicit |
Construct the CommutesReader with an istream with the file content.
Definition at line 35 of file CommutesReader.h.
References FillGeoGrid(), and ~CommutesReader().
|
virtualdefault |
Default destructor needs to be virtual.
Referenced by CommutesReader().
|
pure virtual |
Add commutes onfo to the GeoGrid.
Implemented in geopop::CommutesCSVReader.
Referenced by CommutesReader().
|
protected |
The istream with the file content.
Definition at line 44 of file CommutesReader.h.
Referenced by geopop::CommutesCSVReader::FillGeoGrid().