summaryrefslogtreecommitdiffstats
path: root/types.hpp
blob: d4f656cd7fdd9eb28fd574d6f166788a165305aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#pragma once

#include <map>
#include <sdbusplus/message.hpp>
#include <string>

namespace ipmi
{
namespace vpd
{

using Path = std::string;

using Property = std::string;
using Value = sdbusplus::message::variant<bool, int64_t, std::string>;
using PropertyMap = std::map<Property, Value>;

using Interface = std::string;
using InterfaceMap = std::map<Interface, PropertyMap>;

using Object = sdbusplus::message::object_path;
using ObjectMap = std::map<Object, InterfaceMap>;

} // namespace vpd
} // namespace ipmi
OpenPOWER on IntegriCloud