blob: 267413d278259d486e9585133af634e1cc56eb2a [file] [log] [blame]
## Note that this file is not auto generated, it is what generates the
## elog-metadata-postprocess.cpp file
// This file was autogenerated. Do not edit!
// See elog-gen.py for more details
#include <string>
#include <vector>
#include <functional>
#include <phosphor-logging/elog-errors.hpp>
#include "elog_meta.hpp"
using namespace phosphor::logging;
using namespace example::xyz::openbmc_project::Example::Elog;
using namespace std::placeholders;
extern const std::map<metadata::Metadata,
std::function<metadata::associations::Type>> meta = {
% for key, value in metadata_process.iteritems():
<%
type = value.replace(".", "::")
%>\
{"${key}", metadata::associations::build<${type}>},
% endfor
};