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 42 of file EventHypothesis.h.

Constructor & Destructor Documentation

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

Definition at line 44 of file EventHypothesis.h.

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

Member Function Documentation

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

Definition at line 45 of file EventHypothesis.h.

References role_.

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

Member Data Documentation

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

Definition at line 47 of file EventHypothesis.h.

Referenced by operator()().