#include <MethodProxy.h>
Public Types | |
typedef std::map< Long_t, Int_t > | DispatchMap_t |
typedef std::vector< PyCallable * > | Methods_t |
Public Member Functions | |
void | Set (const std::string &name, std::vector< PyCallable * > &methods) |
const std::string & | GetName () const |
void | AddMethod (PyCallable *pc) |
void | AddMethod (MethodProxy *meth) |
Public Attributes | |
PyObject_HEAD ObjectProxy * | fSelf |
MethodInfo_t * | fMethodInfo |
Private Member Functions | |
MethodProxy () | |
Classes | |
struct | MethodInfo_t |
Definition at line 27 of file MethodProxy.h.
typedef std::map< Long_t, Int_t > PyROOT::MethodProxy::DispatchMap_t |
Definition at line 29 of file MethodProxy.h.
typedef std::vector< PyCallable* > PyROOT::MethodProxy::Methods_t |
Definition at line 30 of file MethodProxy.h.
PyROOT::MethodProxy::MethodProxy | ( | ) | [inline, private] |
Definition at line 67 of file MethodProxy.h.
void PyROOT::MethodProxy::Set | ( | const std::string & | name, | |
std::vector< PyCallable * > & | methods | |||
) |
Definition at line 765 of file MethodProxy.cxx.
References PyROOT::MethodProxy::MethodInfo_t::fFlags, fMethodInfo, PyROOT::MethodProxy::MethodInfo_t::fMethods, PyROOT::MethodProxy::MethodInfo_t::fName, PyROOT::Utility::gMemoryPolicy, PyROOT::Utility::kHeuristics, PyROOT::MethodProxy::MethodInfo_t::kIsConstructor, and PyROOT::MethodProxy::MethodInfo_t::kIsCreator.
Referenced by PyROOT::MethodProxy_New(), and PyROOT::mp_disp().
const std::string& PyROOT::MethodProxy::GetName | ( | ) | const [inline] |
Definition at line 57 of file MethodProxy.h.
References fMethodInfo, and PyROOT::MethodProxy::MethodInfo_t::fName.
Referenced by PyROOT::mp_func_code(), and PyROOT::mp_name().
void PyROOT::MethodProxy::AddMethod | ( | PyCallable * | pc | ) |
Definition at line 782 of file MethodProxy.cxx.
References PyROOT::MethodProxy::MethodInfo_t::fFlags, fMethodInfo, and PyROOT::MethodProxy::MethodInfo_t::fMethods.
Referenced by PyROOT::Utility::AddUsingToClass().
void PyROOT::MethodProxy::AddMethod | ( | MethodProxy * | meth | ) |
Definition at line 789 of file MethodProxy.cxx.
References fMethodInfo, and PyROOT::MethodProxy::MethodInfo_t::fMethods.
PyObject_HEAD ObjectProxy* PyROOT::MethodProxy::fSelf |
Definition at line 63 of file MethodProxy.h.
Referenced by PyROOT::HandleReturn(), PyROOT::IsPseudoFunc(), PyROOT::mp_call(), PyROOT::mp_clear(), PyROOT::mp_dealloc(), PyROOT::mp_descrget(), PyROOT::mp_disp(), PyROOT::mp_meth_func(), PyROOT::mp_meth_self(), PyROOT::mp_new(), PyROOT::mp_traverse(), PyROOT::TTreeSetBranchAddress::operator()(), and PyROOT::TTreeBranch::operator()().
Definition at line 64 of file MethodProxy.h.
Referenced by AddMethod(), GetName(), PyROOT::HandleReturn(), PyROOT::mp_call(), PyROOT::mp_dealloc(), PyROOT::mp_descrget(), PyROOT::mp_disp(), PyROOT::mp_doc(), PyROOT::mp_func_code(), PyROOT::mp_func_defaults(), PyROOT::mp_getcreates(), PyROOT::mp_getmempolicy(), PyROOT::mp_getthreaded(), PyROOT::mp_hash(), PyROOT::mp_meth_class(), PyROOT::mp_meth_func(), PyROOT::mp_meth_self(), PyROOT::mp_new(), PyROOT::mp_setcreates(), PyROOT::mp_setmempolicy(), PyROOT::mp_setthreaded(), PyROOT::Pythonize(), and Set().