Write parser for inventory to sensor mapping yaml.

Write python-based parser for inventory-sensor.yaml.
The parser generates inventory-sensor-gen.cpp, which is contains a map
containing the inventory object path as key and the sensor related info
as the value.

Change-Id: Ib0e0f61f075b0ba777417a8032074c9b66b2eef7
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
diff --git a/types.hpp b/types.hpp
index 555dce3..4ad3306 100644
--- a/types.hpp
+++ b/types.hpp
@@ -51,5 +51,17 @@
 using Object = sdbusplus::message::object_path;
 using ObjectMap = std::map<Object, InterfaceMap>;
 
+struct SelData
+{
+   Id sensorID;
+   Type sensorType;
+   ReadingType eventReadingType;
+   Offset eventOffset;
+};
+
+using InventoryPath = std::string;
+
+using InvObjectIDMap = std::map<InventoryPath, SelData>;
+
 }//namespce sensor
 }//namespace ipmi