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

#include "CPythonObjectNew.h"

Inheritance diagram for CPythonObjectNew:
CPythonObject

Public Member Functions

 CPythonObjectNew (PyObject *newRef)
 
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

◆ CPythonObjectNew()

CPythonObjectNew::CPythonObjectNew ( PyObject * newRef)
inline

Member Function Documentation

◆ reset() [1/2]

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

◆ reset() [2/2]

void CPythonObjectNew::reset ( PyObject * ref)
inline

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