Sequence Chart Studio  svn HEAD revision
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
ConfigReader Class Reference

#include <configurator.h>

Inheritance diagram for ConfigReader:
Inheritance graph
Collaboration diagram for ConfigReader:
Collaboration graph

Public Member Functions

 ConfigReader ()
 
 ConfigReader (ConfigProvider *config_provider)
 
virtual ~ConfigReader ()
 
void set_config_provider (ConfigProvider *config_provider)
 
ConfigProviderget_config_provider () const
 
long get_config_long (const std::wstring &section, const std::wstring &parameter, long def=0) const
 
float get_config_float (const std::wstring &section, const std::wstring &parameter, float def=0.0f) const
 
std::wstring get_config_string (const std::wstring &section, const std::wstring &parameter, std::wstring def=L"") const
 

Private Attributes

ConfigProviderm_config_provider
 

Detailed Description

Definition at line 32 of file configurator.h.

Constructor & Destructor Documentation

ConfigReader::ConfigReader ( )
inline

Definition at line 35 of file configurator.h.

ConfigReader::ConfigReader ( ConfigProvider config_provider)
inline

Definition at line 36 of file configurator.h.

virtual ConfigReader::~ConfigReader ( )
inlinevirtual

Definition at line 37 of file configurator.h.

Member Function Documentation

float ConfigReader::get_config_float ( const std::wstring &  section,
const std::wstring &  parameter,
float  def = 0.0f 
) const
inline
long ConfigReader::get_config_long ( const std::wstring &  section,
const std::wstring &  parameter,
long  def = 0 
) const
inline
ConfigProvider* ConfigReader::get_config_provider ( ) const
inline
std::wstring ConfigReader::get_config_string ( const std::wstring &  section,
const std::wstring &  parameter,
std::wstring  def = L"" 
) const
inline

Definition at line 50 of file configurator.h.

References ConfigProvider::get_config_string(), and m_config_provider.

Referenced by PcapSettings::load_registry().

void ConfigReader::set_config_provider ( ConfigProvider config_provider)
inline

Definition at line 39 of file configurator.h.

References m_config_provider.

Member Data Documentation

ConfigProvider* ConfigReader::m_config_provider
private

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

SourceForge.net Logo
Generated on Fri Jan 15 2016 16:26:57 for Sequence Chart Studio by  doxygen