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 () const
 

Private Attributes

PyObjectfPyHardRef
 
PyObjectfPyWeakRef
 

#include </home/sftnight/build/workspace/root-makedoc-master/rootspi/rdoc/src/master/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 23 of file DispatchPtr.cxx.

◆ DispatchPtr() [3/5]

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

Definition at line 37 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 45 of file DispatchPtr.cxx.

Member Function Documentation

◆ assign()

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

Definition at line 62 of file DispatchPtr.cxx.

◆ CppOwns()

void CPyCppyy::DispatchPtr::CppOwns ( )

Definition at line 85 of file DispatchPtr.cxx.

◆ Get()

PyObject * CPyCppyy::DispatchPtr::Get ( ) 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 75 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