Load the provided configuration file.
More...
#include "plugins/config/Config.h"
Load the provided configuration file.
This class is the "low level class" that implements IConfig.h
- Note
- Copy contructor, copy-assignment operator, move constructor and move-assignment operator are defined to be compliant with the "Rule of five"
- See also
- https://en.cppreference.com/w/cpp/language/rule_of_three
- Author
- Boubacar DIENE bouba.nosp@m.car..nosp@m.diene.nosp@m.@gma.nosp@m.il.co.nosp@m.m
- Date
- April 2020
◆ Config() [1/3]
Class constructor
- Parameters
-
| reader | Reader object to allow reading from files |
◆ ~Config()
| service::plugins::config::Config::~Config |
( |
| ) |
|
|
override |
Class destructor
- Note
- The override specifier aims at making the compiler warn if the base class's destructor is not virtual.
◆ Config() [2/3]
| service::plugins::config::Config::Config |
( |
const Config & |
| ) |
|
|
delete |
◆ Config() [3/3]
| service::plugins::config::Config::Config |
( |
Config && |
| ) |
|
|
delete |
◆ load()
| std::unique_ptr<ConfigData> service::plugins::config::Config::load |
( |
const std::string & |
configFile | ) |
const |
|
overridevirtual |
◆ operator=() [1/2]
| Config& service::plugins::config::Config::operator= |
( |
const Config & |
| ) |
|
|
delete |
Class copy-assignment operator
◆ operator=() [2/2]
| Config& service::plugins::config::Config::operator= |
( |
Config && |
| ) |
|
|
delete |
Class move-assignment operator
◆ m_internal
| std::unique_ptr<Internal> service::plugins::config::Config::m_internal |
|
private |
The documentation for this class was generated from the following file: