00001 #ifndef Utilities_ExpressionFunctionSetter_h 00002 #define Utilities_ExpressionFunctionSetter_h 00003 /* \class reco::parser::ExpressionFunction 00004 * 00005 * Numerical expression setter 00006 * 00007 * \author Luca Lista, INFN 00008 * 00009 * \version $Revision: 1.1 $ 00010 * 00011 */ 00012 #include "PhysicsTools/Utilities/src/ExpressionStack.h" 00013 #include "PhysicsTools/Utilities/src/FunctionStack.h" 00014 00015 namespace reco { 00016 namespace parser { 00017 struct ExpressionFunctionSetter { 00018 ExpressionFunctionSetter( ExpressionStack & expStack, FunctionStack & funStack ) : 00019 expStack_( expStack ), funStack_( funStack ) { } 00020 void operator()( const char *, const char * ) const; 00021 private: 00022 ExpressionStack & expStack_; 00023 FunctionStack & funStack_; 00024 }; 00025 } 00026 } 00027 00028 #endif