Windows C++ Library
Public Member Functions
WCL::IConfigProvider Class Reference

The interface for providers that store application settings. More...

#include <IConfigProvider.hpp>

Inheritance diagram for WCL::IConfigProvider:
WCL::IniFileCfgProvider WCL::RegistryCfgProvider

List of all members.

Public Member Functions

virtual ~IConfigProvider ()
 Destructor.
virtual tstring readString (const tstring &sectionName, const tstring &keyName, const tstring &defaultValue) const =0
 Read a string value.
virtual void writeString (const tstring &sectionName, const tstring &keyName, const tstring &value)=0
 Write a string value.
virtual void deleteSection (const tstring &sectionName)=0
 Delete the entire section.

Detailed Description

The interface for providers that store application settings.


Constructor & Destructor Documentation

virtual WCL::IConfigProvider::~IConfigProvider ( ) [inline, virtual]

Destructor.


Member Function Documentation

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.


The documentation for this class was generated from the following file: