#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 const &obj, ObjectWithDict *ret=nullptr, std::vector< void * > const &values=std::vector< void * >()) const |
Call a member function. More... | |
void | invoke (ObjectWithDict *ret=nullptr, std::vector< void * > const &values=std::vector< void * >()) const |
Call a static 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 20 of file FunctionWithDict.cc.
|
explicit |
Definition at line 23 of file FunctionWithDict.cc.
References funcptr_, isConstructor(), isDestructor(), and isPublic().
IterWithDict< TMethodArg > edm::FunctionWithDict::begin | ( | void | ) | const |
TypeWithDict edm::FunctionWithDict::declaringType | ( | ) | const |
IterWithDict< TMethodArg > edm::FunctionWithDict::end | ( | void | ) | const |
Definition at line 140 of file FunctionWithDict.cc.
TypeWithDict edm::FunctionWithDict::finalReturnType | ( | ) | const |
Definition at line 48 of file FunctionWithDict.cc.
References edm::TypeWithDict::byName(), and function_.
Referenced by reco::parser::MethodInvoker::MethodInvoker(), reco::returnType(), and FWTableViewManager::tableFormats().
size_t edm::FunctionWithDict::functionParameterSize | ( | bool | required = false | ) | const |
Definition at line 93 of file FunctionWithDict.cc.
References function_.
Referenced by reco::checkMethod(), and FWTableViewManager::tableFormats().
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 107 of file FunctionWithDict.cc.
References edm::ObjectWithDict::address(), assert(), data, and funcptr_.
Referenced by reco::parser::MethodInvoker::invoke().
void edm::FunctionWithDict::invoke | ( | ObjectWithDict * | ret = nullptr , |
std::vector< void * > const & | values = std::vector<void*>() |
||
) | const |
Call a static function.
Definition at line 120 of file FunctionWithDict.cc.
References edm::ObjectWithDict::address(), assert(), data, and funcptr_.
bool edm::FunctionWithDict::isConst | ( | ) | const |
Definition at line 64 of file FunctionWithDict.cc.
References function_.
Referenced by reco::checkMethod(), fireworks::OptionNode::fillOptionForType(), and FWTableViewManager::tableFormats().
bool edm::FunctionWithDict::isConstructor | ( | ) | const |
Definition at line 69 of file FunctionWithDict.cc.
References function_, and reco::parser::kIsConstructor.
Referenced by reco::checkMethod(), fireworks::OptionNode::fillOptionForType(), and FunctionWithDict().
bool edm::FunctionWithDict::isDestructor | ( | ) | const |
Definition at line 74 of file FunctionWithDict.cc.
References function_, and reco::parser::kIsDestructor.
Referenced by reco::checkMethod(), fireworks::OptionNode::fillOptionForType(), and FunctionWithDict().
bool edm::FunctionWithDict::isOperator | ( | ) | const |
Definition at line 79 of file FunctionWithDict.cc.
References function_, and reco::parser::kIsOperator.
Referenced by fireworks::OptionNode::fillOptionForType().
bool edm::FunctionWithDict::isPublic | ( | ) | const |
Definition at line 84 of file FunctionWithDict.cc.
References function_.
Referenced by reco::checkMethod(), fireworks::OptionNode::fillOptionForType(), FunctionWithDict(), and FWTableViewManager::tableFormats().
bool edm::FunctionWithDict::isStatic | ( | ) | const |
Definition at line 88 of file FunctionWithDict.cc.
References function_, and reco::parser::kIsStatic.
Referenced by reco::checkMethod().
std::string edm::FunctionWithDict::name | ( | void | ) | const |
Definition at line 38 of file FunctionWithDict.cc.
References function_.
Referenced by cuy.divideElement::__init__(), cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), config.CFG::__str__(), reco::checkMethod(), validation.Sample::digest(), fireworks::OptionNode::fillOptionForType(), VIDSelectorBase.VIDSelectorBase::initialize(), reco::parser::MethodInvoker::methodName(), and FWTableViewManager::tableFormats().
|
explicit |
Definition at line 31 of file FunctionWithDict.cc.
size_t edm::FunctionWithDict::size | ( | void | ) | const |
Definition at line 101 of file FunctionWithDict.cc.
References function_.
Referenced by ntuple._Collection::__iter__(), and ntuple._Collection::__len__().
std::string edm::FunctionWithDict::typeName | ( | ) | const |
Definition at line 43 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().