27 #include <boost/filesystem.hpp> 28 #include <boost/filesystem/path.hpp> 29 namespace filesys = boost::filesystem;
32 namespace filesys = std::filesystem;
65 static std::unique_ptr<std::istream>
OpenFile(
const filesys::path& path);
static std::shared_ptr< CommutesReader > CreateCommutesReader(const std::string &filename)
Create a CommutesReader based on the filename relative to the data directory.
static std::unique_ptr< std::istream > OpenFile(const filesys::path &path)
Create an istream based on the filesystem path.
static std::shared_ptr< LocationsReader > CreateLocationsReader(const std::string &filename)
Create a Reader based on the filename relative to the data directory.
A Factory for creating the correct implementation of the different Readers which parse the informatio...
Namespace for the geographic and demograhic classes.
static std::shared_ptr< HouseholdReader > CreateHouseholdReader(const std::string &filename)
Create a HouseholdReader based on the filename relative to the data directory.