1 #ifndef CommonTools_Utils_ExpressionVar_h
2 #define CommonTools_Utils_ExpressionVar_h
44 mutable std::vector<edm::ObjectWithDict>
objects_;
60 mutable std::vector<edm::ObjectWithDict>
objects_;
virtual double value(const edm::ObjectWithDict &o) const
ExpressionLazyVar(const std::vector< LazyInvoker > &methods)
static bool makeStorage(edm::ObjectWithDict &obj, const edm::TypeWithDict &retType)
static void delStorage(edm::ObjectWithDict &obj)
std::vector< LazyInvoker > methods_
ExpressionVar(const std::vector< MethodInvoker > &methods, method::TypeCode retType)
std::vector< bool > needsDestructor_
static bool isValidReturnType(method::TypeCode)
static double objToDouble(const edm::ObjectWithDict &obj, method::TypeCode type)
virtual double value(const edm::ObjectWithDict &o) const
std::vector< edm::ObjectWithDict > objects_
std::vector< MethodInvoker > methods_
std::vector< edm::ObjectWithDict > objects_
Evaluate an object's method or datamember (or chain of them) to get a number.
method::TypeCode retType_