Logo ROOT  
Reference Guide
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 AddOverload (MethodProxy *mp)
 Store overloads of this templated method. More...
 
void AddOverload (PyCallable *pc)
 
void AddTemplate (PyCallable *pc)
 
void Set (const std::string &name, PyObject *pyclass)
 Initialize the proxy for the given 'pyclass.'. More...
 

Public Attributes

MethodProxyfNonTemplated
 
PyObjectfPyClass
 
PyObjectfPyName
 
PyObject_HEAD PyObjectfSelf
 
MethodProxyfTemplated
 

Private Member Functions

 TemplateProxy ()
 

#include </home/sftnight/build/workspace/root-makedoc-v620/rootspi/rdoc/src/v6-20-00-patches/bindings/pyroot/src/TemplateProxy.h>

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 38 of file TemplateProxy.cxx.

◆ AddOverload() [2/2]

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

Definition at line 42 of file TemplateProxy.cxx.

◆ AddTemplate()

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

Definition at line 47 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 24 of file TemplateProxy.cxx.

Member Data Documentation

◆ fNonTemplated

MethodProxy* PyROOT::TemplateProxy::fNonTemplated

Definition at line 33 of file TemplateProxy.h.

◆ fPyClass

PyObject* PyROOT::TemplateProxy::fPyClass

Definition at line 31 of file TemplateProxy.h.

◆ fPyName

PyObject* PyROOT::TemplateProxy::fPyName

Definition at line 32 of file TemplateProxy.h.

◆ fSelf

PyObject_HEAD PyObject* PyROOT::TemplateProxy::fSelf

Definition at line 30 of file TemplateProxy.h.

◆ fTemplated

MethodProxy* PyROOT::TemplateProxy::fTemplated

Definition at line 34 of file TemplateProxy.h.


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