#include <FunctionWithDict.h>
Public Member Functions | |
IterWithDict< TMethodArg > | begin () const |
TypeWithDict | declaringType () const |
IterWithDict< TMethodArg > | end () const |
TypeWithDict | finalReturnType () const |
size_t | functionParameterSize (bool required=false) const |
FunctionWithDict () | |
FunctionWithDict (TMethod *) | |
void | invoke (ObjectWithDict *ret=nullptr, std::vector< void * > const &values=std::vector< void * >()) const |
Call a static function. More... | |
void | invoke (ObjectWithDict const &obj, ObjectWithDict *ret=nullptr, std::vector< void * > const &values=std::vector< void * >()) const |
Call a member function. More... | |
bool | isConst () const |
bool | isConstructor () const |
bool | isDestructor () const |
bool | isOperator () const |
bool | isPublic () const |
bool | isStatic () const |
std::string | name () const |
operator bool () const | |
size_t | size () const |
std::string | typeName () const |
Private Attributes | |
TInterpreter::CallFuncIFacePtr_t | funcptr_ |
TMethod * | function_ |
Definition at line 27 of file FunctionWithDict.h.
edm::FunctionWithDict::FunctionWithDict | ( | ) |
Definition at line 19 of file FunctionWithDict.cc.
|
explicit |
Definition at line 21 of file FunctionWithDict.cc.
References funcptr_, isConstructor(), isDestructor(), isPublic(), and TtSemiLepEvtBuilder_cfi::meth.
IterWithDict< TMethodArg > edm::FunctionWithDict::begin | ( | void | ) | const |
TypeWithDict edm::FunctionWithDict::declaringType | ( | ) | const |
IterWithDict< TMethodArg > edm::FunctionWithDict::end | ( | void | ) | const |
Definition at line 105 of file FunctionWithDict.cc.
TypeWithDict edm::FunctionWithDict::finalReturnType | ( | ) | const |
Definition at line 40 of file FunctionWithDict.cc.
References edm::TypeWithDict::byName(), function_, and B2GTnPMonitor_cfi::item.
Referenced by reco::parser::MethodInvoker::MethodInvoker().
size_t edm::FunctionWithDict::functionParameterSize | ( | bool | required = false | ) | const |
Definition at line 64 of file FunctionWithDict.cc.
References function_, and writedatasetfile::required.
void edm::FunctionWithDict::invoke | ( | ObjectWithDict * | ret = nullptr , |
std::vector< void * > const & | values = std::vector<void*>() |
||
) | const |
Call a static function.
Definition at line 87 of file FunctionWithDict.cc.
References cms::cuda::assert(), data, funcptr_, runTheMatrix::ret, and contentValuesCheck::values.
void edm::FunctionWithDict::invoke | ( | ObjectWithDict const & | obj, |
ObjectWithDict * | ret = nullptr , |
||
std::vector< void * > const & | values = std::vector<void*>() |
||
) | const |
Call a member function.
Definition at line 74 of file FunctionWithDict.cc.
References cms::cuda::assert(), data, funcptr_, getGTfromDQMFile::obj, runTheMatrix::ret, and contentValuesCheck::values.
Referenced by reco::parser::MethodInvoker::invoke().
bool edm::FunctionWithDict::isConst | ( | ) | const |
bool edm::FunctionWithDict::isConstructor | ( | ) | const |
Definition at line 54 of file FunctionWithDict.cc.
References function_, and reco::parser::kIsConstructor.
Referenced by FunctionWithDict().
bool edm::FunctionWithDict::isDestructor | ( | ) | const |
Definition at line 56 of file FunctionWithDict.cc.
References function_, and reco::parser::kIsDestructor.
Referenced by FunctionWithDict().
bool edm::FunctionWithDict::isOperator | ( | ) | const |
Definition at line 58 of file FunctionWithDict.cc.
References function_, and reco::parser::kIsOperator.
bool edm::FunctionWithDict::isPublic | ( | ) | const |
Definition at line 60 of file FunctionWithDict.cc.
References function_.
Referenced by FunctionWithDict().
bool edm::FunctionWithDict::isStatic | ( | ) | const |
Definition at line 62 of file FunctionWithDict.cc.
References function_, and reco::parser::kIsStatic.
std::string edm::FunctionWithDict::name | ( | void | ) | const |
Definition at line 36 of file FunctionWithDict.cc.
References function_.
Referenced by config.CFG::__str__(), validation.Sample::digest(), VIDSelectorBase.VIDSelectorBase::initialize(), and reco::parser::MethodInvoker::methodName().
|
explicit |
Definition at line 29 of file FunctionWithDict.cc.
size_t edm::FunctionWithDict::size | ( | void | ) | const |
Definition at line 71 of file FunctionWithDict.cc.
References function_.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
std::string edm::FunctionWithDict::typeName | ( | ) | const |
Definition at line 38 of file FunctionWithDict.cc.
References function_.
Referenced by reco::parser::MethodInvoker::returnTypeName().
|
private |
Definition at line 30 of file FunctionWithDict.h.
Referenced by FunctionWithDict(), and invoke().
|
private |
Definition at line 29 of file FunctionWithDict.h.
Referenced by begin(), declaringType(), finalReturnType(), functionParameterSize(), isConst(), isConstructor(), isDestructor(), isOperator(), isPublic(), isStatic(), name(), size(), and typeName().