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 { stack_.push_back(ExpressionPtr(new ExpressionNumber(n))); }
21 
22  private:
24  };
25  } // namespace parser
26 } // namespace reco
27 
28 #endif
std::shared_ptr< ExpressionBase > ExpressionPtr
std::vector< std::shared_ptr< ExpressionBase > > ExpressionStack
stack
Definition: svgfig.py:559
fixed size matrix
ExpressionNumberSetter(ExpressionStack &stack)