Public Member Functions | Private Member Functions | Private Attributes | List of all members
art::ModuleLabelSelector Class Reference

#include "/cvmfs/"

Inheritance diagram for art::ModuleLabelSelector:

Public Member Functions

 ModuleLabelSelector (const std::string &label)
virtual ModuleLabelSelectorclone () const override
bool match (BranchDescription const &p) const

Private Member Functions

virtual bool doMatch (BranchDescription const &p) const override

Private Attributes

std::string label_

Detailed Description

Class ModuleLabelSelector. Selects EDProducts based upon module label.

Definition at line 135 of file Selector.h.

Constructor & Destructor Documentation

art::ModuleLabelSelector::ModuleLabelSelector ( const std::string label)

Definition at line 137 of file Selector.h.

137 : label_(label) {}
const char * label

Member Function Documentation

virtual ModuleLabelSelector* art::ModuleLabelSelector::clone ( ) const

Implements art::SelectorBase.

Definition at line 140 of file Selector.h.

141  {
142  return new ModuleLabelSelector(*this);
143  }
ModuleLabelSelector(const std::string &label)
Definition: Selector.h:137
virtual bool art::ModuleLabelSelector::doMatch ( BranchDescription const &  p) const

Implements art::SelectorBase.

Definition at line 147 of file Selector.h.

References art::BranchDescription::moduleLabel().

148  {
149  return p.moduleLabel() == label_;
150  }
const char * p
Definition: xmltok.h:285
bool art::SelectorBase::match ( BranchDescription const &  p) const

Definition at line 23 of file SelectorBase.h.

References art::SelectorBase::clone(), and art::SelectorBase::doMatch().

24  {
25  return doMatch(p);
26  }
const char * p
Definition: xmltok.h:285
virtual bool doMatch(BranchDescription const &p) const =0

Member Data Documentation

std::string art::ModuleLabelSelector::label_

Definition at line 152 of file Selector.h.

The documentation for this class was generated from the following file: