DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
Schema.hpp
Go to the documentation of this file.
1/*
2 * Schema.hpp
3 * This file contains untilities to conver an Issue in it corresponding schema object
4 *
5 */
6
7#ifndef ERS_SCHEMA_HPP
8#define ERS_SCHEMA_HPP
9
10#include <ers/issue.pb.h>
11#include <ers/Issue.hpp>
12
13namespace ers {
14 dunedaq::ersschema::Context to_schema( const Context & c );
17
18 void to_schema ( const Context & c, dunedaq::ersschema::Context & out);
19 void to_schema ( const Issue & i, dunedaq::ersschema::SimpleIssue & out);
20 void to_schema ( const Issue & i, dunedaq::ersschema::IssueChain & out);
21
22} // ers namespace
23
24#endif //ERS_SCHEMA_HPP
dunedaq::ersschema::IssueChain to_schema_chain(const Issue &i)
Definition Schema.cpp:20
dunedaq::ersschema::Context to_schema(const Context &c)
Definition Schema.cpp:5