CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
reco::parser::BinaryCutSetter< Op > Struct Template Reference

#include <BinaryCutSetter.h>

Public Member Functions

 BinaryCutSetter (SelectorStack &selStack)
 
void operator() (const char *, const char *) const
 
void operator() (const char &) const
 

Public Attributes

SelectorStackselStack_
 

Detailed Description

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

Definition at line 19 of file BinaryCutSetter.h.

Constructor & Destructor Documentation

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

Definition at line 20 of file BinaryCutSetter.h.

20  :
21  selStack_(selStack) { }

Member Function Documentation

template<typename Op>
void reco::parser::BinaryCutSetter< Op >::operator() ( const char *  ,
const char *   
) const
inline

Definition at line 22 of file BinaryCutSetter.h.

References reco::parser::BinaryCutSetter< Op >::selStack_.

Referenced by reco::parser::BinaryCutSetter< Op >::operator()().

22  {
23  selStack_.push_back(SelectorPtr(new LogicalBinaryOperator<Op>(selStack_)));
24  }
boost::shared_ptr< SelectorBase > SelectorPtr
Definition: SelectorPtr.h:17
template<typename Op>
void reco::parser::BinaryCutSetter< Op >::operator() ( const char &  ) const
inline

Definition at line 25 of file BinaryCutSetter.h.

References trackerHits::c, and reco::parser::BinaryCutSetter< Op >::operator()().

25  {
26  const char * c;
27  operator()(c, c);
28  }
void operator()(const char *, const char *) const

Member Data Documentation

template<typename Op>
SelectorStack& reco::parser::BinaryCutSetter< Op >::selStack_

Definition at line 29 of file BinaryCutSetter.h.

Referenced by reco::parser::BinaryCutSetter< Op >::operator()().