#ifndef STORAGE_CONFIG_HPP #define STORAGE_CONFIG_HPP #include namespace osrm { namespace storage { /** * Configures OSRM's file storage paths. * * \see OSRM, EngineConfig */ struct StorageConfig final { StorageConfig() = default; /** * Constructs a storage configuration setting paths based on a base path. * * \param base The base path (e.g. france.pbf.osrm) to derive auxiliary file suffixes from. */ StorageConfig(const boost::filesystem::path &base); bool IsValid() const; boost::filesystem::path ram_index_path; boost::filesystem::path file_index_path; boost::filesystem::path hsgr_data_path; boost::filesystem::path nodes_data_path; boost::filesystem::path edges_data_path; boost::filesystem::path core_data_path; boost::filesystem::path geometries_path; boost::filesystem::path timestamp_path; boost::filesystem::path datasource_names_path; boost::filesystem::path datasource_indexes_path; boost::filesystem::path names_data_path; boost::filesystem::path properties_path; }; } } #endif