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

Definition at line 45 of file CallContext.h.

Classes

struct  Temporary
 

Public Types

enum  ECallFlags {
  kNone = 0x0000 , kIsSorted = 0x0001 , kIsCreator = 0x0002 , kIsConstructor = 0x0004 ,
  kHaveImplicit = 0x0008 , kAllowImplicit = 0x0010 , kNoImplicit = 0x0020 , kUseHeuristics = 0x0040 ,
  kUseStrict = 0x0080 , kReleaseGIL = 0x0100 , kSetLifeLine = 0x0200 , kNeverLifeLine = 0x0400 ,
  kProtected = 0x0800 , kUseFFI = 0x1000 , kIsPseudoFunc = 0x2000
}
 

Public Member Functions

 CallContext ()
 
 CallContext (const CallContext &)=delete
 
 ~CallContext ()
 
void AddTemporary (PyObject *pyobj)
 
void Cleanup ()
 
ParameterGetArgs ()
 
ParameterGetArgs (size_t sz)
 
size_t GetSize ()
 
CallContextoperator= (const CallContext &)=delete
 

Static Public Member Functions

static bool SetGlobalSignalPolicy (bool setProtected)
 
static bool SetMemoryPolicy (ECallFlags e)
 

Public Attributes

Cppyy::TCppScope_t fCurScope
 
uint64_t fFlags
 
PyObjectfPyContext
 

Static Public Attributes

static ECallFlags sMemoryPolicy = CallContext::kUseStrict
 
static ECallFlags sSignalPolicy = CallContext::kNone
 

Private Attributes

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

#include </home/sftnight/build/workspace/root-makedoc-v628/rootspi/rdoc/src/v6-28-00-patches/bindings/pyroot/cppyy/CPyCppyy/src/CallContext.h>

Member Enumeration Documentation

◆ ECallFlags

Enumerator
kNone 
kIsSorted 
kIsCreator 
kIsConstructor 
kHaveImplicit 
kAllowImplicit 
kNoImplicit 
kUseHeuristics 
kUseStrict 
kReleaseGIL 
kSetLifeLine 
kNeverLifeLine 
kProtected 
kUseFFI 
kIsPseudoFunc 

Definition at line 52 of file CallContext.h.

Constructor & Destructor Documentation

◆ CallContext() [1/2]

CPyCppyy::CallContext::CallContext ( )
inline

Definition at line 46 of file CallContext.h.

◆ CallContext() [2/2]

CPyCppyy::CallContext::CallContext ( const CallContext )
delete

◆ ~CallContext()

CPyCppyy::CallContext::~CallContext ( )
inline

Definition at line 50 of file CallContext.h.

Member Function Documentation

◆ AddTemporary()

void CPyCppyy::CallContext::AddTemporary ( PyObject pyobj)

Definition at line 16 of file CallContext.cxx.

◆ Cleanup()

void CPyCppyy::CallContext::Cleanup ( )

Definition at line 29 of file CallContext.cxx.

◆ GetArgs() [1/2]

Parameter * CPyCppyy::CallContext::GetArgs ( )
inline

Definition at line 89 of file CallContext.h.

◆ GetArgs() [2/2]

Parameter * CPyCppyy::CallContext::GetArgs ( size_t  sz)
inline

Definition at line 81 of file CallContext.h.

◆ GetSize()

size_t CPyCppyy::CallContext::GetSize ( )
inline

Definition at line 94 of file CallContext.h.

◆ operator=()

CallContext & CPyCppyy::CallContext::operator= ( const CallContext )
delete

◆ SetGlobalSignalPolicy()

bool CPyCppyy::CallContext::SetGlobalSignalPolicy ( bool  setProtected)
static

Definition at line 53 of file CallContext.cxx.

◆ SetMemoryPolicy()

bool CPyCppyy::CallContext::SetMemoryPolicy ( ECallFlags  e)
static

Definition at line 41 of file CallContext.cxx.

Member Data Documentation

◆ fArgs

Parameter CPyCppyy::CallContext::fArgs[SMALL_ARGS_N]
private

Definition at line 104 of file CallContext.h.

◆ fArgsVec

std::vector<Parameter>* CPyCppyy::CallContext::fArgsVec
private

Definition at line 105 of file CallContext.h.

◆ fCurScope

Cppyy::TCppScope_t CPyCppyy::CallContext::fCurScope

Definition at line 99 of file CallContext.h.

◆ fFlags

uint64_t CPyCppyy::CallContext::fFlags

Definition at line 98 of file CallContext.h.

◆ fNArgs

size_t CPyCppyy::CallContext::fNArgs
private

Definition at line 106 of file CallContext.h.

◆ fPyContext

PyObject* CPyCppyy::CallContext::fPyContext

Definition at line 100 of file CallContext.h.

◆ fTemps

Temporary* CPyCppyy::CallContext::fTemps
private

Definition at line 108 of file CallContext.h.

◆ sMemoryPolicy

CallContext::ECallFlags CPyCppyy::CallContext::sMemoryPolicy = CallContext::kUseStrict
static

Definition at line 71 of file CallContext.h.

◆ sSignalPolicy

CallContext::ECallFlags CPyCppyy::CallContext::sSignalPolicy = CallContext::kNone
static

Definition at line 78 of file CallContext.h.

Collaboration diagram for CPyCppyy::CallContext:
[legend]

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