artdaq_mfextensions  v1_05_00
ma_domain_andexpr.cpp
1 
2 #include "ErrorHandler/MessageAnalyzer/ma_domain_andexpr.h"
3 
4 using namespace novadaq::errorhandler;
5 
6 ma_domain_andexpr::ma_domain_andexpr( )
7 //: conditions (conds)
8 {
9 
10 }
11 
12 void ma_domain_andexpr::evaluate( ma_domains & domains ) const
13 {
14 
15  ma_domains mydomains;
16 
17  domain_conds_t::const_iterator it = conds.begin();
18 
19  for( ; it!=conds.end(); ++it)
20  {
21  it->evaluate(mydomains);
22  if( mydomains.empty() ) return;
23  }
24 
25  // cat the domain list
26  {
27  domains.splice(domains.end(), mydomains);
28  }
29 }
30 
31