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, bool strong=false)
 
 ~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 (bool borrowed=true) const
 

Private Attributes

PyObjectfPyHardRef
 
PyObjectfPyWeakRef
 

#include </home/sftnight/build/workspace/root-makedoc-v634/rootspi/rdoc/src/v6-34-00-patches/bindings/pyroot/cppyy/CPyCppyy/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,
bool  strong = false 
)
explicit

Definition at line 28 of file DispatchPtr.cxx.

◆ DispatchPtr() [3/5]

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

Definition at line 42 of file DispatchPtr.cxx.

◆ DispatchPtr() [4/5]

CPyCppyy::DispatchPtr::DispatchPtr ( DispatchPtr )
delete

◆ DispatchPtr() [5/5]

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

◆ ~DispatchPtr()

CPyCppyy::DispatchPtr::~DispatchPtr ( )

Definition at line 51 of file DispatchPtr.cxx.

Member Function Documentation

◆ assign()

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

Definition at line 69 of file DispatchPtr.cxx.

◆ CppOwns()

void CPyCppyy::DispatchPtr::CppOwns ( )

Definition at line 93 of file DispatchPtr.cxx.

◆ Get()

PyObject * CPyCppyy::DispatchPtr::Get ( bool  borrowed = true) const
private

Definition at line 11 of file DispatchPtr.cxx.

◆ operator PyObject *()

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

Definition at line 58 of file DispatchPtr.h.

◆ operator->()

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

Definition at line 62 of file DispatchPtr.h.

◆ operator=()

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

◆ PythonOwns()

void CPyCppyy::DispatchPtr::PythonOwns ( )

Definition at line 83 of file DispatchPtr.cxx.

Member Data Documentation

◆ fPyHardRef

PyObject* CPyCppyy::DispatchPtr::fPyHardRef
private

Definition at line 70 of file DispatchPtr.h.

◆ fPyWeakRef

PyObject* CPyCppyy::DispatchPtr::fPyWeakRef
private

Definition at line 71 of file DispatchPtr.h.

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