#ifndef PROPERTIESPARSER_H_ #define PROPERTIESPARSER_H_ #include #include #include "Properties.h" namespace cppproperties { class PropertiesParser { public: PropertiesParser(); virtual ~PropertiesParser(); /** * Reads a properties file and returns a Properties object. */ static Properties Read(const std::string& file); /** * Writes Properties object to a file. */ static void Write(const std::string& file, const Properties& props); }; } /* namespace cppproperties */ #endif /* PROPERTIESPARSER_H_ */