#ifndef BASECONFIGURATOR_H_ #define BASECONFIGURATOR_H_ #include #include class BaseConfigurator{ protected: std::map params; public: std::mapgetParams(){return params;} void setParams(std::map params){this->params = params;} std::string toString(){ std::string ret = ""; for( const std::pair n : params) { ret += n.first + " : " + n.second + "\n"; } return ret; } virtual ~BaseConfigurator() = default; }; #endif /* BASECONFIGURATOR_H_ */