#pragma once #include #include namespace inaf::oasbo::Configurators { class BaseConfigurator{ protected: std::map config; public: virtual std::map readConfig() = 0; virtual void updateConfig(std::map) = 0; std::string toString(){ std::string ret = ""; for( const std::pair n : config) { ret += n.first + " : " + n.second + "\n"; } return ret; } virtual ~BaseConfigurator() = default; }; }