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

Definition at line 23 of file DispatchPtr.h.

Public Member Functions

 DispatchPtr ()
 
 DispatchPtr (const DispatchPtr &other, void *cppinst)
 
 DispatchPtr (DispatchPtr &&)=delete
 
 DispatchPtr (DispatchPtr &)=delete
 
 DispatchPtr (PyObject *pyobj)
 
 ~DispatchPtr ()
 
DispatchPtrassign (const DispatchPtr &other, void *cppinst)
 
void CppOwns ()
 
 operator PyObject * () const
 
PyObjectoperator-> () const
 
DispatchPtroperator= (const DispatchPtr &other)=delete
 
void PythonOwns ()
 

Private Member Functions

PyObjectGet () const
 

Private Attributes

PyObjectfPyHardRef
 
PyObjectfPyWeakRef
 

#include <CPyCppyy/DispatchPtr.h>

Constructor & Destructor Documentation

◆ DispatchPtr() [1/5]

CPyCppyy::DispatchPtr::DispatchPtr ( )
inline

Definition at line 29 of file DispatchPtr.h.

◆ DispatchPtr() [2/5]

CPyCppyy::DispatchPtr::DispatchPtr ( PyObject pyobj)
explicit

Definition at line 18 of file DispatchPtr.cxx.

◆ DispatchPtr() [3/5]

CPyCppyy::DispatchPtr::DispatchPtr ( const DispatchPtr other,
void *  cppinst 
)

Definition at line 25 of file DispatchPtr.cxx.

◆ DispatchPtr() [4/5]

CPyCppyy::DispatchPtr::DispatchPtr ( DispatchPtr )
delete

◆ DispatchPtr() [5/5]

CPyCppyy::DispatchPtr::DispatchPtr ( DispatchPtr &&  )
delete

◆ ~DispatchPtr()

CPyCppyy::DispatchPtr::~DispatchPtr ( )
inline

Definition at line 50 of file DispatchPtr.h.

Member Function Documentation

◆ assign()

CPyCppyy::DispatchPtr & CPyCppyy::DispatchPtr::assign ( const DispatchPtr other,
void *  cppinst 
)

Definition at line 33 of file DispatchPtr.cxx.

◆ CppOwns()

void CPyCppyy::DispatchPtr::CppOwns ( )

Definition at line 56 of file DispatchPtr.cxx.

◆ Get()

PyObject * CPyCppyy::DispatchPtr::Get ( ) const
private

Definition at line 10 of file DispatchPtr.cxx.

◆ operator PyObject *()

CPyCppyy::DispatchPtr::operator PyObject * ( ) const
inline

Definition at line 61 of file DispatchPtr.h.

◆ operator->()

PyObject * CPyCppyy::DispatchPtr::operator-> ( ) const
inline

Definition at line 65 of file DispatchPtr.h.

◆ operator=()

DispatchPtr & CPyCppyy::DispatchPtr::operator= ( const DispatchPtr other)
delete

◆ PythonOwns()

void CPyCppyy::DispatchPtr::PythonOwns ( )

Definition at line 46 of file DispatchPtr.cxx.

Member Data Documentation

◆ fPyHardRef

PyObject* CPyCppyy::DispatchPtr::fPyHardRef
private

Definition at line 73 of file DispatchPtr.h.

◆ fPyWeakRef

PyObject* CPyCppyy::DispatchPtr::fPyWeakRef
private

Definition at line 74 of file DispatchPtr.h.

  • bindings/pyroot/cppyy/CPyCppyy/inc/CPyCppyy/DispatchPtr.h
  • bindings/pyroot/cppyy/CPyCppyy/src/DispatchPtr.cxx