ROOT  6.06/09
Reference Guide
Public Member Functions | Public Attributes | Private Member Functions | List of all members
PyROOT::TemplateProxy Class Reference

Template proxy object to return functions and methods.

Author
WLAV
Date
01/15/2008
Version
1.0

Definition at line 24 of file TemplateProxy.h.

Public Member Functions

void Set (const std::string &name, PyObject *pyclass)
 Initialize the proxy for the given 'pyclass.'. More...
 
void AddOverload (MethodProxy *mp)
 Store overloads of this templated method. More...
 
void AddOverload (PyCallable *pc)
 
void AddTemplate (PyCallable *pc)
 

Public Attributes

PyObject_HEAD PyObjectfSelf
 
PyObjectfPyClass
 
PyObjectfPyName
 
MethodProxyfNonTemplated
 
MethodProxyfTemplated
 

Private Member Functions

 TemplateProxy ()
 

#include </mnt/vdb/lsf/workspace/root-makedoc-v606/rootspi/rdoc/src/v6-06-00-patches/bindings/pyroot/src/TemplateProxy.h>

+ Collaboration diagram for PyROOT::TemplateProxy:

Constructor & Destructor Documentation

PyROOT::TemplateProxy::TemplateProxy ( )
inlineprivate

Definition at line 42 of file TemplateProxy.h.

Member Function Documentation

void PyROOT::TemplateProxy::AddOverload ( MethodProxy mp)

Store overloads of this templated method.

Definition at line 37 of file TemplateProxy.cxx.

Referenced by BuildScopeProxyDict().

void PyROOT::TemplateProxy::AddOverload ( PyCallable pc)

Definition at line 41 of file TemplateProxy.cxx.

void PyROOT::TemplateProxy::AddTemplate ( PyCallable pc)

Definition at line 46 of file TemplateProxy.cxx.

void PyROOT::TemplateProxy::Set ( const std::string &  name,
PyObject pyclass 
)

Initialize the proxy for the given 'pyclass.'.

Definition at line 23 of file TemplateProxy.cxx.

Referenced by PyROOT::TemplateProxy_New().

Member Data Documentation

MethodProxy* PyROOT::TemplateProxy::fNonTemplated

Definition at line 33 of file TemplateProxy.h.

Referenced by AddOverload(), and Set().

PyObject* PyROOT::TemplateProxy::fPyClass

Definition at line 31 of file TemplateProxy.h.

Referenced by Set().

PyObject* PyROOT::TemplateProxy::fPyName

Definition at line 32 of file TemplateProxy.h.

Referenced by Set().

PyObject_HEAD PyObject* PyROOT::TemplateProxy::fSelf

Definition at line 30 of file TemplateProxy.h.

Referenced by Set().

MethodProxy* PyROOT::TemplateProxy::fTemplated

Definition at line 34 of file TemplateProxy.h.

Referenced by AddTemplate(), and Set().


The documentation for this class was generated from the following files: