42 #ifndef _DWMREGISTRY_HH_ 43 #define _DWMREGISTRY_HH_ 68 Registry(
const std::string & filename);
81 std::string
Get(
const std::string & key)
const;
87 const std::string &
Set(
const std::string & key,
88 const std::string & value);
91 std::string _filename;
92 std::map<std::string,std::string> _map;
98 #endif // _DWMREGISTRY_HH_ std::string Get(const std::string &key) const
Gets the value for key in the registry.
bool Save() const
Save the registry to its file. Returns true on success.
Registry(const std::string &filename)
Constructor.
Definition: DwmBZ2IO.hh:67
This class encapsulates a simple registry file, which contains lines of the form: key = "value" If va...
Definition: DwmRegistry.hh:62
const std::string & Set(const std::string &key, const std::string &value)
Sets the value for key in the registry.