CMS 3D CMS Logo

ExpressionNumberSetter.h
Go to the documentation of this file.
1 #ifndef CommonTools_Utils_ExpressionNumberSetter_h
2 #define CommonTools_Utils_ExpressionNumberSetter_h
3 /* \class reco::parser::ExpressionNumber
4  *
5  * Numerical expression setter
6  *
7  * \author original version: Chris Jones, Cornell,
8  * adapted by Luca Lista, INFN
9  *
10  * \version $Revision: 1.3 $
11  *
12  */
15 
16 namespace reco {
17  namespace parser {
20  void operator()(double n) const {
21  stack_.push_back(ExpressionPtr(new ExpressionNumber(n)));
22  }
23  private:
25  };
26  }
27 }
28 
29 #endif
boost::shared_ptr< ExpressionBase > ExpressionPtr
std::vector< boost::shared_ptr< ExpressionBase > > ExpressionStack
stack
Definition: svgfig.py:559
fixed size matrix
ExpressionNumberSetter(ExpressionStack &stack)