1#ifndef CPYCPPYY_TEMPLATEPROXY_H
2#define CPYCPPYY_TEMPLATEPROXY_H
53 const std::string& cppname,
const std::string&
pyname,
PyObject* pyclass);
54 void Set(
const std::string& cppname,
const std::string&
pyname,
PyObject* pyclass);
92 const std::string& cppname,
const std::string&
pyname,
PyObject* pyclass)
TemplateInfo & operator=(const TemplateInfo &)=delete
TemplateInfo(const TemplateInfo &)=delete
CPPOverload * fLowPriority
TP_DispatchMap_t fDispatchMap
CPPOverload * fNonTemplated
PyObject * Instantiate(const std::string &fname, PyObject *tmplArgs, 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)
Set of helper functions that are invoked from the pythonizors, on the Python side.
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