#include <MethodInvoker.h>
Public Member Functions | |
edm::ObjectWithDict | invoke (const edm::ObjectWithDict &obj, edm::ObjectWithDict &retstore) const |
bool | isFunction () const |
edm::MemberWithDict const | member () const |
edm::FunctionWithDict const | method () const |
MethodInvoker (const edm::FunctionWithDict &method, const std::vector< AnyMethodArgument > &ints=std::vector< AnyMethodArgument >()) | |
MethodInvoker (const edm::MemberWithDict &) | |
MethodInvoker (const MethodInvoker &) | |
std::string | methodName () const |
MethodInvoker & | operator= (const MethodInvoker &) |
std::string | returnTypeName () const |
Private Member Functions | |
void | setArgs () |
Private Attributes | |
std::vector< void * > | args_ |
std::vector< AnyMethodArgument > | ints_ |
bool | isFunction_ |
edm::MemberWithDict | member_ |
edm::FunctionWithDict | method_ |
edm::TypeWithDict | retTypeFinal_ |
Definition at line 31 of file MethodInvoker.h.
|
explicit |
Definition at line 14 of file MethodInvoker.cc.
References edm::FunctionWithDict::finalReturnType(), isFunction_, method_, retTypeFinal_, and setArgs().
Referenced by MethodInvoker().
|
explicit |
Definition at line 40 of file MethodInvoker.cc.
References MethodInvoker(), and setArgs().
MethodInvoker::MethodInvoker | ( | const MethodInvoker & | rhs | ) |
Definition at line 62 of file MethodInvoker.cc.
References operator=(), and setArgs().
edm::ObjectWithDict MethodInvoker::invoke | ( | const edm::ObjectWithDict & | obj, |
edm::ObjectWithDict & | retstore | ||
) | const |
Invokes the method, putting the result in retval. Returns the Object that points to the result value, after removing any "*" and "&" Caller code is responsible for allocating retstore before calling 'invoke', and of deallocating it afterwards
Definition at line 119 of file MethodInvoker.cc.
References edm::ObjectWithDict::address(), args_, edm::errors::Configuration, Exception, edm::MemberWithDict::get(), edm::errors::InvalidReference, edm::FunctionWithDict::invoke(), isFunction_, edm::TypeWithDict::isPointer(), edm::TypeWithDict::isReference(), reco::parser::LazyInvoker::LazyInvoker(), member_, method_, methodName(), edm::TypeWithDict::qualifiedName(), retTypeFinal_, edm::TypeWithDict::stripConstRef(), edm::TypeWithDict::toType(), edm::ObjectWithDict::typeOf(), and edm::MemberWithDict::typeOf().
Referenced by returnTypeName().
|
inline |
Definition at line 52 of file MethodInvoker.h.
References hgcalPlots::obj, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 51 of file MethodInvoker.h.
|
inline |
Definition at line 50 of file MethodInvoker.h.
std::string MethodInvoker::methodName | ( | ) | const |
Definition at line 99 of file MethodInvoker.cc.
References isFunction_, member_, method_, edm::MemberWithDict::name(), edm::FunctionWithDict::name(), returnTypeName(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by invoke(), and setArgs().
MethodInvoker & MethodInvoker::operator= | ( | const MethodInvoker & | rhs | ) |
Definition at line 74 of file MethodInvoker.cc.
References ints_, isFunction_, member_, method_, retTypeFinal_, and setArgs().
Referenced by MethodInvoker().
std::string MethodInvoker::returnTypeName | ( | ) | const |
Definition at line 109 of file MethodInvoker.cc.
References invoke(), isFunction_, member_, method_, edm::TypeWithDict::qualifiedName(), edm::FunctionWithDict::typeName(), and edm::MemberWithDict::typeOf().
Referenced by methodName().
|
private |
Definition at line 90 of file MethodInvoker.cc.
References args_, mps_fire::i, ints_, methodName(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by MethodInvoker(), and operator=().
|
private |
Definition at line 36 of file MethodInvoker.h.
Referenced by invoke(), valtools.webpage::parseArgs(), batchmanager.BatchManager::ParseOptions(), and setArgs().
|
private |
Definition at line 35 of file MethodInvoker.h.
Referenced by operator=(), and setArgs().
|
private |
Definition at line 38 of file MethodInvoker.h.
Referenced by invoke(), MethodInvoker(), methodName(), operator=(), and returnTypeName().
|
private |
Definition at line 34 of file MethodInvoker.h.
Referenced by invoke(), methodName(), operator=(), and returnTypeName().
|
private |
Definition at line 33 of file MethodInvoker.h.
Referenced by invoke(), MethodInvoker(), methodName(), operator=(), and returnTypeName().
|
private |
Definition at line 39 of file MethodInvoker.h.
Referenced by invoke(), MethodInvoker(), and operator=().