serialization: Add cereal support for tuples
Add cereal/types/tuple.hpp to our pimgen generated serialization code so
we can serialize xyz.openbmc_project.Association.Definitions
Change-Id: I0fff8eb7c07cbc427aeb6dd65c557b773a9592c2
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/example/extra_interfaces.d/xyz/openbmc_project/Example/Iface2.interface.yaml b/example/extra_interfaces.d/xyz/openbmc_project/Example/Iface2.interface.yaml
index eecbd41..88034d7 100644
--- a/example/extra_interfaces.d/xyz/openbmc_project/Example/Iface2.interface.yaml
+++ b/example/extra_interfaces.d/xyz/openbmc_project/Example/Iface2.interface.yaml
@@ -13,6 +13,11 @@
type: int64
description: >
An example int64 property with an underscore in the name.
+ - name: ExampleProperty5
+ type: array[struct[string, string, string]]
+ description: >
+ An example array property.
+
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
diff --git a/gen_serialization.mako.hpp b/gen_serialization.mako.hpp
index 4245fd9..df49740 100644
--- a/gen_serialization.mako.hpp
+++ b/gen_serialization.mako.hpp
@@ -3,6 +3,7 @@
// This file was auto generated. Do not edit.
#include <cereal/types/string.hpp>
+#include <cereal/types/tuple.hpp>
#include <cereal/types/vector.hpp>
#include "config.h"
% for iface in interfaces: