1 // Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) 2 // This Source Code Form is subject to the terms of the Mozilla Public 3 // License, v. 2.0. If a copy of the MPL was not distributed with this 4 // file, You can obtain one at http://mozilla.org/MPL/2.0/. 5 6 #ifndef VSOMEIP_V3_SD_SERVICEENTRY_IMPL_HPP 7 #define VSOMEIP_V3_SD_SERVICEENTRY_IMPL_HPP 8 9 #include "entry_impl.hpp" 10 11 namespace vsomeip_v3 { 12 namespace sd { 13 14 class serviceentry_impl: public entry_impl { 15 public: 16 serviceentry_impl(); 17 virtual ~serviceentry_impl(); 18 19 minor_version_t get_minor_version() const; 20 void set_minor_version(minor_version_t _version); 21 22 bool serialize(vsomeip_v3::serializer *_to) const; 23 bool deserialize(vsomeip_v3::deserializer *_from); 24 25 private: 26 minor_version_t minor_version_; 27 }; 28 29 } // namespace sd 30 } // namespace vsomeip_v3 31 32 #endif // VSOMEIP_V3_SD_SERVICEENTRY_IMPL_HPP 33