Evaluate an object's method or datamember (or chain of them) to get a number. More...
#include <ExpressionVar.h>
Public Member Functions | |
ExpressionVar (const std::vector< MethodInvoker > &methods, method::TypeCode retType) | |
ExpressionVar (const ExpressionVar &) | |
virtual double | value (const edm::ObjectWithDict &) const |
~ExpressionVar () | |
Public Member Functions inherited from reco::parser::ExpressionBase | |
virtual | ~ExpressionBase () |
Static Public Member Functions | |
static void | delStorage (edm::ObjectWithDict &) |
static bool | isValidReturnType (method::TypeCode) |
static bool | makeStorage (edm::ObjectWithDict &obj, const edm::TypeWithDict &retType) |
static double | objToDouble (const edm::ObjectWithDict &obj, method::TypeCode type) |
Private Member Functions | |
void | initObjects_ () |
Private Attributes | |
std::vector< MethodInvoker > | methods_ |
std::vector< bool > | needsDestructor_ |
std::vector< edm::ObjectWithDict > | objects_ |
method::TypeCode | retType_ |
Evaluate an object's method or datamember (or chain of them) to get a number.
Definition at line 23 of file ExpressionVar.h.
ExpressionVar::ExpressionVar | ( | const std::vector< MethodInvoker > & | methods, |
method::TypeCode | retType | ||
) |
Definition at line 31 of file ExpressionVar.cc.
ExpressionVar::ExpressionVar | ( | const ExpressionVar & | rhs | ) |
Definition at line 39 of file ExpressionVar.cc.
ExpressionVar::~ExpressionVar | ( | ) |
Definition at line 46 of file ExpressionVar.cc.
|
static |
delete an objecty, if needed this method is used also from the LazyInvoker code
Definition at line 56 of file ExpressionVar.cc.
|
private |
Definition at line 15 of file ExpressionVar.cc.
|
static |
Definition at line 96 of file ExpressionVar.cc.
Referenced by reco::parser::ExpressionVarSetter::push().
|
static |
allocate an object to hold the result of a given member (if needed) this method is used also from the LazyInvoker code returns true if objects returned from this will require a destructor
Definition at line 74 of file ExpressionVar.cc.
|
static |
performs the needed conversion from void* to double this method is used also from the ExpressionLazyVar code
Definition at line 162 of file ExpressionVar.cc.
|
virtual |
Implements reco::parser::ExpressionBase.
Definition at line 144 of file ExpressionVar.cc.
Referenced by average.Average::average().
|
private |
Definition at line 25 of file ExpressionVar.h.
|
mutableprivate |
Definition at line 27 of file ExpressionVar.h.
|
mutableprivate |
Definition at line 26 of file ExpressionVar.h.
|
private |
Definition at line 28 of file ExpressionVar.h.