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

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

Definition at line 22 of file ModuleLabelMatch.h.

22 : moduleLabel_(moduleLabel) { }

Member Function Documentation

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

Definition at line 24 of file ModuleLabelMatch.h.

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

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

Member Data Documentation

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