From 58804db8839d1be6f719f80f5a6f39be2b47cc5d Mon Sep 17 00:00:00 2001
From: Simon Oehrl <oehrl@vr.rwth-aachen.de>
Date: Thu, 23 May 2019 15:48:15 +0200
Subject: [PATCH] Fix cpplint issues

#39
---
 nesci/include/nesci/data_type.hpp             |  6 ++---
 nesci/include/nesci/device_layout.hpp         |  6 ++---
 .../include/nesci/nest_multimeter_layout.hpp  |  6 ++---
 nesci/include/nesci/spike_detector_layout.hpp |  6 ++---
 nesci/src/nesci.cpp                           | 22 +++++++++++++++++++
 5 files changed, 34 insertions(+), 12 deletions(-)

diff --git a/nesci/include/nesci/data_type.hpp b/nesci/include/nesci/data_type.hpp
index 14aacb8..60b925f 100644
--- a/nesci/include/nesci/data_type.hpp
+++ b/nesci/include/nesci/data_type.hpp
@@ -19,8 +19,8 @@
 // limitations under the License.
 //------------------------------------------------------------------------------
 
-#ifndef LAYOUT_INCLUDE_NESCI_DATA_TYPE_HPP_
-#define LAYOUT_INCLUDE_NESCI_DATA_TYPE_HPP_
+#ifndef NESCI_INCLUDE_NESCI_DATA_TYPE_HPP_
+#define NESCI_INCLUDE_NESCI_DATA_TYPE_HPP_
 
 #include <cstdint>
 
@@ -34,4 +34,4 @@ enum class DataType : uint64_t {
 
 }  // namespace nesci
 
-#endif  // LAYOUT_INCLUDE_NESCI_DATA_TYPE_HPP_
+#endif  // NESCI_INCLUDE_NESCI_DATA_TYPE_HPP_
diff --git a/nesci/include/nesci/device_layout.hpp b/nesci/include/nesci/device_layout.hpp
index 056bd2c..470c76b 100644
--- a/nesci/include/nesci/device_layout.hpp
+++ b/nesci/include/nesci/device_layout.hpp
@@ -19,8 +19,8 @@
 // limitations under the License.
 //------------------------------------------------------------------------------
 
-#ifndef LAYOUT_INCLUDE_NESCI_LAYOUT_DEVICE_HPP_
-#define LAYOUT_INCLUDE_NESCI_LAYOUT_DEVICE_HPP_
+#ifndef NESCI_INCLUDE_NESCI_DEVICE_LAYOUT_HPP_
+#define NESCI_INCLUDE_NESCI_DEVICE_LAYOUT_HPP_
 
 #include <string>
 
@@ -35,4 +35,4 @@ inline std::string GetNamePath() { return "info/deviceName"; }
 }  // namespace layout
 }  // namespace nesci
 
-#endif  // LAYOUT_INCLUDE_NESCI_LAYOUT_DEVICE_HPP_
+#endif  // NESCI_INCLUDE_NESCI_DEVICE_LAYOUT_HPP_
diff --git a/nesci/include/nesci/nest_multimeter_layout.hpp b/nesci/include/nesci/nest_multimeter_layout.hpp
index 4fa5553..b5f91fb 100644
--- a/nesci/include/nesci/nest_multimeter_layout.hpp
+++ b/nesci/include/nesci/nest_multimeter_layout.hpp
@@ -19,8 +19,8 @@
 // limitations under the License.
 //------------------------------------------------------------------------------
 
-#ifndef LAYOUT_INCLUDE_NESCI_LAYOUT_NEST_MULTIMETER_HPP_
-#define LAYOUT_INCLUDE_NESCI_LAYOUT_NEST_MULTIMETER_HPP_
+#ifndef NESCI_INCLUDE_NESCI_NEST_MULTIMETER_LAYOUT_HPP_
+#define NESCI_INCLUDE_NESCI_NEST_MULTIMETER_LAYOUT_HPP_
 
 #include <string>
 
@@ -42,4 +42,4 @@ inline std::string GetPathForParameter(const std::string& parameter) {
 }  // namespace layout
 }  // namespace nesci
 
-#endif  // LAYOUT_INCLUDE_NESCI_LAYOUT_NEST_MULTIMETER_HPP_
+#endif  // NESCI_INCLUDE_NESCI_NEST_MULTIMETER_LAYOUT_HPP_
diff --git a/nesci/include/nesci/spike_detector_layout.hpp b/nesci/include/nesci/spike_detector_layout.hpp
index 5143962..ed37fd6 100644
--- a/nesci/include/nesci/spike_detector_layout.hpp
+++ b/nesci/include/nesci/spike_detector_layout.hpp
@@ -19,8 +19,8 @@
 // limitations under the License.
 //------------------------------------------------------------------------------
 
-#ifndef LAYOUT_INCLUDE_NESCI_LAYOUT_SPIKE_DETECTOR_HPP_
-#define LAYOUT_INCLUDE_NESCI_LAYOUT_SPIKE_DETECTOR_HPP_
+#ifndef NESCI_INCLUDE_NESCI_SPIKE_DETECTOR_LAYOUT_HPP_
+#define NESCI_INCLUDE_NESCI_SPIKE_DETECTOR_LAYOUT_HPP_
 
 #include <string>
 
@@ -35,4 +35,4 @@ inline std::string GetTimesPath() { return "times"; }
 }  // namespace layout
 }  // namespace nesci
 
-#endif  // LAYOUT_INCLUDE_NESCI_LAYOUT_SPIKE_DETECTOR_HPP_
+#endif  // NESCI_INCLUDE_NESCI_SPIKE_DETECTOR_LAYOUT_HPP_
diff --git a/nesci/src/nesci.cpp b/nesci/src/nesci.cpp
index e69de29..2f284e8 100644
--- a/nesci/src/nesci.cpp
+++ b/nesci/src/nesci.cpp
@@ -0,0 +1,22 @@
+//------------------------------------------------------------------------------
+// nesci -- neuronal simulator conan interface
+//
+// Copyright (c) 2018 RWTH Aachen University, Germany,
+// Virtual Reality & Immersive Visualization Group.
+//------------------------------------------------------------------------------
+//                                  License
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+//     http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//------------------------------------------------------------------------------
+
+namespace nesci {}
\ No newline at end of file
-- 
GitLab