diff options
Diffstat (limited to 'src/test/src-gen/core/v1/commonapi/tests/managed/BranchInterface.hpp')
-rw-r--r-- | src/test/src-gen/core/v1/commonapi/tests/managed/BranchInterface.hpp | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/src/test/src-gen/core/v1/commonapi/tests/managed/BranchInterface.hpp b/src/test/src-gen/core/v1/commonapi/tests/managed/BranchInterface.hpp index 4b95f46..3381172 100644 --- a/src/test/src-gen/core/v1/commonapi/tests/managed/BranchInterface.hpp +++ b/src/test/src-gen/core/v1/commonapi/tests/managed/BranchInterface.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_BRANCH_INTERFACE_HPP_ -#define COMMONAPI_TESTS_MANAGED_BRANCH_INTERFACE_HPP_ +#ifndef V1_COMMONAPI_TESTS_MANAGED_BRANCH_INTERFACE_HPP_ +#define V1_COMMONAPI_TESTS_MANAGED_BRANCH_INTERFACE_HPP_ @@ -41,17 +41,15 @@ public: NOTOK = 1 }; - testBranchMethodError() + testBranchMethodError() : CommonAPI::Enumeration<int32_t>(static_cast<int32_t>(Literal::OK)) {} - testBranchMethodError(const Literal &_value) - : CommonAPI::Enumeration<int32_t>(static_cast<int32_t>(_value)) {} - testBranchMethodError(const int32_t &_value) - : CommonAPI::Enumeration<int32_t>(_value) {} + testBranchMethodError(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_BRANCH_INTERFACE_HPP_ +#endif // V1_COMMONAPI_TESTS_MANAGED_BRANCH_INTERFACE_HPP_ |