RDFS
The Rice Comp413 2017 class' continuation on the work of the 2016 RDFS.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends 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

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)
 
 Configuration (Level level, ConfigurationType configurationType, const std::string &value)
 Full constructor used to sets value of configuration.
 
Level level (void) const
 Gets level of current configuration.
 
ConfigurationType configurationType (void) const
 Gets configuration type of current configuration.
 
const std::string & value (void) const
 Gets string based configuration value.
 
void setValue (const std::string &value)
 Set string based configuration value. More...
 
virtual void log (el::base::type::ostream_t &os) const
 

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:

Member Function Documentation

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

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