CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ExpressionSetter.h
Go to the documentation of this file.
1 #ifndef CommonTools_Utils_ExpressionSetter_h
2 #define CommonTools_Utils_ExpressionSetter_h
3 /* \class reco::parser::ExpressionSetter
4  *
5  * Expression setter
6  *
7  * \author original version: Chris Jones, Cornell,
8  * adapted by Luca Lista, INFN
9  *
10  * \version $Revision: 1.2 $
11  *
12  */
15 
16 namespace reco {
17  namespace parser {
19  ExpressionSetter(ExpressionPtr& expr, ExpressionStack& exprStack) : expr_(expr), exprStack_(exprStack) {}
20 
21  void operator()(const char*, const char*) const;
24  };
25  } // namespace parser
26 } // namespace reco
27 
28 #endif
std::shared_ptr< ExpressionBase > ExpressionPtr
std::vector< std::shared_ptr< ExpressionBase > > ExpressionStack
ExpressionSetter(ExpressionPtr &expr, ExpressionStack &exprStack)
void operator()(const char *, const char *) const