From 32e25cbca210a359b09768537b6f443fe90a3070 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Tue, 20 Jun 2017 10:24:05 +0000 Subject: Separation Generator to a dedicated repo Change-Id: Id94831651c3266861435272a6e36c7884bef2c45 Signed-off-by: Romain Forlot --- CAN-config-generator/src/openxc/mapping.hpp | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100755 CAN-config-generator/src/openxc/mapping.hpp (limited to 'CAN-config-generator/src/openxc/mapping.hpp') 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 -#include - -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); -} -- cgit 1.2.3-korg