CMS 3D CMS Logo

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

◆ BinaryCutSetter()

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

Definition at line 20 of file BinaryCutSetter.h.

20 : selStack_(selStack) {}

Member Function Documentation

◆ operator()() [1/2]

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

Definition at line 21 of file BinaryCutSetter.h.

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

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

21  {
22  selStack_.push_back(SelectorPtr(new LogicalBinaryOperator<Op>(selStack_)));
23  }
std::shared_ptr< SelectorBase > SelectorPtr
Definition: SelectorPtr.h:18

◆ operator()() [2/2]

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

Definition at line 24 of file BinaryCutSetter.h.

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

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

Member Data Documentation

◆ selStack_

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

Definition at line 28 of file BinaryCutSetter.h.

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