Windows C++ Library
|
The interface for providers that store application settings. More...
#include <IConfigProvider.hpp>
Public Member Functions | |
virtual | ~IConfigProvider () |
Destructor. | |
virtual tstring | readString (const tstring §ionName, const tstring &keyName, const tstring &defaultValue) const =0 |
Read a string value. | |
virtual void | writeString (const tstring §ionName, const tstring &keyName, const tstring &value)=0 |
Write a string value. | |
virtual void | deleteSection (const tstring §ionName)=0 |
Delete the entire section. |
The interface for providers that store application settings.
virtual WCL::IConfigProvider::~IConfigProvider | ( | ) | [inline, virtual] |
Destructor.
virtual tstring WCL::IConfigProvider::readString | ( | const tstring & | sectionName, |
const tstring & | keyName, | ||
const tstring & | defaultValue | ||
) | const [pure virtual] |
Read a string value.
Implemented in WCL::IniFileCfgProvider, and WCL::RegistryCfgProvider.
virtual void WCL::IConfigProvider::writeString | ( | const tstring & | sectionName, |
const tstring & | keyName, | ||
const tstring & | value | ||
) | [pure virtual] |
Write a string value.
Implemented in WCL::IniFileCfgProvider, and WCL::RegistryCfgProvider.
virtual void WCL::IConfigProvider::deleteSection | ( | const tstring & | sectionName | ) | [pure virtual] |
Delete the entire section.
Implemented in WCL::IniFileCfgProvider, and WCL::RegistryCfgProvider.