ConfigInterface Class Reference

#include <conf_interface.h>

Inheritance diagram for ConfigInterface:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 ConfigInterface ()
virtual ~ConfigInterface ()
virtual void Load (std::string _file)=0
virtual void SetDefaultString (const std::string &name, const std::string &value)=0
virtual void SetDefaultInt (const std::string &name, const int &value)=0
virtual void SetDefaultBool (const std::string &name, const bool &value)=0
virtual bool Get (const std::string &name, std::string &value)=0
virtual bool Get (const std::string &name, int &value)=0
virtual bool Get (const std::string &name, bool &value)=0
virtual void SetString (std::string name, const std::string &value)=0
virtual void SetInt (std::string name, const int &value)=0
virtual void SetBool (std::string name, const bool &value)=0
virtual std::string GetAsString ()=0
virtual void Parse (std::string line)=0
virtual void ParseShellArgs (int argc, char **argv)=0
virtual bool IsLoaded ()=0


Detailed Description

Definition at line 5 of file conf_interface.h.


Constructor & Destructor Documentation

ConfigInterface::ConfigInterface (  )  [inline]

Definition at line 8 of file conf_interface.h.

virtual ConfigInterface::~ConfigInterface (  )  [inline, virtual]

Definition at line 9 of file conf_interface.h.


Member Function Documentation

virtual bool ConfigInterface::Get ( const std::string &  name,
bool &  value 
) [pure virtual]

Implemented in Config, and ConfigImpl.

virtual bool ConfigInterface::Get ( const std::string &  name,
int &  value 
) [pure virtual]

Implemented in Config, and ConfigImpl.

virtual bool ConfigInterface::Get ( const std::string &  name,
std::string &  value 
) [pure virtual]

Implemented in Config, and ConfigImpl.

virtual std::string ConfigInterface::GetAsString (  )  [pure virtual]

Implemented in Config, and ConfigImpl.

virtual bool ConfigInterface::IsLoaded (  )  [pure virtual]

Implemented in Config, and ConfigImpl.

virtual void ConfigInterface::Load ( std::string  _file  )  [pure virtual]

Implemented in Config, ConfigImpl, and Data.

virtual void ConfigInterface::Parse ( std::string  line  )  [pure virtual]

Implemented in Config, and ConfigImpl.

virtual void ConfigInterface::ParseShellArgs ( int  argc,
char **  argv 
) [pure virtual]

Implemented in Config, and ConfigImpl.

virtual void ConfigInterface::SetBool ( std::string  name,
const bool &  value 
) [pure virtual]

Implemented in Config, and ConfigImpl.

virtual void ConfigInterface::SetDefaultBool ( const std::string &  name,
const bool &  value 
) [pure virtual]

Implemented in Config, and ConfigImpl.

virtual void ConfigInterface::SetDefaultInt ( const std::string &  name,
const int &  value 
) [pure virtual]

Implemented in Config, and ConfigImpl.

virtual void ConfigInterface::SetDefaultString ( const std::string &  name,
const std::string &  value 
) [pure virtual]

Implemented in Config, and ConfigImpl.

virtual void ConfigInterface::SetInt ( std::string  name,
const int &  value 
) [pure virtual]

Implemented in Config, and ConfigImpl.

virtual void ConfigInterface::SetString ( std::string  name,
const std::string &  value 
) [pure virtual]

Implemented in Config, and ConfigImpl.


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

Generated on Sun Oct 10 19:10:04 2010 for libldsw by  doxygen 1.5.8