#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 25 of file MethodInvoker.h.
|
explicit |
Definition at line 13 of file MethodInvoker.cc.
References edm::FunctionWithDict::finalReturnType(), isFunction_, method_, retTypeFinal_, and setArgs().
|
explicit |
Definition at line 33 of file MethodInvoker.cc.
References setArgs().
MethodInvoker::MethodInvoker | ( | const MethodInvoker & | rhs | ) |
Definition at line 50 of file MethodInvoker.cc.
References 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 92 of file MethodInvoker.cc.
References generateTowerEtThresholdLUT::addr, edm::ObjectWithDict::address(), args_, edm::errors::Configuration, Exception, edm::MemberWithDict::get(), edm::errors::InvalidReference, edm::FunctionWithDict::invoke(), isFunction_, edm::TypeWithDict::isPointer(), edm::TypeWithDict::isReference(), member_, method_, methodName(), edm::TypeWithDict::qualifiedName(), runTheMatrix::ret, retTypeFinal_, edm::TypeWithDict::stripConstRef(), edm::TypeWithDict::toType(), edm::ObjectWithDict::typeOf(), and edm::MemberWithDict::typeOf().
|
inline |
|
inline |
|
inline |
std::string MethodInvoker::methodName | ( | ) | const |
Definition at line 78 of file MethodInvoker.cc.
References isFunction_, member_, method_, edm::MemberWithDict::name(), and edm::FunctionWithDict::name().
Referenced by invoke().
MethodInvoker & MethodInvoker::operator= | ( | const MethodInvoker & | rhs | ) |
Definition at line 59 of file MethodInvoker.cc.
References ints_, isFunction_, member_, method_, retTypeFinal_, and setArgs().
std::string MethodInvoker::returnTypeName | ( | ) | const |
Definition at line 85 of file MethodInvoker.cc.
References isFunction_, member_, method_, edm::TypeWithDict::qualifiedName(), edm::FunctionWithDict::typeName(), and edm::MemberWithDict::typeOf().
|
private |
Definition at line 72 of file MethodInvoker.cc.
References args_, mps_fire::i, and ints_.
Referenced by MethodInvoker(), and operator=().
|
private |
Definition at line 30 of file MethodInvoker.h.
Referenced by invoke(), batchmanager.BatchManager::ParseOptions(), and setArgs().
|
private |
Definition at line 29 of file MethodInvoker.h.
Referenced by operator=(), and setArgs().
|
private |
Definition at line 32 of file MethodInvoker.h.
Referenced by invoke(), isFunction(), MethodInvoker(), methodName(), operator=(), and returnTypeName().
|
private |
Definition at line 28 of file MethodInvoker.h.
Referenced by invoke(), member(), methodName(), operator=(), and returnTypeName().
|
private |
Definition at line 27 of file MethodInvoker.h.
Referenced by invoke(), method(), MethodInvoker(), methodName(), operator=(), and returnTypeName().
|
private |
Definition at line 33 of file MethodInvoker.h.
Referenced by invoke(), MethodInvoker(), and operator=().