ifw  0.0.1-dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Member Functions | List of all members
el::Configuration Class Reference

Represents single configuration that has representing level, configuration type and a string based value. More...

#include <easylogging++.h>

Inheritance diagram for el::Configuration:
el::Loggable el::Loggable el::Loggable

Classes

class  Predicate
 Used to find configuration from configuration (pointers) repository. Avoid using it. More...
 

Public Member Functions

 Configuration (const Configuration &c)
 
Configurationoperator= (const Configuration &c)
 
virtual ~Configuration (void)
 
 Configuration (Level level, ConfigurationType configurationType, const std::string &value)
 Full constructor used to sets value of configuration. More...
 
Level level (void) const
 Gets level of current configuration. More...
 
ConfigurationType configurationType (void) const
 Gets configuration type of current configuration. More...
 
const std::string & value (void) const
 Gets string based configuration value. More...
 
void setValue (const std::string &value)
 Set string based configuration value. More...
 
virtual void log (el::base::type::ostream_t &os) const
 
 Configuration (const Configuration &c)
 
Configurationoperator= (const Configuration &c)
 
virtual ~Configuration (void)
 
 Configuration (Level level, ConfigurationType configurationType, const std::string &value)
 Full constructor used to sets value of configuration. More...
 
Level level (void) const
 Gets level of current configuration. More...
 
ConfigurationType configurationType (void) const
 Gets configuration type of current configuration. More...
 
const std::string & value (void) const
 Gets string based configuration value. More...
 
void setValue (const std::string &value)
 Set string based configuration value. More...
 
virtual void log (el::base::type::ostream_t &os) const
 
 Configuration (const Configuration &c)
 
Configurationoperator= (const Configuration &c)
 
virtual ~Configuration (void)
 
 Configuration (Level level, ConfigurationType configurationType, const std::string &value)
 Full constructor used to sets value of configuration. More...
 
Level level (void) const
 Gets level of current configuration. More...
 
ConfigurationType configurationType (void) const
 Gets configuration type of current configuration. More...
 
const std::string & value (void) const
 Gets string based configuration value. More...
 
void setValue (const std::string &value)
 Set string based configuration value. More...
 
virtual void log (el::base::type::ostream_t &os) const
 
- Public Member Functions inherited from el::Loggable
virtual ~Loggable (void)
 
virtual ~Loggable (void)
 
virtual ~Loggable (void)
 

Detailed Description

Represents single configuration that has representing level, configuration type and a string based value.

String based value means any value either its boolean, integer or string itself, it will be embedded inside quotes and will be parsed later.

Consider some examples below:

Constructor & Destructor Documentation

el::Configuration::Configuration ( const Configuration c)
inline
virtual el::Configuration::~Configuration ( void  )
inlinevirtual
el::Configuration::Configuration ( Level  level,
ConfigurationType  configurationType,
const std::string &  value 
)
inline

Full constructor used to sets value of configuration.

el::Configuration::Configuration ( const Configuration c)
inline
virtual el::Configuration::~Configuration ( void  )
inlinevirtual
el::Configuration::Configuration ( Level  level,
ConfigurationType  configurationType,
const std::string &  value 
)
inline

Full constructor used to sets value of configuration.

el::Configuration::Configuration ( const Configuration c)
inline
virtual el::Configuration::~Configuration ( void  )
inlinevirtual
el::Configuration::Configuration ( Level  level,
ConfigurationType  configurationType,
const std::string &  value 
)
inline

Full constructor used to sets value of configuration.

Member Function Documentation

ConfigurationType el::Configuration::configurationType ( void  ) const
inline

Gets configuration type of current configuration.

ConfigurationType el::Configuration::configurationType ( void  ) const
inline

Gets configuration type of current configuration.

ConfigurationType el::Configuration::configurationType ( void  ) const
inline

Gets configuration type of current configuration.

Level el::Configuration::level ( void  ) const
inline

Gets level of current configuration.

Level el::Configuration::level ( void  ) const
inline

Gets level of current configuration.

Level el::Configuration::level ( void  ) const
inline

Gets level of current configuration.

virtual void el::Configuration::log ( el::base::type::ostream_t os) const
inlinevirtual

Implements el::Loggable.

virtual void el::Configuration::log ( el::base::type::ostream_t os) const
inlinevirtual

Implements el::Loggable.

virtual void el::Configuration::log ( el::base::type::ostream_t os) const
inlinevirtual

Implements el::Loggable.

Configuration& el::Configuration::operator= ( const Configuration c)
inline
Configuration& el::Configuration::operator= ( const Configuration c)
inline
Configuration& el::Configuration::operator= ( const Configuration c)
inline
void el::Configuration::setValue ( const std::string &  value)
inline

Set string based configuration value.

Parameters
valueValue to set. Values have to be std::string; For boolean values use "true", "false", for any integral values use them in quotes. They will be parsed when configuring
void el::Configuration::setValue ( const std::string &  value)
inline

Set string based configuration value.

Parameters
valueValue to set. Values have to be std::string; For boolean values use "true", "false", for any integral values use them in quotes. They will be parsed when configuring
void el::Configuration::setValue ( const std::string &  value)
inline

Set string based configuration value.

Parameters
valueValue to set. Values have to be std::string; For boolean values use "true", "false", for any integral values use them in quotes. They will be parsed when configuring
const std::string& el::Configuration::value ( void  ) const
inline

Gets string based configuration value.

const std::string& el::Configuration::value ( void  ) const
inline

Gets string based configuration value.

const std::string& el::Configuration::value ( void  ) const
inline

Gets string based configuration value.


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