artdaq_mfextensions  v1_05_00
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 
5 #include "ErrorHandler/MessageAnalyzer/ma_cond_test_primary.h"
6 
7 #include <list>
8 
9 
10 namespace novadaq {
11 namespace errorhandler {
12 
13 
15 {
16 public:
17 
18  ma_cond_test_andexpr( ) : primaries() { }
19 
20  bool evaluate( ma_condition const * cond ) const;
21 
22  void insert( ma_cond_test_primary const & primary )
23  { primaries.push_back(primary); }
24 
25 private:
26 
27  test_primaries_t primaries;
28 
29 };
30 
31 typedef std::list<ma_cond_test_andexpr> test_andexprs_t;
32 
33 
34 } // end of namespace errorhandler
35 } // end of namespace novadaq
36 
37 
38 
39 #endif
40 
41 
42 
43 
44