PythonQt
|
a smart pointer that stores a PyObject pointer and that handles reference counting automatically More...
#include <PythonQtObjectPtr.h>
Protected Member Functions | |
void | setObject (PyObject *o) |
void | setObjectUnsafe (PyObject *o) |
a smart pointer that stores a PyObject pointer and that handles reference counting automatically
Definition at line 197 of file PythonQtObjectPtr.h.
|
inline |
Definition at line 200 of file PythonQtObjectPtr.h.
|
inline |
Definition at line 202 of file PythonQtObjectPtr.h.
References object().
|
inline |
|
inlinenoexcept |
rvalue copy constructor, does not need any incref/decref.
Definition at line 213 of file PythonQtObjectPtr.h.
|
inline |
rvalue copy constructor, does not need any incref/decref.
Definition at line 219 of file PythonQtObjectPtr.h.
PythonQtSafeObjectPtr::PythonQtSafeObjectPtr | ( | PyObject * | o | ) |
PythonQtSafeObjectPtr::~PythonQtSafeObjectPtr | ( | ) |
|
inline |
Definition at line 277 of file PythonQtObjectPtr.h.
|
inline |
Definition at line 285 of file PythonQtObjectPtr.h.
Referenced by operator=(), operator==(), and PythonQtSafeObjectPtr().
|
inline |
Definition at line 283 of file PythonQtObjectPtr.h.
|
inline |
Definition at line 265 of file PythonQtObjectPtr.h.
|
inline |
Definition at line 273 of file PythonQtObjectPtr.h.
|
inline |
Definition at line 281 of file PythonQtObjectPtr.h.
|
inline |
Definition at line 279 of file PythonQtObjectPtr.h.
|
inline |
Definition at line 232 of file PythonQtObjectPtr.h.
References PythonQtObjectPtr::object().
|
inline |
Definition at line 227 of file PythonQtObjectPtr.h.
References object().
|
inline |
Definition at line 256 of file PythonQtObjectPtr.h.
|
inline |
rvalue assignment operator that steals the reference from p
Definition at line 248 of file PythonQtObjectPtr.h.
|
inlinenoexcept |
rvalue assignment operator that steals the reference from p
Definition at line 238 of file PythonQtObjectPtr.h.
|
inline |
Definition at line 261 of file PythonQtObjectPtr.h.
References object().
|
inline |
Definition at line 269 of file PythonQtObjectPtr.h.
|
protected |
|
protected |
|
inline |
takes the object from the pointer, leaving the pointer empty. the caller has to take care about the decref of the taken object!
Definition at line 291 of file PythonQtObjectPtr.h.