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
reco::parser::AndCombiner Struct Reference

#include <AndCombiner.h>

Inheritance diagram for reco::parser::AndCombiner:
reco::parser::SelectorBase

Public Member Functions

 AndCombiner (SelectorPtr lhs, SelectorPtr rhs)
 
bool operator() (const edm::ObjectWithDict &o) const override
 return true if the object is selected More...
 
- Public Member Functions inherited from reco::parser::SelectorBase
virtual ~SelectorBase ()
 destructor More...
 

Private Attributes

SelectorPtr lhs_
 
SelectorPtr rhs_
 

Detailed Description

Definition at line 18 of file AndCombiner.h.

Constructor & Destructor Documentation

reco::parser::AndCombiner::AndCombiner ( SelectorPtr  lhs,
SelectorPtr  rhs 
)
inline

Definition at line 19 of file AndCombiner.h.

19 : lhs_(lhs), rhs_(rhs) {}

Member Function Documentation

bool reco::parser::AndCombiner::operator() ( const edm::ObjectWithDict c) const
inlineoverridevirtual

return true if the object is selected

Implements reco::parser::SelectorBase.

Definition at line 20 of file AndCombiner.h.

References lhs_, class-composition::o, and rhs_.

20 { return (*lhs_)(o) && (*rhs_)(o); }

Member Data Documentation

SelectorPtr reco::parser::AndCombiner::lhs_
private

Definition at line 23 of file AndCombiner.h.

Referenced by operator()().

SelectorPtr reco::parser::AndCombiner::rhs_
private

Definition at line 23 of file AndCombiner.h.

Referenced by operator()().