expose mandatory / optional / output files in io_config; config files to use new io_config constructor

This commit is contained in:
Pepijn Schoen
2017-06-05 08:34:44 +02:00
committed by Daniel J. H
parent 5a6dee80ac
commit e208485c17
8 changed files with 158 additions and 96 deletions
-23
View File
@@ -23,28 +23,5 @@ bool CheckFileList(const std::vector<boost::filesystem::path> &files)
return success;
}
}
bool StorageConfig::IsValid() const
{
// Common files
if (!CheckFileList({ram_index_path,
file_index_path,
node_based_nodes_data_path,
edge_based_nodes_data_path,
edges_data_path,
geometries_path,
timestamp_path,
turn_weight_penalties_path,
turn_duration_penalties_path,
names_data_path,
properties_path,
intersection_class_path,
datasource_names_path}))
{
return false;
}
return true;
}
}
}