Add header to house commonly used types
Change-Id: I51f0decd8c71c4442556ce4d5fcfc10bd82efa48
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
diff --git a/types.hpp b/types.hpp
new file mode 100644
index 0000000..81caad6
--- /dev/null
+++ b/types.hpp
@@ -0,0 +1,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