Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-08-17 23:10:24

0001 #ifndef CommonTools_Utils_ExpressionFunctionSetter_h
0002 #define CommonTools_Utils_ExpressionFunctionSetter_h
0003 /* \class reco::parser::ExpressionFunction
0004  *
0005  * Numerical expression setter
0006  *
0007  * \author Luca Lista, INFN
0008  *
0009  * \version $Revision: 1.1 $
0010  *
0011  */
0012 #include "CommonTools/Utils/interface/ExpressionStack.h"
0013 #include "CommonTools/Utils/interface/FunctionStack.h"
0014 
0015 namespace reco {
0016   namespace parser {
0017     struct ExpressionFunctionSetter {
0018       ExpressionFunctionSetter(ExpressionStack &expStack, FunctionStack &funStack)
0019           : expStack_(expStack), funStack_(funStack) {}
0020       void operator()(const char *, const char *) const;
0021 
0022     private:
0023       ExpressionStack &expStack_;
0024       FunctionStack &funStack_;
0025     };
0026   }  // namespace parser
0027 }  // namespace reco
0028 
0029 #endif