1#ifndef CPYCPPYY_TEMPLATEPROXY_H
2#define CPYCPPYY_TEMPLATEPROXY_H
50 const std::string& cppname,
const std::string& pyname,
PyObject* pyclass);
51 void Set(
const std::string& cppname,
const std::string& pyname,
PyObject* pyclass);
58#if PY_VERSION_HEX >= 0x03080000
59 vectorcallfunc fVectorCall;
92 const std::string& cppname,
const std::string& pyname,
PyObject* pyclass)
99 pytmpl->
Set(cppname, pyname, pyclass);
PyObject * CPyCppyy_PyArgs_t
TemplateInfo & operator=(const TemplateInfo &)=delete
TemplateInfo(const TemplateInfo &)=delete
CPPOverload * fLowPriority
TP_DispatchMap_t fDispatchMap
CPPOverload * fNonTemplated
PyObject * Instantiate(const std::string &fname, CPyCppyy_PyArgs_t tmplArgs, size_t nargsf, Utility::ArgPreference, int *pcnt=nullptr)
void Set(const std::string &cppname, const std::string &pyname, PyObject *pyclass)
PyObject_HEAD PyObject * fSelf
void AdoptTemplate(PyCallable *pc)
friend TemplateProxy * TemplateProxy_New(const std::string &cppname, const std::string &pyname, PyObject *pyclass)
void AdoptMethod(PyCallable *pc)
void MergeOverload(CPPOverload *mp)
std::pair< uint64_t, CPPOverload * > TP_DispatchEntry_t
Template proxy object to return functions and methods.
bool CPPScope_Check(T *object)
bool TemplateProxy_CheckExact(T *object)
PyTypeObject TemplateProxy_Type
std::map< std::string, std::vector< TP_DispatchEntry_t > > TP_DispatchMap_t
bool TemplateProxy_Check(T *object)
TemplateProxy * TemplateProxy_New(const std::string &cppname, const std::string &pyname, PyObject *pyclass)
std::shared_ptr< TemplateInfo > TP_TInfo_t