Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
CPyCppyy::TemplateProxy Class Reference

Definition at line 50 of file TemplateProxy.h.

Public Member Functions

void AdoptMethod (PyCallable *pc)
 
void AdoptTemplate (PyCallable *pc)
 
PyObjectInstantiate (const std::string &fname, PyObject *tmplArgs, Utility::ArgPreference, int *pcnt=nullptr)
 
void MergeOverload (CPPOverload *mp)
 

Public Attributes

PyObject_HEAD PyObjectfSelf
 
PyObjectfTemplateArgs
 
TP_TInfo_t fTI
 
PyObjectfWeakrefList
 

Private Member Functions

 TemplateProxy ()=delete
 
void Set (const std::string &cppname, const std::string &pyname, PyObject *pyclass)
 

Friends

TemplateProxyTemplateProxy_New (const std::string &cppname, const std::string &pyname, PyObject *pyclass)
 

#include </home/sftnight/build/workspace/root-makedoc-v624/rootspi/rdoc/src/v6-24-00-patches/bindings/pyroot/cppyy/CPyCppyy/src/TemplateProxy.h>

Constructor & Destructor Documentation

◆ TemplateProxy()

CPyCppyy::TemplateProxy::TemplateProxy ( )
privatedelete

Member Function Documentation

◆ AdoptMethod()

void CPyCppyy::TemplateProxy::AdoptMethod ( PyCallable pc)

Definition at line 108 of file TemplateProxy.cxx.

◆ AdoptTemplate()

void CPyCppyy::TemplateProxy::AdoptTemplate ( PyCallable pc)

Definition at line 114 of file TemplateProxy.cxx.

◆ Instantiate()

PyObject * CPyCppyy::TemplateProxy::Instantiate ( const std::string &  fname,
PyObject tmplArgs,
Utility::ArgPreference  pref,
int pcnt = nullptr 
)

Definition at line 121 of file TemplateProxy.cxx.

◆ MergeOverload()

void CPyCppyy::TemplateProxy::MergeOverload ( CPPOverload mp)

Definition at line 94 of file TemplateProxy.cxx.

◆ Set()

void CPyCppyy::TemplateProxy::Set ( const std::string &  cppname,
const std::string &  pyname,
PyObject pyclass 
)
private

Definition at line 76 of file TemplateProxy.cxx.

Friends And Related Symbol Documentation

◆ TemplateProxy_New

TemplateProxy * TemplateProxy_New ( const std::string &  cppname,
const std::string &  pyname,
PyObject pyclass 
)
friend

Definition at line 91 of file TemplateProxy.h.

Member Data Documentation

◆ fSelf

PyObject_HEAD PyObject* CPyCppyy::TemplateProxy::fSelf

Definition at line 58 of file TemplateProxy.h.

◆ fTemplateArgs

PyObject* CPyCppyy::TemplateProxy::fTemplateArgs

Definition at line 59 of file TemplateProxy.h.

◆ fTI

TP_TInfo_t CPyCppyy::TemplateProxy::fTI

Definition at line 61 of file TemplateProxy.h.

◆ fWeakrefList

PyObject* CPyCppyy::TemplateProxy::fWeakrefList

Definition at line 60 of file TemplateProxy.h.

  • bindings/pyroot/cppyy/CPyCppyy/src/TemplateProxy.h
  • bindings/pyroot/cppyy/CPyCppyy/src/TemplateProxy.cxx