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