test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
32 // forward declarations
33 
35 
36 public:
37  FWExpressionEvaluator(const std::string& iExpression,
38  const std::string& iClassName);
39  virtual ~FWExpressionEvaluator();
40 
41  // ---------- const member functions ---------------------
42 
43  const std::string& expression() const;
44 
45  double evalExpression(const void*) const;
46 
47  // ---------- static member functions --------------------
48 
49  // ---------- member functions ---------------------------
51  void setExpression(const std::string& );
52  void setClassName(const std::string& );
53 
54 private:
55  //FWExpressionEvaluator(const FWExpressionEvaluator&); // stop default
56 
57  //const FWExpressionEvaluator& operator=(const FWExpressionEvaluator&); // stop default
58 
59  // ---------- member data --------------------------------
64 };
65 
66 #endif
reco::parser::ExpressionPtr m_expr
void setClassName(const std::string &)
FWExpressionEvaluator(const std::string &iExpression, const std::string &iClassName)
void setExpression(const std::string &)
boost::shared_ptr< ExpressionBase > ExpressionPtr
double evalExpression(const void *) const
const std::string & expression() const