CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 21 of file ModuleLabelMatch.h.

21 : moduleLabel_(moduleLabel) {}

Member Function Documentation

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

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