LCOV - code coverage report
Current view: top level - dbe/apps/SchemaEditor - SchemaCustomMethodImplementationModel.cpp (source / functions) Coverage Total Hit
Test: code.result Lines: 0.0 % 18 0
Test Date: 2025-12-21 13:07:08 Functions: 0.0 % 3 0

            Line data    Source code
       1              : #include "dbe/SchemaCustomMethodImplementationModel.hpp"
       2              : 
       3              : using namespace dunedaq::oks;
       4              : 
       5            0 : dbse::CustomMethodImplementationModel::CustomMethodImplementationModel ( OksMethod * Method,
       6            0 :                                                                          QStringList Headers )
       7              :   : CustomModelInterface ( Headers ),
       8            0 :     SchemaMethod ( Method )
       9              : {
      10            0 :   setupModel();
      11            0 : }
      12              : 
      13            0 : void dbse::CustomMethodImplementationModel::setupModel()
      14              : {
      15            0 :   Data.clear();
      16            0 :   const std::list<OksMethodImplementation *> * ImplementationList =
      17            0 :     SchemaMethod->implementations();
      18              : 
      19            0 :   if ( ImplementationList )
      20              :   {
      21            0 :     for ( OksMethodImplementation * Implementation : *ImplementationList )
      22              :     {
      23            0 :       QStringList Row;
      24            0 :       Row.append ( QString::fromStdString ( Implementation->get_language() ) );
      25            0 :       Row.append ( QString::fromStdString ( Implementation->get_prototype() ) );
      26            0 :       Data.append ( Row );
      27            0 :     }
      28              :   }
      29            0 : }
      30              : 
      31            0 : dbse::CustomMethodImplementationModel::~CustomMethodImplementationModel() = default;
        

Generated by: LCOV version 2.0-1