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