LCOV - code coverage report
Current view: top level - /opt/artdaq/srcs/artdaq-mfextensions/ErrorHandler/MessageAnalyzer - ma_domain_andexpr.h (source / functions) Coverage Total Hit
Test: artdaq.info.cleaned Lines: 0.0 % 3 0
Test Date: 2025-09-04 00:45:34 Functions: 0.0 % 1 0

            Line data    Source code
       1              : #ifndef ERROR_HANDLER_MA_DOMAIN_ANDEXPR_H
       2              : #define ERROR_HANDLER_MA_DOMAIN_ANDEXPR_H
       3              : 
       4              : // from novadaq
       5              : #include "ErrorHandler/MessageAnalyzer/ma_domain_cond.h"
       6              : #include "ErrorHandler/MessageAnalyzer/ma_types.h"
       7              : 
       8              : // from ups
       9              : 
      10              : // from system
      11              : #include <list>
      12              : 
      13              : namespace novadaq {
      14              : namespace errorhandler {
      15              : 
      16              : // A domain and-expression is a collection of elemental domain conditions
      17              : // connected with 'AND' operator
      18              : // e.g.: and-expression = domain_cond_1 AND domain_cond_2 AND ...
      19              : 
      20              : class ma_domain_andexpr
      21              : {
      22              : public:
      23              :         ma_domain_andexpr();
      24              : 
      25              :         void evaluate(ma_domains& domains) const;
      26              : 
      27            0 :         void insert_cond(ma_domain_cond const& cond)
      28              :         {
      29            0 :                 conds.push_back(cond);
      30            0 :         }
      31              : 
      32              : private:
      33              :         // all conditions in the parent rule
      34              :         // cond_vec_t const &  conditions;
      35              : 
      36              :         // list of domain conditions
      37              :         domain_conds_t conds;
      38              : };
      39              : 
      40              : typedef std::list<ma_domain_andexpr> domain_andexprs_t;
      41              : 
      42              : }  // end of namespace errorhandler
      43              : }  // end of namespace novadaq
      44              : 
      45              : #endif
        

Generated by: LCOV version 2.0-1