CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
reco::parser::UnaryCutSetter< Op > Struct Template Reference

#include <UnaryCutSetter.h>

Public Member Functions

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

Public Attributes

SelectorStackselStack_
 

Detailed Description

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

Definition at line 19 of file UnaryCutSetter.h.

Constructor & Destructor Documentation

◆ UnaryCutSetter()

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

Definition at line 20 of file UnaryCutSetter.h.

20 : selStack_(selStack) {}

Member Function Documentation

◆ operator()() [1/2]

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

Definition at line 24 of file UnaryCutSetter.h.

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

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

◆ operator()() [2/2]

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

Definition at line 21 of file UnaryCutSetter.h.

21  {
22  selStack_.push_back(SelectorPtr(new LogicalUnaryOperator<Op>(selStack_)));
23  }

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

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

Member Data Documentation

◆ selStack_

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

Definition at line 28 of file UnaryCutSetter.h.

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

reco::parser::UnaryCutSetter::selStack_
SelectorStack & selStack_
Definition: UnaryCutSetter.h:28
reco::parser::UnaryCutSetter::operator()
void operator()(const char *, const char *) const
Definition: UnaryCutSetter.h:21
reco::parser::SelectorPtr
std::shared_ptr< SelectorBase > SelectorPtr
Definition: SelectorPtr.h:18
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:56