CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
FWExpressionEvaluator.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 #ifndef Fireworks_Core_FWExpressionEvaluator_h
3 #define Fireworks_Core_FWExpressionEvaluator_h
4 //
5 // Package: Core
6 // Class : FWExpressionEvaluator
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Fri Feb 29 13:39:51 PST 2008
19 //
20 
21 // system include files
22 #include <string>
24 
25 // user include files
30 
31 // forward declarations
32 
34 public:
35  FWExpressionEvaluator(const std::string& iExpression, const std::string& iClassName);
36  virtual ~FWExpressionEvaluator();
37 
38  // ---------- const member functions ---------------------
39 
40  const std::string& expression() const;
41 
42  double evalExpression(const void*) const;
43 
44  // ---------- static member functions --------------------
45 
46  // ---------- member functions ---------------------------
48  void setExpression(const std::string&);
49  void setClassName(const std::string&);
50 
51 private:
52  //FWExpressionEvaluator(const FWExpressionEvaluator&); // stop default
53 
54  //const FWExpressionEvaluator& operator=(const FWExpressionEvaluator&); // stop default
55 
56  // ---------- member data --------------------------------
61 };
62 
63 #endif
reco::parser::ExpressionPtr m_expr
void setClassName(const std::string &)
const std::string & expression() const
FWExpressionEvaluator(const std::string &iExpression, const std::string &iClassName)
std::shared_ptr< ExpressionBase > ExpressionPtr
void setExpression(const std::string &)
double evalExpression(const void *) const