artdaq_mfextensions
v1_03_03a
|
Suppress messages based on a regular expression More...
#include <mfextensions/Extensions/suppress.hh>
Public Member Functions | |
suppress (std::string const &name) | |
Construct a suppression using the given name for regex matching More... | |
bool | match (std::string const &name) |
Check if the name matches this suppression More... | |
void | use (bool flag) |
Set whether the suppression is active More... | |
Suppress messages based on a regular expression
Definition at line 13 of file suppress.hh.
|
explicit |
Construct a suppression using the given name for regex matching
name | Name to suppress |
Definition at line 3 of file suppress.cc.
bool suppress::match | ( | std::string const & | name | ) |
Check if the name matches this suppression
name | Name to check |
Definition at line 5 of file suppress.cc.
|
inline |
Set whether the suppression is active
flag | Whether the suppression should be active |
Definition at line 32 of file suppress.hh.