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::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

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

Definition at line 20 of file UnaryCutSetter.h.

20  :
21  selStack_(selStack) { }

Member Function Documentation

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

Definition at line 22 of file UnaryCutSetter.h.

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

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

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

Definition at line 25 of file UnaryCutSetter.h.

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

Definition at line 29 of file UnaryCutSetter.h.

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