Logo ROOT  
Reference Guide
CPPGetSetItem.h
Go to the documentation of this file.
1#ifndef CPYCPPYY_CPPGETSETITEM_H
2#define CPYCPPYY_CPPGETSETITEM_H
3
4// Bindings
5#include "CPPMethod.h"
6
7
8namespace CPyCppyy {
9
10class CPPSetItem : public CPPMethod {
11public:
13
14public:
15 virtual PyCallable* Clone() { return new CPPSetItem(*this); }
16
17protected:
18 virtual PyObject* PreProcessArgs(CPPInstance*& self, PyObject* args, PyObject* kwds);
19 virtual bool InitExecutor_(Executor*&, CallContext* ctxt = nullptr);
20};
21
22class CPPGetItem : public CPPMethod {
23public:
25
26public:
27 virtual PyCallable* Clone() { return new CPPGetItem(*this); }
28
29protected:
30 virtual PyObject* PreProcessArgs(CPPInstance*& self, PyObject* args, PyObject* kwds);
31};
32
33} // namespace CPyCppyy
34
35#endif // !CPYCPPYY_CPPGETSETITEM_H
_object PyObject
Definition: PyMethodBase.h:41
virtual PyCallable * Clone()
Definition: CPPGetSetItem.h:27
virtual PyObject * PreProcessArgs(CPPInstance *&self, PyObject *args, PyObject *kwds)
CPPMethod(Cppyy::TCppScope_t scope, Cppyy::TCppMethod_t method)
Definition: CPPMethod.cxx:290
virtual bool InitExecutor_(Executor *&, CallContext *ctxt=nullptr)
virtual PyCallable * Clone()
Definition: CPPGetSetItem.h:15
virtual PyObject * PreProcessArgs(CPPInstance *&self, PyObject *args, PyObject *kwds)