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-18 12:50:04 +0100
commit256b802be755e6e4d0f8bd4540c798c847b622db (patch)
treee1c3edcea4a1a6cbce6ad10d2a0c506677847d35 /ahl-binding/config_entry.hpp
parent22c3fc2ae2ba2125bc3af55ab8e6de4bc4102ac6 (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);
-
};