CMS 3D CMS Logo

Public Member Functions | Private Attributes

edm::ModuleLabelMatch Class Reference

#include <ModuleLabelMatch.h>

List of all members.

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.

: 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_.

                                                                     {
         return branchDescription.moduleLabel() == moduleLabel_;
      }

Member Data Documentation

std::string edm::ModuleLabelMatch::moduleLabel_ [private]

Definition at line 29 of file ModuleLabelMatch.h.

Referenced by operator()().