artdaq_mfextensions  v1_06_02
ma_cond_test_andexpr.h
1 #ifndef ERROR_HANDLER_MA_COND_TEST_ANDEXPR_H
2 #define ERROR_HANDLER_MA_COND_TEST_ANDEXPR_H
3 
4 #include "ErrorHandler/MessageAnalyzer/ma_cond_test_primary.h"
5 
6 #include <list>
7 
8 namespace novadaq {
9 namespace errorhandler {
10 
12 {
13 public:
15  : primaries() {}
16 
17  bool evaluate(ma_condition const* cond) const;
18 
19  void insert(ma_cond_test_primary const& primary)
20  {
21  primaries.push_back(primary);
22  }
23 
24 private:
25  test_primaries_t primaries;
26 };
27 
28 typedef std::list<ma_cond_test_andexpr> test_andexprs_t;
29 
30 } // end of namespace errorhandler
31 } // end of namespace novadaq
32 
33 #endif