Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef CommonTools_Utils_ExpressionSetter_h
0002 #define CommonTools_Utils_ExpressionSetter_h
0003 /* \class reco::parser::ExpressionSetter
0004  *
0005  * Expression setter
0006  *
0007  * \author original version: Chris Jones, Cornell, 
0008  *         adapted by Luca Lista, INFN
0009  *
0010  * \version $Revision: 1.2 $
0011  *
0012  */
0013 #include "CommonTools/Utils/interface/ExpressionPtr.h"
0014 #include "CommonTools/Utils/interface/ExpressionStack.h"
0015 
0016 namespace reco {
0017   namespace parser {
0018     struct ExpressionSetter {
0019       ExpressionSetter(ExpressionPtr& expr, ExpressionStack& exprStack) : expr_(expr), exprStack_(exprStack) {}
0020 
0021       void operator()(const char*, const char*) const;
0022       ExpressionPtr& expr_;
0023       ExpressionStack& exprStack_;
0024     };
0025   }  // namespace parser
0026 }  // namespace reco
0027 
0028 #endif