00001 #ifndef Utilities_ExpressionSetter_h 00002 #define Utilities_ExpressionSetter_h 00003 /* \class reco::parser::ExpressionSetter 00004 * 00005 * Expression setter 00006 * 00007 * \author original version: Chris Jones, Cornell, 00008 * adapted to Reflex by Luca Lista, INFN 00009 * 00010 * \version $Revision: 1.1 $ 00011 * 00012 */ 00013 #include "PhysicsTools/Utilities/src/ExpressionPtr.h" 00014 #include "PhysicsTools/Utilities/src/ExpressionStack.h" 00015 00016 namespace reco { 00017 namespace parser { 00018 struct ExpressionSetter { 00019 ExpressionSetter( ExpressionPtr & expr, ExpressionStack & exprStack ) : 00020 expr_( expr ), exprStack_( exprStack ) { } 00021 00022 void operator()( const char*, const char* ) const; 00023 ExpressionPtr & expr_; 00024 ExpressionStack & exprStack_; 00025 }; 00026 } 00027 } 00028 00029 #endif