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
reco::parser::LogicalBinaryOperator< Op > Struct Template Reference

#include <LogicalBinaryOperator.h>

Inheritance diagram for reco::parser::LogicalBinaryOperator< Op >:
reco::parser::SelectorBase

Public Member Functions

 LogicalBinaryOperator (SelectorStack &selStack)
 
virtual bool operator() (const Reflex::Object &o) const
 return true if the Refle object is selected More...
 
template<>
bool operator() (const Reflex::Object &o) const
 return true if the Refle object is selected More...
 
template<>
bool operator() (const Reflex::Object &o) const
 return true if the Refle object is selected More...
 
- Public Member Functions inherited from reco::parser::SelectorBase
virtual ~SelectorBase ()
 destructor More...
 

Private Attributes

SelectorPtr lhs_
 
Op op_
 
SelectorPtr rhs_
 

Detailed Description

template<typename Op>
struct reco::parser::LogicalBinaryOperator< Op >

Definition at line 19 of file LogicalBinaryOperator.h.

Constructor & Destructor Documentation

template<typename Op >
reco::parser::LogicalBinaryOperator< Op >::LogicalBinaryOperator ( SelectorStack selStack)
inline

Definition at line 20 of file LogicalBinaryOperator.h.

References reco::parser::LogicalBinaryOperator< Op >::lhs_, and reco::parser::LogicalBinaryOperator< Op >::rhs_.

20  {
21  rhs_ = selStack.back(); selStack.pop_back();
22  lhs_ = selStack.back(); selStack.pop_back();
23  }

Member Function Documentation

template<typename Op >
virtual bool reco::parser::LogicalBinaryOperator< Op >::operator() ( const Reflex::Object &  c) const
virtual

return true if the Refle object is selected

Implements reco::parser::SelectorBase.

template<>
bool reco::parser::LogicalBinaryOperator< std::logical_and< bool > >::operator() ( const Reflex::Object &  c) const
virtual

return true if the Refle object is selected

Implements reco::parser::SelectorBase.

template<>
bool reco::parser::LogicalBinaryOperator< std::logical_or< bool > >::operator() ( const Reflex::Object &  c) const
virtual

return true if the Refle object is selected

Implements reco::parser::SelectorBase.

Member Data Documentation

template<typename Op >
SelectorPtr reco::parser::LogicalBinaryOperator< Op >::lhs_
private
template<typename Op >
Op reco::parser::LogicalBinaryOperator< Op >::op_
private

Definition at line 26 of file LogicalBinaryOperator.h.

template<typename Op >
SelectorPtr reco::parser::LogicalBinaryOperator< Op >::rhs_
private