19 return !use_filter || !std::regex_match( i->name(), reject_filter );
28 bool use_filter = ( &reject_filter != &ToolVisitor::s_noFilter ) &&
32 reverseAppend( tools, stack, reject_filter, use_filter );
36 while ( !stack.
empty() ) {
37 auto* a_tool = stack.
back();
40 if ( visited.
insert( a_tool ).second ) {
41 visitor.visit( a_tool );
43 if (
auto* tool_impl =
dynamic_cast<AlgTool*
>( a_tool ); tool_impl ) {
44 reverseAppend( tool_impl->tools(), stack, reject_filter, use_filter );