#include <MethodInvoker.h>
Public Member Functions | |
Reflex::Object | invoke (const Reflex::Object &o, Reflex::Object &retstore) const |
const Reflex::Member & | method () const |
MethodInvoker (const Reflex::Member &method, const std::vector< AnyMethodArgument > &ints=std::vector< AnyMethodArgument >()) | |
MethodInvoker (const MethodInvoker &) | |
MethodInvoker & | operator= (const MethodInvoker &) |
Private Member Functions | |
void | setArgs () |
Private Attributes | |
std::vector< void * > | args_ |
std::vector< AnyMethodArgument > | ints_ |
bool | isFunction_ |
Reflex::Member | method_ |
Definition at line 15 of file MethodInvoker.h.
|
explicit |
MethodInvoker::MethodInvoker | ( | const MethodInvoker & | other | ) |
Definition at line 24 of file MethodInvoker.cc.
References setArgs().
Reflex::Object MethodInvoker::invoke | ( | const Reflex::Object & | o, |
Reflex::Object & | 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 44 of file MethodInvoker.cc.
References args_, edm::errors::Configuration, edm::hlt::Exception, edm::errors::InvalidReference, isFunction_, method_, and run_regression::ret.
|
inline |
MethodInvoker & MethodInvoker::operator= | ( | const MethodInvoker & | other | ) |
Definition at line 29 of file MethodInvoker.cc.
References ints_, isFunction_, method_, and setArgs().
|
private |
Definition at line 37 of file MethodInvoker.cc.
References args_, i, and ints_.
Referenced by MethodInvoker(), and operator=().
|
private |
Definition at line 30 of file MethodInvoker.h.
Referenced by invoke(), valtools.webpage::parseArgs(), and setArgs().
|
private |
Definition at line 29 of file MethodInvoker.h.
Referenced by operator=(), and setArgs().
|
private |
Definition at line 31 of file MethodInvoker.h.
Referenced by invoke(), and operator=().
|
private |
Definition at line 28 of file MethodInvoker.h.
Referenced by invoke(), method(), and operator=().