#ifndef SYSTEMCONFIGURATION_H_ #define SYSTEMCONFIGURATION_H_ #include #include #include "Variable.h" class SystemConfiguration { public: SystemConfiguration(); void readFrom(const std::string& Filename); void writeTo(const std::string& Filename); std::string valueAsString(const std::string& Key) const; std::vector valueAsStringList(const std::string& Key) const; void configureComment(const std::string& Com); void configureKey(bool Active, const std::string& Key, const std::string& Value); void configureKey(const std::string& Key, const std::vector& Value); void configureLn(); const VariablePtr& cache() const; VariablePtr& cache(); private: VariablePtr Global; std::string ConfigurationResult; }; #endif