CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
edm::ModuleLabelMatch Class Reference

#include <ModuleLabelMatch.h>

Public Member Functions

 ModuleLabelMatch (std::string const &moduleLabel)
 
bool operator() (edm::BranchDescription const &branchDescription)
 

Private Attributes

std::string moduleLabel_
 

Detailed Description

This is intended to be used with the class GetterOfProducts. See comments in the file GetterOfProducts.h for a description.

Author
W. David Dagenhart, created 6 August, 2012

Definition at line 19 of file ModuleLabelMatch.h.

Constructor & Destructor Documentation

◆ ModuleLabelMatch()

edm::ModuleLabelMatch::ModuleLabelMatch ( std::string const &  moduleLabel)
inline

Member Function Documentation

◆ operator()()

bool edm::ModuleLabelMatch::operator() ( edm::BranchDescription const &  branchDescription)
inline

Definition at line 23 of file ModuleLabelMatch.h.

References edm::BranchDescription::moduleLabel(), and moduleLabel_.

23  {
24  return branchDescription.moduleLabel() == moduleLabel_;
25  }

Member Data Documentation

◆ moduleLabel_

std::string edm::ModuleLabelMatch::moduleLabel_
private