CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
pat::EventHypothesis::ByRole Class Reference

#include <EventHypothesis.h>

Public Member Functions

 ByRole (const std::string &role)
 
bool operator() (const value_type &p) const
 

Private Attributes

const std::string & role_
 

Detailed Description

Definition at line 46 of file EventHypothesis.h.

Constructor & Destructor Documentation

pat::EventHypothesis::ByRole::ByRole ( const std::string &  role)
inline

Definition at line 48 of file EventHypothesis.h.

48 : role_(role) {}
const std::string & role_

Member Function Documentation

bool pat::EventHypothesis::ByRole::operator() ( const value_type p) const
inline

Definition at line 49 of file EventHypothesis.h.

References role_.

49 { return p.first == role_; }
const std::string & role_

Member Data Documentation

const std::string& pat::EventHypothesis::ByRole::role_
private

Definition at line 51 of file EventHypothesis.h.

Referenced by operator()().