artdaq_mfextensions  v1_05_00
ma_cond_test_andexpr.cpp
1 
2 #include "ErrorHandler/MessageAnalyzer/ma_cond_test_andexpr.h"
3 
4 
5 using namespace novadaq::errorhandler;
6 
7 bool ma_cond_test_andexpr::evaluate( ma_condition const * cond ) const
8 {
9  test_primaries_t::const_iterator it = primaries.begin();
10 
11  for( ; it!=primaries.end(); ++it )
12  if( it->evaluate( cond ) == false ) return false;
13 
14  return true;
15 }