expose mandatory / optional / output files in io_config; config files to use new io_config constructor
This commit is contained in:
committed by
Daniel J. H
parent
5a6dee80ac
commit
e208485c17
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user