/* * SpiceKernelConfig.hh * * Created on: Jul 8, 2016 * Author: AKKA IS */ #ifndef SPICEKERNELCONFIG_HH_ #define SPICEKERNELCONFIG_HH_ #include namespace AMDA { namespace SpiceKernel { class SpiceKernelConfig { public: SpiceKernelConfig() {}; void setRootPath(const char* rootPath) { _rootPath = rootPath; } void addDataFileForBodyId(int bodyId, const char* path) { _dataFilesForBodyIdMap[bodyId].push_back(path); } std::string getFullPath(const char* path) { std::string fullPath = _rootPath; fullPath += (path); return fullPath; } std::list& getDataFilesForBodyId(int bodyId) { return _dataFilesForBodyIdMap[bodyId]; } private: std::string _rootPath; std::map> _dataFilesForBodyIdMap; }; } /* SpiceKernel */ }/* AMDA */ #endif