15#include <boost/regex.hpp> 
   39          m_regs.reserve( c.size() );
 
   40          std::transform( std::begin( c ), std::end( c ), std::back_inserter( 
m_regs ),
 
   41                          []( 
typename C::const_reference i ) { 
return boost::regex{ i }; } );
 
 
   44        bool Or( 
const std::string& test )
 const {
 
   45          return std::any_of( std::begin( 
m_regs ), std::end( 
m_regs ),
 
   46                              [&]( 
const boost::regex& r ) { 
return boost::regex_match( test, r ); } );
 
 
   48        bool And( 
const std::string& test )
 const {
 
   49          return std::all_of( std::begin( 
m_regs ), std::end( 
m_regs ),
 
   50                              [&]( 
const boost::regex& r ) { 
return boost::regex_match( test, r ); } );
 
 
 
   63      bool matchOr( 
const std::string& test, 
const T& regexps ) {
 
   66        return std::any_of( std::begin( regexps ), std::end( regexps ), [&]( 
typename T::const_reference i ) {
 
   67          return boost::regex_match( test, boost::regex{ i } );
 
 
   80      bool matchAnd( 
const std::string& test, 
const T& regexps ) {
 
   83        return std::all_of( std::begin( regexps ), std::end( regexps ), [&]( 
typename T::const_reference i ) {
 
   84          return boost::regex_match( test, boost::regex{ i } );
 
 
 
bool Or(const std::string &test) const
 
bool And(const std::string &test) const
 
std::vector< boost::regex > m_regs
 
RegeEx: nemspace to hold gaudi regular expression checking.
 
bool matchOr(const std::string &test, const T ®exps)
return true if the string is in any of the regex's
 
bool matchAnd(const std::string &test, const T ®exps)
return true if the string is in all of the regex's
 
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...