DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
SchemaCustomMethodImplementationModel.cpp
Go to the documentation of this file.
1// DUNE DAQ modification notice:
2// This file has been modified from the original ATLAS dbe source for the DUNE DAQ project.
3// Fork baseline commit: dbe-02-12-17 (2022-05-12).
4// Renamed since fork: yes (from src/SchemaEditor/SchemaCustomMethodImplementationModel.cpp to
5// apps/SchemaEditor/SchemaCustomMethodImplementationModel.cpp).
6
8
9using namespace dunedaq::oks;
10
17
18void
20{
21 Data.clear();
22 const std::list<OksMethodImplementation*>* ImplementationList = SchemaMethod->implementations();
23
24 if (ImplementationList) {
25 for (OksMethodImplementation* Implementation : *ImplementationList) {
26 QStringList Row;
27 Row.append(QString::fromStdString(Implementation->get_language()));
28 Row.append(QString::fromStdString(Implementation->get_prototype()));
29 Data.append(Row);
30 }
31 }
32}
33
CustomMethodImplementationModel(dunedaq::oks::OksMethod *Method, QStringList Headers)
CustomModelInterface(QStringList Headers, QObject *parent=nullptr)
Including Schema Editor.
OKS method implementation class.
Definition method.hpp:39
OKS method class.
Definition method.hpp:147