Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TemplateProxy.cxx File Reference
#include "CPyCppyy.h"
#include "TemplateProxy.h"
#include "CPPClassMethod.h"
#include "CPPConstructor.h"
#include "CPPFunction.h"
#include "CPPMethod.h"
#include "CPPOverload.h"
#include "PyCallable.h"
#include "PyStrings.h"
#include "Utility.h"
#include <algorithm>
Include dependency graph for TemplateProxy.cxx:

Namespaces

namespace  CPyCppyy
 Set of helper functions that are invoked from the pythonizors, on the Python side.
 

Macros

#define TPPCALL_RETURN
 

Functions

static PyObjectCPyCppyy::CallMethodImp (TemplateProxy *pytmpl, PyObject *&pymeth, PyObject *args, PyObject *kwds, bool impOK, uint64_t sighash)
 
static std::string CPyCppyy::targs2str (TemplateProxy *pytmpl)
 
static PyObjectCPyCppyy::TC2CppName (PyObject *pytc, const char *cpd, bool allow_voidp)
 
static PyObjectCPyCppyy::tpp_call (TemplateProxy *pytmpl, PyObject *args, PyObject *kwds)
 
static int CPyCppyy::tpp_clear (TemplateProxy *pytmpl)
 
static void CPyCppyy::tpp_dealloc (TemplateProxy *pytmpl)
 
static TemplateProxyCPyCppyy::tpp_descrget (TemplateProxy *pytmpl, PyObject *pyobj, PyObject *)
 
static PyObjectCPyCppyy::tpp_doc (TemplateProxy *pytmpl, void *)
 
static PyObjectCPyCppyy::tpp_getuseffi (CPPOverload *, void *)
 
static TemplateProxyCPyCppyy::tpp_new (PyTypeObject *, PyObject *, PyObject *)
 
static PyObjectCPyCppyy::tpp_repr (TemplateProxy *pytmpl)
 
static int CPyCppyy::tpp_setuseffi (CPPOverload *, PyObject *, void *)
 
static PyObjectCPyCppyy::tpp_subscript (TemplateProxy *pytmpl, PyObject *args)
 
static int CPyCppyy::tpp_traverse (TemplateProxy *pytmpl, visitproc visit, void *arg)
 
static void CPyCppyy::UpdateDispatchMap (TemplateProxy *pytmpl, bool use_targs, uint64_t sighash, CPPOverload *pymeth)
 

Variables

PyTypeObject CPyCppyy::TemplateProxy_Type
 
static PyMappingMethods CPyCppyy::tpp_as_mapping
 
static PyGetSetDef CPyCppyy::tpp_getset []
 

Macro Definition Documentation

◆ TPPCALL_RETURN

#define TPPCALL_RETURN
Value:
{ if (!errors.empty()) \
std::for_each(errors.begin(), errors.end(), Utility::PyError_t::Clear);\
Py_DECREF(kwds); \
return result; }

Definition at line 460 of file TemplateProxy.cxx.