CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/CommonTools/Utils/src/ExpressionConditionSetter.h

Go to the documentation of this file.
00001 #ifndef CommonTools_Utils_ExpressionConditionSetter_h
00002 #define CommonTools_Utils_ExpressionConditionSetter_h
00003 /* \class reco::parser::ExpressionCondition
00004  *
00005  * Numerical expression setter
00006  *
00007  * \author Luca Lista, INFN
00008  *
00009  * \version $Revision: 1.1 $
00010  *
00011  */
00012 #include "CommonTools/Utils/src/ExpressionStack.h"
00013 #include "CommonTools/Utils/src/SelectorStack.h"
00014 
00015 namespace reco {
00016   namespace parser {
00017     struct ExpressionConditionSetter {
00018       ExpressionConditionSetter(ExpressionStack & expStack, SelectorStack & selStack) : 
00019         expStack_(expStack), selStack_(selStack) { }
00020       void operator()(const char *, const char *) const;
00021     private:
00022       ExpressionStack & expStack_;
00023       SelectorStack & selStack_;
00024     };
00025   }
00026 }
00027 
00028 #endif