Logo ROOT   6.12/07
Reference Guide
List of all members | 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 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 </mnt/build/workspace/root-makedoc-v612/rootspi/rdoc/src/v6-12-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 37 of file TemplateProxy.cxx.

◆ 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.

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.

Libraries for PyROOT::TemplateProxy:
[legend]

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