summaryrefslogtreecommitdiff
path: root/src/test/src-gen/core/v1/commonapi/tests/managed/LeafInterface.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/src-gen/core/v1/commonapi/tests/managed/LeafInterface.hpp')
-rw-r--r--src/test/src-gen/core/v1/commonapi/tests/managed/LeafInterface.hpp20
1 files changed, 9 insertions, 11 deletions
diff --git a/src/test/src-gen/core/v1/commonapi/tests/managed/LeafInterface.hpp b/src/test/src-gen/core/v1/commonapi/tests/managed/LeafInterface.hpp
index a8332b4..f27f3e7 100644
--- a/src/test/src-gen/core/v1/commonapi/tests/managed/LeafInterface.hpp
+++ b/src/test/src-gen/core/v1/commonapi/tests/managed/LeafInterface.hpp
@@ -1,14 +1,14 @@
/*
* This file was generated by the CommonAPI Generators.
-* Used org.genivi.commonapi.core 3.1.4.v201511201311.
+* Used org.genivi.commonapi.core 3.1.5.v201512091035.
* Used org.franca.core 0.9.1.201412191134.
*
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
* If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*/
-#ifndef COMMONAPI_TESTS_MANAGED_LEAF_INTERFACE_HPP_
-#define COMMONAPI_TESTS_MANAGED_LEAF_INTERFACE_HPP_
+#ifndef V1_COMMONAPI_TESTS_MANAGED_LEAF_INTERFACE_HPP_
+#define V1_COMMONAPI_TESTS_MANAGED_LEAF_INTERFACE_HPP_
@@ -41,17 +41,15 @@ public:
NOTOK = 1
};
- testLeafMethodError()
+ testLeafMethodError()
: CommonAPI::Enumeration<int32_t>(static_cast<int32_t>(Literal::OK)) {}
- testLeafMethodError(const Literal &_value)
- : CommonAPI::Enumeration<int32_t>(static_cast<int32_t>(_value)) {}
- testLeafMethodError(const int32_t &_value)
- : CommonAPI::Enumeration<int32_t>(_value) {}
+ testLeafMethodError(Literal _literal)
+ : CommonAPI::Enumeration<int32_t>(static_cast<int32_t>(_literal)) {}
inline bool validate() const {
switch (value_) {
- case static_cast<int32_t>(Literal::OK):
- case static_cast<int32_t>(Literal::NOTOK):
+ case static_cast<int32_t>(Literal::OK):
+ case static_cast<int32_t>(Literal::NOTOK):
return true;
default:
return false;
@@ -95,4 +93,4 @@ namespace CommonAPI {
// Compatibility
namespace v1_0 = v1;
-#endif // COMMONAPI_TESTS_MANAGED_LEAF_INTERFACE_HPP_
+#endif // V1_COMMONAPI_TESTS_MANAGED_LEAF_INTERFACE_HPP_