A class to enable loading of configuration store from a raw text file.
virtual void Global(void)
Load or save the global values.
virtual void Default(void)
Load or save the default values.
virtual bool ParseLine(const std::string &line, std::string &type, std::string &name, std::string &value)
Parse (potentially multi-) line configs into type, name, and values.
virtual ~RawTextConfigLoad()
destructor
std::ifstream * m_is
Config store input stream.
std::string Strip(std::string value)
Strip out attribute value.
virtual void SetFilename(std::string filename)
Set the file name.
virtual void Attributes(void)
Load or save the attributes values.
A class to enable saving of configuration store in a raw text file.
std::ofstream * m_os
Config store output stream.
virtual void Attributes(void)
Load or save the attributes values.
virtual ~RawTextConfigSave()
destructor
virtual void SetFilename(std::string filename)
Set the file name.
virtual void Default(void)
Load or save the default values.
virtual void Global(void)
Load or save the global values.