Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
cppjit::cpyrt::CallContext Struct Reference

Definition at line 19 of file CallContext.h.

Classes

struct  Temporary
 

Public Types

enum  ECallFlags {
  kNone = 0x000000 , kIsSorted = 0x000001 , kIsCreator = 0x000002 , kIsConstructor = 0x000004 ,
  kHaveImplicit = 0x000008 , kAllowImplicit = 0x000010 , kNoImplicit = 0x000020 , kCallDirect = 0x000040 ,
  kFromDescr = 0x000080 , kUseHeuristics = 0x000100 , kImplicitSmartPtrConversion , kReleaseGIL = 0x000400 ,
  kSetLifeLine = 0x000800 , kNeverLifeLine = 0x001000 , kPyException = 0x002000 , kCppException = 0x004000 ,
  kProtected = 0x008000 , kUseFFI = 0x010000 , kIsPseudoFunc = 0x020000
}
 

Public Member Functions

 CallContext ()
 
 CallContext (const CallContext &)=delete
 
 ~CallContext ()
 
void AddTemporary (PyObject *pyobj)
 
void Cleanup ()
 
Parameter * GetArgs ()
 
Parameter * GetArgs (size_t sz)
 
size_t GetEncodedSize ()
 
size_t GetSize ()
 
CallContext & operator= (const CallContext &)=delete
 

Static Public Member Functions

static uint32_t & GlobalPolicyFlags ()
 
static bool SetGlobalPolicy (ECallFlags e, bool enabled)
 

Public Attributes

interop::TCppScope_t fCurScope
 
uint32_t fFlags
 
PyObject * fPyContext
 

Private Attributes

Parameter fArgs [SMALL_ARGS_N]
 
std::vector< Parameter > * fArgsVec
 
size_t fNArgs
 
Temporary * fTemps
 

#include </github/home/ROOT-CI/src/bindings/pyroot/cppjit/src/cpyrt/CallContext.h>

Member Enumeration Documentation

◆ ECallFlags

Enumerator
kNone 
kIsSorted 
kIsCreator 
kIsConstructor 
kHaveImplicit 
kAllowImplicit 
kNoImplicit 
kCallDirect 
kFromDescr 
kUseHeuristics 
kImplicitSmartPtrConversion 
kReleaseGIL 
kSetLifeLine 
kNeverLifeLine 
kPyException 
kCppException 
kProtected 
kUseFFI 
kIsPseudoFunc 

Definition at line 31 of file CallContext.h.

Constructor & Destructor Documentation

◆ CallContext() [1/2]

cppjit::cpyrt::CallContext::CallContext ( )
inline

Definition at line 20 of file CallContext.h.

◆ CallContext() [2/2]

cppjit::cpyrt::CallContext::CallContext ( const CallContext & )
delete

◆ ~CallContext()

cppjit::cpyrt::CallContext::~CallContext ( )
inline

Definition at line 25 of file CallContext.h.

Member Function Documentation

◆ AddTemporary()

void cpyrt::CallContext::AddTemporary ( PyObject * pyobj)

Definition at line 14 of file CallContext.cxx.

◆ Cleanup()

void cpyrt::CallContext::Cleanup ( )

Definition at line 28 of file CallContext.cxx.

◆ GetArgs() [1/2]

Parameter * cppjit::cpyrt::CallContext::GetArgs ( )
inline

Definition at line 73 of file CallContext.h.

◆ GetArgs() [2/2]

Parameter * cppjit::cpyrt::CallContext::GetArgs ( size_t sz)
inline

Definition at line 62 of file CallContext.h.

◆ GetEncodedSize()

size_t cppjit::cpyrt::CallContext::GetEncodedSize ( )
inline

Definition at line 80 of file CallContext.h.

◆ GetSize()

size_t cppjit::cpyrt::CallContext::GetSize ( )
inline

Definition at line 79 of file CallContext.h.

◆ GlobalPolicyFlags()

uint32_t & cpyrt::CallContext::GlobalPolicyFlags ( )
static

Definition at line 8 of file CallContext.cxx.

◆ operator=()

CallContext & cppjit::cpyrt::CallContext::operator= ( const CallContext & )
delete

◆ SetGlobalPolicy()

bool cpyrt::CallContext::SetGlobalPolicy ( ECallFlags e,
bool enabled )
static

Definition at line 40 of file CallContext.cxx.

Member Data Documentation

◆ fArgs

Parameter cppjit::cpyrt::CallContext::fArgs[SMALL_ARGS_N]
private

Definition at line 97 of file CallContext.h.

◆ fArgsVec

std::vector<Parameter>* cppjit::cpyrt::CallContext::fArgsVec
private

Definition at line 98 of file CallContext.h.

◆ fCurScope

interop::TCppScope_t cppjit::cpyrt::CallContext::fCurScope

Definition at line 86 of file CallContext.h.

◆ fFlags

uint32_t cppjit::cpyrt::CallContext::fFlags

Definition at line 88 of file CallContext.h.

◆ fNArgs

size_t cppjit::cpyrt::CallContext::fNArgs
private

Definition at line 99 of file CallContext.h.

◆ fPyContext

PyObject* cppjit::cpyrt::CallContext::fPyContext

Definition at line 87 of file CallContext.h.

◆ fTemps

Temporary* cppjit::cpyrt::CallContext::fTemps
private

Definition at line 100 of file CallContext.h.

Collaboration diagram for cppjit::cpyrt::CallContext:
[legend]

The documentation for this struct was generated from the following files: