Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
CPyCppyy::CPPInstance Class Reference

Definition at line 26 of file CPPInstance.h.

Public Types

enum  EFlags {
  kDefault = 0x0000 , kNoWrapConv = 0x0001 , kIsOwner = 0x0002 , kIsExtended = 0x0004 ,
  kIsReference = 0x0008 , kIsRValue = 0x0010 , kIsValue = 0x0020 , kIsPtrPtr = 0x0040 ,
  kIsSmartPtr = 0x0080 , kNoMemReg = 0x0100 , kHasLifeline = 0x0200 , kIsRegulated = 0x0400
}
 

Public Member Functions

 CPPInstance ()=delete
 
CPPInstanceCopy (void *cppinst)
 
void CppOwns ()
 
CI_DatamemberCache_tGetDatamemberCache ()
 
voidGetObject ()
 
void *& GetObjectRaw ()
 
Cppyy::TCppType_t GetSmartIsA () const
 
voidGetSmartObject ()
 
bool IsExtended () const
 
bool IsSmart () const
 
Cppyy::TCppType_t ObjectIsA (bool check_smart=true) const
 
void PythonOwns ()
 
void Set (void *address, EFlags flags=kDefault)
 
void SetDispatchPtr (void *)
 
void SetSmart (PyObject *smart_type)
 

Public Attributes

int fFlags
 
PyObject_HEAD voidfObject
 

Private Member Functions

void CreateExtension ()
 
voidGetExtendedObject ()
 

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

Member Enumeration Documentation

◆ EFlags

Enumerator
kDefault 
kNoWrapConv 
kIsOwner 
kIsExtended 
kIsReference 
kIsRValue 
kIsValue 
kIsPtrPtr 
kIsSmartPtr 
kNoMemReg 
kHasLifeline 
kIsRegulated 

Definition at line 28 of file CPPInstance.h.

Constructor & Destructor Documentation

◆ CPPInstance()

CPyCppyy::CPPInstance::CPPInstance ( )
delete

Member Function Documentation

◆ Copy()

CPyCppyy::CPPInstance * CPyCppyy::CPPInstance::Copy ( void cppinst)

Definition at line 100 of file CPPInstance.cxx.

◆ CppOwns()

void CPyCppyy::CPPInstance::CppOwns ( )

Definition at line 160 of file CPPInstance.cxx.

◆ CreateExtension()

void CPyCppyy::CPPInstance::CreateExtension ( )
inlineprivate

Definition at line 79 of file CPPInstance.cxx.

◆ GetDatamemberCache()

CPyCppyy::CI_DatamemberCache_t & CPyCppyy::CPPInstance::GetDatamemberCache ( )

Definition at line 184 of file CPPInstance.cxx.

◆ GetExtendedObject()

void * CPyCppyy::CPPInstance::GetExtendedObject ( )
private

Definition at line 88 of file CPPInstance.cxx.

◆ GetObject()

void * CPyCppyy::CPPInstance::GetObject ( )
inline

Definition at line 93 of file CPPInstance.h.

◆ GetObjectRaw()

void *& CPyCppyy::CPPInstance::GetObjectRaw ( )
inline

Definition at line 60 of file CPPInstance.h.

◆ GetSmartIsA()

Cppyy::TCppType_t CPyCppyy::CPPInstance::GetSmartIsA ( ) const

Definition at line 177 of file CPPInstance.cxx.

◆ GetSmartObject()

void * CPyCppyy::CPPInstance::GetSmartObject ( )
inline

Definition at line 69 of file CPPInstance.h.

◆ IsExtended()

bool CPyCppyy::CPPInstance::IsExtended ( ) const
inline

Definition at line 55 of file CPPInstance.h.

◆ IsSmart()

bool CPyCppyy::CPPInstance::IsSmart ( ) const
inline

Definition at line 56 of file CPPInstance.h.

◆ ObjectIsA()

Cppyy::TCppType_t CPyCppyy::CPPInstance::ObjectIsA ( bool  check_smart = true) const
inline

Definition at line 106 of file CPPInstance.h.

◆ PythonOwns()

void CPyCppyy::CPPInstance::PythonOwns ( )

Definition at line 152 of file CPPInstance.cxx.

◆ Set()

void CPyCppyy::CPPInstance::Set ( void address,
EFlags  flags = kDefault 
)
inline

Definition at line 85 of file CPPInstance.h.

◆ SetDispatchPtr()

void CPyCppyy::CPPInstance::SetDispatchPtr ( void ptr)

Definition at line 192 of file CPPInstance.cxx.

◆ SetSmart()

void CPyCppyy::CPPInstance::SetSmart ( PyObject smart_type)

Definition at line 168 of file CPPInstance.cxx.

Member Data Documentation

◆ fFlags

int CPyCppyy::CPPInstance::fFlags

Definition at line 45 of file CPPInstance.h.

◆ fObject

PyObject_HEAD void* CPyCppyy::CPPInstance::fObject

Definition at line 44 of file CPPInstance.h.

  • bindings/pyroot/cppyy/CPyCppyy/src/CPPInstance.h
  • bindings/pyroot/cppyy/CPyCppyy/src/CPPInstance.cxx