#include <Selector.h>
Public Member Functions | |
virtual ProcessNameSelector * | clone () const |
virtual bool | doMatch (ConstBranchDescription const &p) const |
std::string const & | name () const |
ProcessNameSelector (const std::string &pn) | |
Private Attributes | |
std::string | pn_ |
Class ProcessNameSelector. Selects EDProducts based upon process name.
As a special case, a ProcessNameSelector created with the string "*" matches *any* process (and so is rather like having no ProcessNameSelector at all).
Definition at line 72 of file Selector.h.
edm::ProcessNameSelector::ProcessNameSelector | ( | const std::string & | pn | ) | [inline] |
Definition at line 75 of file Selector.h.
Referenced by clone().
: pn_(pn.empty() ? std::string("*") : pn) { }
virtual ProcessNameSelector* edm::ProcessNameSelector::clone | ( | void | ) | const [inline, virtual] |
Implements edm::SelectorBase.
Definition at line 84 of file Selector.h.
References ProcessNameSelector().
{ return new ProcessNameSelector(*this); }
virtual bool edm::ProcessNameSelector::doMatch | ( | ConstBranchDescription const & | p | ) | const [inline, virtual] |
Implements edm::SelectorBase.
Definition at line 79 of file Selector.h.
References pn_, and edm::ConstBranchDescription::processName().
std::string const& edm::ProcessNameSelector::name | ( | ) | const [inline] |
std::string edm::ProcessNameSelector::pn_ [private] |
Definition at line 95 of file Selector.h.