PyROOT::MethodProxy Class Reference

#include <MethodProxy.h>

List of all members.

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::stringGetName () const
void AddMethod (PyCallable *pc)
void AddMethod (MethodProxy *meth)

Public Attributes

PyObject_HEAD ObjectProxyfSelf
MethodInfo_tfMethodInfo

Private Member Functions

 MethodProxy ()

Classes

struct  MethodInfo_t


Detailed Description

Method proxy object to hold ROOT methods
Author:
WLAV
Date:
01/07/2005
Version:
1.0

Definition at line 27 of file MethodProxy.h.


Member Typedef Documentation

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.


Constructor & Destructor Documentation

PyROOT::MethodProxy::MethodProxy (  )  [inline, private]

Definition at line 67 of file MethodProxy.h.


Member Function Documentation

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.


Member Data Documentation

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()().

MethodInfo_t* PyROOT::MethodProxy::fMethodInfo

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().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:56:32 2011 for ROOT_528-00b_version by  doxygen 1.5.1