Deepak Kodihalli | 7c183ae | 2017-02-20 01:13:04 -0600 | [diff] [blame] | 1 | #pragma once |
| 2 | |
| 3 | #include <string> |
| 4 | #include <map> |
| 5 | #include <sdbusplus/server.hpp> |
| 6 | |
| 7 | namespace ipmi |
| 8 | { |
| 9 | namespace vpd |
| 10 | { |
| 11 | |
| 12 | using Path = std::string; |
| 13 | |
| 14 | using Property = std::string; |
| 15 | using Value = sdbusplus::message::variant<bool, int64_t, std::string>; |
| 16 | using PropertyMap = std::map<Property, Value>; |
| 17 | |
| 18 | using Interface = std::string; |
| 19 | using InterfaceMap = std::map<Interface, PropertyMap>; |
| 20 | |
| 21 | using Object = sdbusplus::message::object_path; |
| 22 | using ObjectMap = std::map<Object, InterfaceMap>; |
| 23 | |
| 24 | } //namespace vpd |
| 25 | } //namespace ipmi |