#include <SchemaCustomAttributeModel.hpp>
◆ CustomAttributeModel()
dbse::CustomAttributeModel::CustomAttributeModel |
( |
dunedaq::oks::OksClass * | ClassInfo, |
|
|
QStringList | Headers, |
|
|
bool | Derived = false ) |
Definition at line 5 of file SchemaCustomAttributeModel.cpp.
11{
13}
dunedaq::oks::OksClass * SchemaClass
CustomModelInterface(QStringList Headers, QObject *parent=nullptr)
Including Schema Editor.
◆ ~CustomAttributeModel()
dbse::CustomAttributeModel::~CustomAttributeModel |
( |
| ) |
|
|
default |
◆ setupModel()
void dbse::CustomAttributeModel::setupModel |
( |
| ) |
|
|
virtual |
Implements dbse::CustomModelInterface.
Definition at line 15 of file SchemaCustomAttributeModel.cpp.
16{
18 const std::list<OksAttribute *> * AttributeList;
19
21 {
23 }
24 else
25 {
27 }
28
29 if ( AttributeList )
30 {
32 {
33 QStringList Row;
34 Row.append ( QString::fromStdString ( Attribute->get_name() ) );
35 Row.append ( QString::fromStdString ( Attribute->get_type() ) );
37 }
38 }
39}
QList< QStringList > Data
const std::list< OksAttribute * > * all_attributes() const noexcept
const std::list< OksAttribute * > * direct_attributes() const noexcept
◆ SchemaClass
◆ SchemaDerived
bool dbse::CustomAttributeModel::SchemaDerived |
|
private |
The documentation for this class was generated from the following files: