#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 | |
TMethod * | function_ |
Definition at line 26 of file FunctionWithDict.h.
edm::FunctionWithDict::FunctionWithDict | ( | ) |
Definition at line 20 of file FunctionWithDict.cc.
|
explicit |
Definition at line 23 of file FunctionWithDict.cc.
IterWithDict< TMethodArg > edm::FunctionWithDict::begin | ( | void | ) | const |
TypeWithDict edm::FunctionWithDict::declaringType | ( | ) | const |
IterWithDict< TMethodArg > edm::FunctionWithDict::end | ( | void | ) | const |
Definition at line 133 of file FunctionWithDict.cc.
TypeWithDict edm::FunctionWithDict::finalReturnType | ( | ) | const |
Definition at line 43 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 88 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 102 of file FunctionWithDict.cc.
References edm::ObjectWithDict::address(), compareJSON::const, data, and function_.
Referenced by reco::parser::MethodInvoker::invoke(), and ora::UniqueRefWriter::write().
void edm::FunctionWithDict::invoke | ( | ObjectWithDict * | ret = nullptr , |
std::vector< void * > const & | values = std::vector<void*>() |
||
) | const |
Call a static function.
Definition at line 114 of file FunctionWithDict.cc.
References edm::ObjectWithDict::address(), compareJSON::const, data, and function_.
bool edm::FunctionWithDict::isConst | ( | ) | const |
Definition at line 59 of file FunctionWithDict.cc.
References function_.
Referenced by reco::checkMethod(), fireworks::OptionNode::fillOptionForType(), and FWTableViewManager::tableFormats().
bool edm::FunctionWithDict::isConstructor | ( | ) | const |
Definition at line 64 of file FunctionWithDict.cc.
References function_, and reco::parser::kIsConstructor.
Referenced by reco::checkMethod(), and fireworks::OptionNode::fillOptionForType().
bool edm::FunctionWithDict::isDestructor | ( | ) | const |
Definition at line 69 of file FunctionWithDict.cc.
References function_, and reco::parser::kIsDestructor.
Referenced by reco::checkMethod(), and fireworks::OptionNode::fillOptionForType().
bool edm::FunctionWithDict::isOperator | ( | ) | const |
Definition at line 74 of file FunctionWithDict.cc.
References function_, and reco::parser::kIsOperator.
Referenced by fireworks::OptionNode::fillOptionForType().
bool edm::FunctionWithDict::isPublic | ( | ) | const |
Definition at line 79 of file FunctionWithDict.cc.
References function_.
Referenced by reco::checkMethod(), fireworks::OptionNode::fillOptionForType(), and FWTableViewManager::tableFormats().
bool edm::FunctionWithDict::isStatic | ( | ) | const |
Definition at line 83 of file FunctionWithDict.cc.
References function_, and reco::parser::kIsStatic.
Referenced by reco::checkMethod().
std::string edm::FunctionWithDict::name | ( | void | ) | const |
Definition at line 33 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(), fireworks::OptionNode::fillOptionForType(), reco::findMethod(), reco::parser::MethodInvoker::methodName(), and FWTableViewManager::tableFormats().
|
explicit |
Definition at line 26 of file FunctionWithDict.cc.
size_t edm::FunctionWithDict::size | ( | void | ) | const |
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 28 of file FunctionWithDict.h.
Referenced by begin(), declaringType(), finalReturnType(), functionParameterSize(), invoke(), isConst(), isConstructor(), isDestructor(), isOperator(), isPublic(), isStatic(), name(), size(), and typeName().