CMS 3D CMS Logo

Public Member Functions | Private Attributes

edm::ProcessMatch Class Reference

#include <ProcessMatch.h>

List of all members.

Public Member Functions

bool operator() (edm::BranchDescription const &branchDescription)
 ProcessMatch (std::string const &processName)

Private Attributes

std::string processName_

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 ProcessMatch.h.


Constructor & Destructor Documentation

edm::ProcessMatch::ProcessMatch ( std::string const &  processName) [inline]

Definition at line 22 of file ProcessMatch.h.

: processName_(processName) { }

Member Function Documentation

bool edm::ProcessMatch::operator() ( edm::BranchDescription const &  branchDescription) [inline]

Definition at line 24 of file ProcessMatch.h.

References edm::BranchDescription::processName(), and processName_.

                                                                     {
         return branchDescription.processName() == processName_ || processName_ == "*";
      }

Member Data Documentation

std::string edm::ProcessMatch::processName_ [private]

Definition at line 29 of file ProcessMatch.h.

Referenced by operator()().