summaryrefslogtreecommitdiffstats
path: root/types.hpp
blob: 81caad69bfc341be2724addb998fce6022c7ddbe (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 <string>
#include <map>
#include <sdbusplus/server.hpp>

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