OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
CPythonObjectBorrowed Class Reference

#include "CPythonObjectBorrowed.h"

Inheritance diagram for CPythonObjectBorrowed:
CPythonObject

Public Member Functions

 CPythonObjectBorrowed (PyObject *borrowedRef)
 
void reset (PyObject *ref)
 
void reset (CPythonObject &&other)
 
- Public Member Functions inherited from CPythonObject
 CPythonObject (PyObject *ref)
 
Py_ssize_t getRefCount () const
 
CPythonObjectoperator= (const CPythonObject &other)=delete
 
 CPythonObject (const CPythonObject &other)=delete
 
CPythonObjectoperator= (CPythonObject &&other) noexcept
 
 CPythonObject (CPythonObject &&other) noexcept
 
void reset (CPythonObject &&other)
 
 operator PyObject * () const
 
bool ReferenceIsSet ()
 
void DropOwnership ()
 
void FreePythonObject ()
 
 ~CPythonObject ()
 

Additional Inherited Members

- Protected Attributes inherited from CPythonObject
PyObject * _ref
 

Constructor & Destructor Documentation

◆ CPythonObjectBorrowed()

CPythonObjectBorrowed::CPythonObjectBorrowed ( PyObject * borrowedRef)
inline

Member Function Documentation

◆ reset() [1/2]

void CPythonObject::reset ( CPythonObject && other)
inline

◆ reset() [2/2]

void CPythonObjectBorrowed::reset ( PyObject * ref)
inline

The documentation for this class was generated from the following file: