ROOT  6.06/08
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 </builddir/build/BUILD/root-6.06.08/bindings/pyroot/src/TemplateProxy.h>

+ Collaboration diagram for PyROOT::TemplateProxy:

Constructor & Destructor Documentation

§ TemplateProxy()

PyROOT::TemplateProxy::TemplateProxy ( )
inlineprivate

Definition at line 42 of file TemplateProxy.h.

Member Function Documentation

§ AddOverload() [1/2]

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

Store overloads of this templated method.

Definition at line 37 of file TemplateProxy.cxx.

Referenced by BuildScopeProxyDict().

§ AddOverload() [2/2]

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

Definition at line 41 of file TemplateProxy.cxx.

§ AddTemplate()

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

Definition at line 46 of file TemplateProxy.cxx.

§ Set()

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

§ fNonTemplated

MethodProxy* PyROOT::TemplateProxy::fNonTemplated

Definition at line 33 of file TemplateProxy.h.

Referenced by AddOverload(), AddTemplate(), and Set().

§ fPyClass

PyObject* PyROOT::TemplateProxy::fPyClass

Definition at line 31 of file TemplateProxy.h.

Referenced by AddTemplate(), and Set().

§ fPyName

PyObject* PyROOT::TemplateProxy::fPyName

Definition at line 32 of file TemplateProxy.h.

Referenced by AddTemplate(), and Set().

§ fSelf

PyObject_HEAD PyObject* PyROOT::TemplateProxy::fSelf

Definition at line 30 of file TemplateProxy.h.

Referenced by AddTemplate(), and Set().

§ fTemplated

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: