26 #include <boost/filesystem.hpp> 27 #include <boost/filesystem/path.hpp> 28 namespace filesys = boost::filesystem;
31 namespace filesys = std::filesystem;
38 filesys::path path(filename);
43 if (path.extension().string() ==
".proto") {
44 return std::make_shared<GeoGridProtoWriter>();
47 path.extension().string());
static std::shared_ptr< GeoGridWriter > CreateGeoGridWriter(const std::string &filename)
Create a GeoGridWriter based on the provided extension in the filename.
Basic exception class: needed to prevent clang-tidy warning "thrown exception type is not nothrow cop...
Namespace for the geographic and demograhic classes.