1 // Copyright (C) 2019 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_CONFIGURATION_CONFIGURATION_ELEMENT_HPP_
7 #define VSOMEIP_V3_CONFIGURATION_CONFIGURATION_ELEMENT_HPP_
8 
9 #include <string>
10 
11 #include <boost/property_tree/ptree.hpp>
12 
13 namespace vsomeip_v3 {
14 
15 struct configuration_element {
16     std::string name_;
17     boost::property_tree::ptree tree_;
18 
operator <vsomeip_v3::configuration_element19     bool operator<(const configuration_element &_other) const {
20         return (name_ < _other.name_);
21     }
22 };
23 
24 } // namespace vsomeip_v3
25 
26 #endif // VSOMEIP_V3_CONFIGURATION_CONFIGURATION_ELEMENT_HPP_
27