summaryrefslogtreecommitdiffstats
path: root/ahl-binding/config_entry.hpp
diff options
context:
space:
mode:
authorLoïc Collignon <loic.collignon@iot.bzh>2018-12-18 10:37:24 +0100
committerLoïc Collignon <loic.collignon@iot.bzh>2018-12-20 18:13:14 +0100
commitf30e1a348f35e5ba9ff2d00d8f71edf095926d17 (patch)
treec5c6b4f87c5fa1d50dae878127abb3070d60311b /ahl-binding/config_entry.hpp
parentcc1b67bfc67fb5c7a9e1b8c9ba287dd48d2ccf36 (diff)
Fix indentation and trailing whitespaces
Convert every indentation to tab instead of spaces and get rid of mixed tab/spaces indentations. Also remove few trailing whitespaces. Change-Id: Ic4a8f2adcacb99789a403aefe6a16daaffee5cd6 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'ahl-binding/config_entry.hpp')
-rw-r--r--ahl-binding/config_entry.hpp17
1 files changed, 8 insertions, 9 deletions
diff --git a/ahl-binding/config_entry.hpp b/ahl-binding/config_entry.hpp
index 492eed2..58b0b06 100644
--- a/ahl-binding/config_entry.hpp
+++ b/ahl-binding/config_entry.hpp
@@ -24,26 +24,25 @@ class config_entry_t
private:
std::string fullpath_;
std::string filename_;
-
+
public:
explicit config_entry_t() = default;
explicit config_entry_t(const config_entry_t&) = default;
- explicit config_entry_t(config_entry_t&&) = default;
-
+ explicit config_entry_t(config_entry_t&&) = default;
+
~config_entry_t() = default;
-
+
config_entry_t& operator=(const config_entry_t&) = default;
- config_entry_t& operator=(config_entry_t&&) = default;
-
+ config_entry_t& operator=(config_entry_t&&) = default;
+
explicit config_entry_t(std::string fp, std::string fn);
explicit config_entry_t(struct json_object* j);
config_entry_t& operator<<(struct json_object* j);
-
+
std::string fullpath() const;
std::string filename() const;
std::string filepath() const;
-
+
void fullpath(std::string fp);
void finename(std::string fn);
-
};