CMS 3D CMS Logo

Public Member Functions | Public Attributes

reco::parser::CutSetter Struct Reference

#include <CutSetter.h>

List of all members.

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.

                                                             :
        cut_(cut), selStack_(selStack) { }

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_.

                                                      {
        assert(0 == cut_.get());
        assert(!selStack_.empty());
        cut_ = selStack_.back();
        selStack_.pop_back();
      }

Member Data Documentation

Definition at line 28 of file CutSetter.h.

Referenced by operator()().

Definition at line 29 of file CutSetter.h.

Referenced by operator()().