aboutsummaryrefslogtreecommitdiffstats
path: root/CAN-config-generator/src/openxc/mapping.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'CAN-config-generator/src/openxc/mapping.hpp')
-rwxr-xr-xCAN-config-generator/src/openxc/mapping.hpp29
1 files changed, 0 insertions, 29 deletions
diff --git a/CAN-config-generator/src/openxc/mapping.hpp b/CAN-config-generator/src/openxc/mapping.hpp
deleted file mode 100755
index 30895cba..00000000
--- a/CAN-config-generator/src/openxc/mapping.hpp
+++ /dev/null
@@ -1,29 +0,0 @@
-#pragma once
-
-#include <string>
-#include <json.hpp>
-
-namespace openxc
-{
- class mapping
- {
- private:
- std::string mapping_name_;
- std::string bus_;
- std::string database_;
- bool bit_numbering_inverted_;
- bool enabled_;
- public:
- std::string mapping_name() const;
- std::string bus() const;
- std::string database() const;
- bool bit_numbering_inverted() const;
- bool enabled() const;
-
- void from_json(const nlohmann::json& j);
- nlohmann::json to_json() const;
- };
-
- void to_json(nlohmann::json& j, const mapping& p);
- void from_json(const nlohmann::json& j, mapping& p);
-}