CMS 3D CMS Logo

Public Member Functions | Private Attributes

reco::parser::OrCombiner Struct Reference

#include <OrCombiner.h>

Inheritance diagram for reco::parser::OrCombiner:
reco::parser::SelectorBase

List of all members.

Public Member Functions

virtual bool operator() (const Reflex::Object &o) const
 return true if the Refle object is selected
 OrCombiner (SelectorPtr lhs, SelectorPtr rhs)

Private Attributes

SelectorPtr lhs_
SelectorPtr rhs_

Detailed Description

Definition at line 18 of file OrCombiner.h.


Constructor & Destructor Documentation

reco::parser::OrCombiner::OrCombiner ( SelectorPtr  lhs,
SelectorPtr  rhs 
) [inline]

Definition at line 19 of file OrCombiner.h.

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

Member Function Documentation

virtual bool reco::parser::OrCombiner::operator() ( const Reflex::Object &  c) const [inline, virtual]

return true if the Refle object is selected

Implements reco::parser::SelectorBase.

Definition at line 21 of file OrCombiner.h.

References lhs_, python::connectstrParser::o, and rhs_.

                                                             {
        return (*lhs_)( o ) || (*rhs_)( o );
      }

Member Data Documentation

Definition at line 25 of file OrCombiner.h.

Referenced by operator()().

Definition at line 25 of file OrCombiner.h.

Referenced by operator()().