Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
CPPClassMethod.h
Go to the documentation of this file.
1#ifndef CPYCPPYY_CPPCLASSMETHOD_H
2#define CPYCPPYY_CPPCLASSMETHOD_H
3
4// Bindings
5#include "CPPMethod.h"
6
7
8namespace CPyCppyy {
9
10class CPPClassMethod : public CPPMethod {
11public:
13
14 virtual PyCallable* Clone() { return new CPPClassMethod(*this); }
15 virtual PyObject* Call(
16 CPPInstance*&, PyObject* args, PyObject* kwds, CallContext* ctxt = nullptr);
17};
18
19} // namespace CPyCppyy
20
21#endif // !CPYCPPYY_CPPCLASSMETHOD_H
_object PyObject
virtual PyObject * Call(CPPInstance *&, PyObject *args, PyObject *kwds, CallContext *ctxt=nullptr)
virtual PyCallable * Clone()
CPPMethod(Cppyy::TCppScope_t scope, Cppyy::TCppMethod_t method)
Set of helper functions that are invoked from the pythonizors, on the Python side.