summaryrefslogtreecommitdiffstats
path: root/ahl-binding/config_entry.hpp
diff options
context:
space:
mode:
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);
-
};