CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
reco::parser::IntSetter Struct Reference

#include <IntSetter.h>

Public Member Functions

 IntSetter (IntStack &stack)
 
void operator() (int n) const
 

Private Attributes

IntStackstack_
 

Detailed Description

Definition at line 16 of file IntSetter.h.

Constructor & Destructor Documentation

reco::parser::IntSetter::IntSetter ( IntStack stack)
inline

Definition at line 17 of file IntSetter.h.

17 : stack_( stack ) { }
stack
Definition: svgfig.py:558

Member Function Documentation

void reco::parser::IntSetter::operator() ( int  n) const
inline

Definition at line 18 of file IntSetter.h.

References stack_.

18  {
19  stack_.push_back(n);
20  }

Member Data Documentation

IntStack& reco::parser::IntSetter::stack_
private

Definition at line 22 of file IntSetter.h.

Referenced by operator()().