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::CutSetter Struct Reference

#include <CutSetter.h>

Public Member Functions

 CutSetter (SelectorPtr &cut, SelectorStack &selStack)
 
void operator() (const char *, const char *) const
 

Public Attributes

SelectorPtrcut_
 
SelectorStackselStack_
 

Detailed Description

Definition at line 18 of file CutSetter.h.

Constructor & Destructor Documentation

reco::parser::CutSetter::CutSetter ( SelectorPtr cut,
SelectorStack selStack 
)
inline

Definition at line 19 of file CutSetter.h.

19  :
20  cut_(cut), selStack_(selStack) { }
SelectorStack & selStack_
Definition: CutSetter.h:29
SelectorPtr & cut_
Definition: CutSetter.h:28

Member Function Documentation

void reco::parser::CutSetter::operator() ( const char *  ,
const char *   
) const
inline

Definition at line 22 of file CutSetter.h.

References cut_, and selStack_.

22  {
23  assert(0 == cut_.get());
24  assert(!selStack_.empty());
25  cut_ = selStack_.back();
26  selStack_.pop_back();
27  }
SelectorStack & selStack_
Definition: CutSetter.h:29
SelectorPtr & cut_
Definition: CutSetter.h:28

Member Data Documentation

SelectorPtr& reco::parser::CutSetter::cut_

Definition at line 28 of file CutSetter.h.

Referenced by operator()().

SelectorStack& reco::parser::CutSetter::selStack_

Definition at line 29 of file CutSetter.h.

Referenced by operator()().