Line data Source code
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 :
11 : class ma_cond_test_andexpr
12 : {
13 : public:
14 0 : ma_cond_test_andexpr()
15 0 : : primaries() {}
16 :
17 : bool evaluate(ma_condition const* cond) const;
18 :
19 0 : void insert(ma_cond_test_primary const& primary)
20 : {
21 0 : primaries.push_back(primary);
22 0 : }
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
|