blob: a846c2f09cc5391904e7e8e583e38c64987a2a1a [file] [log] [blame]
Deepak Kodihalli38f69742017-02-28 02:18:09 -06001## Note that this file is not auto generated, it is what generates the
2## elog-metadata-postprocess.cpp file
3// This file was autogenerated. Do not edit!
4// See elog-gen.py for more details
5
6#include <string>
7#include <vector>
8#include <functional>
9#include <phosphor-logging/elog-errors.hpp>
10#include "elog_meta.hpp"
11
12using namespace phosphor::logging;
13using namespace example::xyz::openbmc_project::Example::Elog;
14using namespace std::placeholders;
15
16extern const std::map<metadata::Metadata,
17 std::function<metadata::associations::Type>> meta = {
Patrick Williams50d5d262017-05-01 22:39:35 -050018 % for key, value in metadata_process.items():
Deepak Kodihalli38f69742017-02-28 02:18:09 -060019<%
20 type = value.replace(".", "::")
21%>\
22 {"${key}", metadata::associations::build<${type}>},
23 % endfor
24};