Logo ROOT   6.12/07
Reference Guide
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
PyROOT::TCallContext Struct Reference

Definition at line 32 of file TCallContext.h.

Public Types

enum  ECallFlags {
  kNone = 0, kIsSorted = 1, kIsCreator = 2, kIsConstructor = 4,
  kUseHeuristics = 8, kUseStrict = 16, kManageSmartPtr = 32, kReleaseGIL = 64,
  kFast = 128, kSafe = 256
}
 

Public Member Functions

 TCallContext (std::vector< TParameter >::size_type sz=0)
 

Static Public Member Functions

static Bool_t SetMemoryPolicy (ECallFlags e)
 Set the global memory policy, which affects object ownership when objects are passed as function arguments. More...
 
static Bool_t SetSignalPolicy (ECallFlags e)
 Set the global signal policy, which determines whether a jmp address should be saved to return to after a C++ segfault. More...
 

Public Attributes

std::vector< TParameterfArgs
 
UInt_t fFlags
 

Static Public Attributes

static ECallFlags sMemoryPolicy = TCallContext::kUseHeuristics
 
static ECallFlags sSignalPolicy = TCallContext::kSafe
 

#include </mnt/build/workspace/root-makedoc-v612/rootspi/rdoc/src/v6-12-00-patches/bindings/pyroot/src/TCallContext.h>

Member Enumeration Documentation

◆ ECallFlags

Enumerator
kNone 
kIsSorted 
kIsCreator 
kIsConstructor 
kUseHeuristics 
kUseStrict 
kManageSmartPtr 
kReleaseGIL 
kFast 
kSafe 

Definition at line 35 of file TCallContext.h.

Constructor & Destructor Documentation

◆ TCallContext()

PyROOT::TCallContext::TCallContext ( std::vector< TParameter >::size_type  sz = 0)
inline

Definition at line 33 of file TCallContext.h.

Member Function Documentation

◆ SetMemoryPolicy()

Bool_t PyROOT::TCallContext::SetMemoryPolicy ( ECallFlags  e)
static

Set the global memory policy, which affects object ownership when objects are passed as function arguments.

Definition at line 20 of file TCallContext.cxx.

◆ SetSignalPolicy()

Bool_t PyROOT::TCallContext::SetSignalPolicy ( ECallFlags  e)
static

Set the global signal policy, which determines whether a jmp address should be saved to return to after a C++ segfault.

Definition at line 33 of file TCallContext.cxx.

Member Data Documentation

◆ fArgs

std::vector< TParameter > PyROOT::TCallContext::fArgs

Definition at line 57 of file TCallContext.h.

◆ fFlags

UInt_t PyROOT::TCallContext::fFlags

Definition at line 58 of file TCallContext.h.

◆ sMemoryPolicy

TCallContext::ECallFlags PyROOT::TCallContext::sMemoryPolicy = TCallContext::kUseHeuristics
static

Definition at line 49 of file TCallContext.h.

◆ sSignalPolicy

TCallContext::ECallFlags PyROOT::TCallContext::sSignalPolicy = TCallContext::kSafe
static

Definition at line 53 of file TCallContext.h.

Collaboration diagram for PyROOT::TCallContext:
[legend]

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