summaryrefslogtreecommitdiffstats
path: root/src/templates
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2017-05-23 00:24:01 -0400
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2017-06-04 22:40:26 -0400
commit05b0c1eef9de3dcd56fd2eee65db9e228231d3f7 (patch)
treef33f83ac17ef423f24576820a573eded8d1504b9 /src/templates
parent186aa674239777bfba4d4fdf0b5974f40aaff081 (diff)
downloadphosphor-dbus-monitor-05b0c1eef9de3dcd56fd2eee65db9e228231d3f7.tar.gz
phosphor-dbus-monitor-05b0c1eef9de3dcd56fd2eee65db9e228231d3f7.zip
pdmgen: Add core parsing logic
Add logic to parse each yaml file in three stages. 1 - Invoke factory methods for config file directives, generating more factory methods. 2 - Invoke factory methods from 1 for the full set of renderable items. 3 - Run 'setup' on all renderable items to resolve item cross references. Change-Id: I428a9ae1c41cf65e1efc05f3ec7177375822d772 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'src/templates')
-rw-r--r--src/templates/generated.mako.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/templates/generated.mako.hpp b/src/templates/generated.mako.hpp
index a2e1adf..2a9c2d1 100644
--- a/src/templates/generated.mako.hpp
+++ b/src/templates/generated.mako.hpp
@@ -2,6 +2,11 @@
/* This is an auto generated file. Do not edit. */
#pragma once
+#include <array>
+#include <string>
+
+using namespace std::string_literals;
+
namespace phosphor
{
namespace dbus
OpenPOWER on IntegriCloud