![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qscopedpointer.h>
Public Types | |
typedef T * | pointer |
Public Member Functions | |
Q_NODISCARD_CTOR | QScopedPointer (T *p=nullptr) noexcept |
~QScopedPointer () | |
T & | operator* () const |
T * | operator-> () const noexcept |
bool | operator! () const noexcept |
operator bool () const | |
T * | data () const noexcept |
T * | get () const noexcept |
bool | isNull () const noexcept |
void | reset (T *other=nullptr) noexcept(noexcept(Cleanup::cleanup(std::declval< T * >()))) |
Protected Attributes | |
T * | d |
Friends | |
bool | operator== (const QScopedPointer< T, Cleanup > &lhs, const QScopedPointer< T, Cleanup > &rhs) noexcept |
bool | operator!= (const QScopedPointer< T, Cleanup > &lhs, const QScopedPointer< T, Cleanup > &rhs) noexcept |
bool | operator== (const QScopedPointer< T, Cleanup > &lhs, std::nullptr_t) noexcept |
bool | operator== (std::nullptr_t, const QScopedPointer< T, Cleanup > &rhs) noexcept |
bool | operator!= (const QScopedPointer< T, Cleanup > &lhs, std::nullptr_t) noexcept |
bool | operator!= (std::nullptr_t, const QScopedPointer< T, Cleanup > &rhs) noexcept |
Definition at line 70 of file qscopedpointer.h.
typedef T* QScopedPointer< T, Cleanup >::pointer |
Definition at line 145 of file qscopedpointer.h.
|
inlineexplicitnoexcept |
Definition at line 74 of file qscopedpointer.h.
|
inline |
Definition at line 78 of file qscopedpointer.h.
|
inlinenoexcept |
Definition at line 105 of file qscopedpointer.h.
Referenced by QScopedPointer< QPlatformCursor >::operator!=, and QScopedPointer< QPlatformCursor >::operator==.
|
inlinenoexcept |
Definition at line 110 of file qscopedpointer.h.
|
inlinenoexcept |
Definition at line 115 of file qscopedpointer.h.
Referenced by QScopedPointer< QPlatformCursor >::operator bool(), QScopedPointer< QPlatformCursor >::operator!=, QScopedPointer< QPlatformCursor >::operator!=, QScopedPointer< QPlatformCursor >::operator==, and QScopedPointer< QPlatformCursor >::operator==.
|
inlineexplicit |
Definition at line 100 of file qscopedpointer.h.
|
inlinenoexcept |
Definition at line 95 of file qscopedpointer.h.
|
inline |
Definition at line 84 of file qscopedpointer.h.
|
inlinenoexcept |
Definition at line 90 of file qscopedpointer.h.
|
inlinenoexcept |
Definition at line 120 of file qscopedpointer.h.
|
friend |
Definition at line 152 of file qscopedpointer.h.
|
friend |
Definition at line 167 of file qscopedpointer.h.
|
friend |
Definition at line 172 of file qscopedpointer.h.
|
friend |
Definition at line 147 of file qscopedpointer.h.
|
friend |
Definition at line 157 of file qscopedpointer.h.
|
friend |
Definition at line 162 of file qscopedpointer.h.
|
protected |
Definition at line 184 of file qscopedpointer.h.
Referenced by QScopedPointer< QPlatformCursor >::~QScopedPointer(), QScopedPointer< QPlatformCursor >::data(), QScopedPointer< QPlatformCursor >::get(), QScopedPointer< QPlatformCursor >::isNull(), QScopedPointer< QPlatformCursor >::operator!(), QScopedPointer< QPlatformCursor >::operator*(), QScopedPointer< QPlatformCursor >::operator->(), and QScopedPointer< QPlatformCursor >::reset().