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 char *) const
 
void operator() (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 char *   
) const
inline

Definition at line 21 of file UnaryCutSetter.h.

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

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

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

◆ operator()() [2/2]

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

Definition at line 24 of file UnaryCutSetter.h.

References c, and reco::parser::UnaryCutSetter< 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::UnaryCutSetter< Op >::selStack_

Definition at line 28 of file UnaryCutSetter.h.

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