Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
DeclareExecutors.h File Reference
#include "Python.h"
#include "cppjit_interop.h"
#include "CallContext.h"
#include "Dimensions.h"
#include "Executors.h"
#include <cstddef>
Include dependency graph for DeclareExecutors.h:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  cppjit
 
namespace  cppjit::cpyrt
 

Macros

#define CPPJIT_ARRAY_DECL_EXEC(name)
 
#define CPPJIT_DECL_EXEC(name)
 
#define CPPJIT_DECL_REFEXEC(name)
 

Macro Definition Documentation

◆ CPPJIT_ARRAY_DECL_EXEC

#define CPPJIT_ARRAY_DECL_EXEC ( name)
Value:
class name##ArrayExecutor : public Executor { \
dims_t fShape; \
\
public: \
name##ArrayExecutor(dims_t dims) : fShape(dims) {} \
PyObject* Execute(interop::TCppMethod_t, interop::TCppObject_t, \
CallContext*) override; \
bool HasState() override { return true; } \
}
dims_t fShape
_object PyObject
char name[80]
Definition TGX11.cxx:142

Definition at line 57 of file DeclareExecutors.h.

◆ CPPJIT_DECL_EXEC

#define CPPJIT_DECL_EXEC ( name)
Value:
class name##Executor : public Executor { \
public: \
PyObject* Execute(interop::TCppMethod_t, interop::TCppObject_t, \
CallContext*) override; \
}

Definition at line 19 of file DeclareExecutors.h.

◆ CPPJIT_DECL_REFEXEC

#define CPPJIT_DECL_REFEXEC ( name)
Value:
class name##RefExecutor : public RefExecutor { \
public: \
PyObject* Execute(interop::TCppMethod_t, interop::TCppObject_t, \
CallContext*) override; \
}

Definition at line 126 of file DeclareExecutors.h.

Variable Documentation

◆ fClass

interop::TCppScope_t fClass
protected

Definition at line 103 of file DeclareExecutors.h.

◆ fFlags

uint32_t fFlags
protected

Definition at line 115 of file DeclareExecutors.h.

◆ fRetType

std::string fRetType
protected

Definition at line 196 of file DeclareExecutors.h.

◆ fShape

dims_t fShape
private

Definition at line 67 of file DeclareExecutors.h.

◆ fSignature

std::string fSignature
protected

Definition at line 197 of file DeclareExecutors.h.

◆ fSize

dim_t fSize
protected

Definition at line 185 of file DeclareExecutors.h.