ROOT  6.06/09
Reference Guide
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/vdb/lsf/workspace/root-makedoc-v606/rootspi/rdoc/src/v6-06-00-patches/bindings/pyroot/src/TCallContext.h>

+ Collaboration diagram for PyROOT::TCallContext:

Member Enumeration Documentation

Enumerator
kNone 
kIsSorted 
kIsCreator 
kIsConstructor 
kUseHeuristics 
kUseStrict 
kManageSmartPtr 
kReleaseGIL 
kFast 
kSafe 

Definition at line 35 of file TCallContext.h.

Constructor & Destructor Documentation

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

Definition at line 33 of file TCallContext.h.

Member Function Documentation

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.

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.

Referenced by initlibPyROOT().

Member Data Documentation

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

Definition at line 57 of file TCallContext.h.

Referenced by PyROOT::TMethodHolder::ConvertAndSetArgs(), and GILCallConstructor().

UInt_t PyROOT::TCallContext::fFlags
TCallContext::ECallFlags PyROOT::TCallContext::sMemoryPolicy = TCallContext::kUseHeuristics
static
TCallContext::ECallFlags PyROOT::TCallContext::sSignalPolicy = TCallContext::kSafe
static

Definition at line 53 of file TCallContext.h.

Referenced by PyROOT::TMethodHolder::Execute().


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