Helper class to handle "layer commands".
More...
#include "plugins/network/layer/Layer.h"
Helper class to handle "layer commands".
- 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
◆ Layer() [1/3]
Class constructor
- Parameters
-
| writer | Writer object to write into files |
◆ ~Layer()
| service::plugins::network::layer::Layer::~Layer |
( |
| ) |
|
◆ Layer() [2/3]
| service::plugins::network::layer::Layer::Layer |
( |
const Layer & |
| ) |
|
|
delete |
◆ Layer() [3/3]
| service::plugins::network::layer::Layer::Layer |
( |
Layer && |
| ) |
|
|
delete |
◆ applyCommand()
| void service::plugins::network::layer::Layer::applyCommand |
( |
const std::string & |
pathname, |
|
|
const std::string & |
value |
|
) |
| const |
Apply the requested "layer command".
- Parameters
-
| pathname | Absolute path to the file to update |
| value | New content to write to file |
◆ operator=() [1/2]
| Layer& service::plugins::network::layer::Layer::operator= |
( |
const Layer & |
| ) |
|
|
delete |
Class copy-assignment operator
◆ operator=() [2/2]
| Layer& service::plugins::network::layer::Layer::operator= |
( |
Layer && |
| ) |
|
|
delete |
Class move-assignment operator
◆ m_internal
| std::unique_ptr<Internal> service::plugins::network::layer::Layer::m_internal |
|
private |
The documentation for this class was generated from the following file:
- /workdir/src/plugins/network/layer/Layer.h