CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
IntSetter.h
Go to the documentation of this file.
1 #ifndef CommonTools_Utils_IntSetter_h
2 #define CommonTools_Utils_IntSetter_h
3 /* \class reco::parser::IntSetter
4  *
5  * Integer setter
6  *
7  * \author Luca Lista, INFN
8  *
9  * \version $Revision: 1.2 $
10  *
11  */
13 
14 namespace reco {
15  namespace parser {
16  struct IntSetter {
17  IntSetter( IntStack & stack ) : stack_( stack ) { }
18  void operator()(int n) const {
19  stack_.push_back(n);
20  }
21  private:
23  };
24  }
25 }
26 
27 #endif
void operator()(int n) const
Definition: IntSetter.h:18
stack
Definition: svgfig.py:558
std::vector< int > IntStack
Definition: IntStack.h:16
IntSetter(IntStack &stack)
Definition: IntSetter.h:17