summaryrefslogtreecommitdiffstats
path: root/ahl-binding/config_entry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ahl-binding/config_entry.cpp')
-rw-r--r--ahl-binding/config_entry.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/ahl-binding/config_entry.cpp b/ahl-binding/config_entry.cpp
index 65d7a40..8685d34 100644
--- a/ahl-binding/config_entry.cpp
+++ b/ahl-binding/config_entry.cpp
@@ -18,45 +18,45 @@
#include "config_entry.hpp"
config_entry_t::config_entry_t(std::string fp, std::string fn)
- : fullpath_{fp}
- , filename_{fn}
+ : fullpath_{fp}
+ , filename_{fn}
{
}
config_entry_t::config_entry_t(struct json_object* j)
{
- jcast(fullpath_, j, "fullpath");
- jcast(filename_, j, "filename");
+ jcast(fullpath_, j, "fullpath");
+ jcast(filename_, j, "filename");
}
config_entry_t& config_entry_t::operator<<(struct json_object* j)
{
- jcast(fullpath_, j, "fullpath");
- jcast(filename_, j, "filename");
- return *this;
+ jcast(fullpath_, j, "fullpath");
+ jcast(filename_, j, "filename");
+ return *this;
}
std::string config_entry_t::fullpath() const
{
- return fullpath_;
+ return fullpath_;
}
std::string config_entry_t::filename() const
{
- return filename_;
+ return filename_;
}
std::string config_entry_t::filepath() const
{
- return fullpath_ + '/' + filename_;
+ return fullpath_ + '/' + filename_;
}
void config_entry_t::fullpath(std::string fp)
{
- fullpath_ = fp;
+ fullpath_ = fp;
}
void config_entry_t::finename(std::string fn)
{
- filename_ = fn;
+ filename_ = fn;
}