Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:01:17

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