CMS 3D CMS Logo

expressionParser.h
Go to the documentation of this file.
1 #ifndef CommonTools_Utils_expressionParset_h
2 #define CommonTools_Utils_expressionParset_h
6 #include <string>
7 
8 namespace reco {
9  namespace parser {
10  bool expressionParser(const edm::TypeWithDict &t, const std::string &value, ExpressionPtr &expr, bool lazy);
11 
12  template <typename T>
13  bool expressionParser(const std::string &value, ExpressionPtr &expr, bool lazy = false) {
14  return reco::parser::expressionParser(edm::TypeWithDict(typeid(T)), value, expr, lazy);
15  }
16 
17  } // namespace parser
18 } // namespace reco
19 
20 #endif
bool expressionParser(const edm::TypeWithDict &t, const std::string &value, ExpressionPtr &expr, bool lazy)
std::shared_ptr< ExpressionBase > ExpressionPtr
Definition: value.py:1
fixed size matrix
long double T