Classes | Public Member Functions | Private Attributes | 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:
Inheritance graph
[legend]

Classes

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

Public Member Functions

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

Private Attributes

ConfigurationType m_configurationType
 
Level m_level
 
std::string m_value
 

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:

Definition at line 1666 of file easylogging++.h.

Constructor & Destructor Documentation

el::Configuration::Configuration ( const Configuration c)

Definition at line 243 of file easylogging++.cc.

virtual el::Configuration::~Configuration ( void  )
inlinevirtual

Definition at line 1671 of file easylogging++.h.

el::Configuration::Configuration ( Level  level,
ConfigurationType  configurationType,
const std::string value 
)

Full constructor used to sets value of configuration.

Definition at line 259 of file easylogging++.cc.

Member Function Documentation

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

Gets configuration type of current configuration.

Definition at line 1683 of file easylogging++.h.

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

Gets level of current configuration.

Definition at line 1678 of file easylogging++.h.

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

Implements el::Loggable.

Definition at line 265 of file easylogging++.cc.

Configuration & el::Configuration::operator= ( const Configuration c)

Definition at line 249 of file easylogging++.cc.

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

Definition at line 1695 of file easylogging++.h.

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

Gets string based configuration value.

Definition at line 1688 of file easylogging++.h.

Member Data Documentation

ConfigurationType el::Configuration::m_configurationType
private

Definition at line 1715 of file easylogging++.h.

Level el::Configuration::m_level
private

Definition at line 1714 of file easylogging++.h.

std::string el::Configuration::m_value
private

Definition at line 1716 of file easylogging++.h.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:36