Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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
virtual PyCallable * Clone()
virtual PyObject * PreProcessArgs(CPPInstance *&self, PyObject *args, PyObject *kwds)
CPPMethod(Cppyy::TCppScope_t scope, Cppyy::TCppMethod_t method)
virtual bool InitExecutor_(Executor *&, CallContext *ctxt=nullptr)
virtual PyCallable * Clone()
virtual PyObject * PreProcessArgs(CPPInstance *&self, PyObject *args, PyObject *kwds)
Set of helper functions that are invoked from the pythonizors, on the Python side.