![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <retain_ptr.h>
Public Member Functions | |
| RetainPtr () noexcept=default | |
| RetainPtr (std::nullptr_t ptr) | |
| RetainPtr (T *pObj) noexcept | |
| RetainPtr (const RetainPtr &that) noexcept | |
| RetainPtr (RetainPtr &&that) noexcept | |
| template<class U, typename = typename std::enable_if< std::is_convertible<U*, T*>::value>::type> | |
| RetainPtr (const RetainPtr< U > &that) | |
| template<class U, typename = typename std::enable_if< std::is_convertible<U*, T*>::value>::type> | |
| RetainPtr (RetainPtr< U > &&that) noexcept | |
| RetainPtr & | operator= (std::nullptr_t) noexcept |
| RetainPtr & | operator= (const RetainPtr &that) |
| RetainPtr & | operator= (RetainPtr &&that) noexcept |
| template<class U, typename = typename std::enable_if< std::is_convertible<U*, T*>::value>::type> | |
| RetainPtr & | operator= (const RetainPtr< U > &that) |
| template<class U, typename = typename std::enable_if< std::is_convertible<U*, T*>::value>::type> | |
| RetainPtr & | operator= (RetainPtr< U > &&that) noexcept |
| ~RetainPtr ()=default | |
| template<class U> | |
| U * | AsRaw () const |
| template<class U> | |
| RetainPtr< U > | As () const |
| void | Reset (T *obj=nullptr) |
| operator T* () const noexcept | |
| T * | Get () const noexcept |
| void | Swap (RetainPtr &that) |
| T * | Leak () |
| void | Unleak (T *ptr) |
| bool | operator== (const RetainPtr &that) const |
| template<typename U> | |
| bool | operator== (const U &that) const |
| bool | operator!= (const RetainPtr &that) const |
| template<typename U> | |
| bool | operator!= (const U &that) const |
| bool | operator< (const RetainPtr &that) const |
| operator bool () const | |
| T & | operator* () const |
| T * | operator-> () const |
Definition at line 28 of file retain_ptr.h.
|
defaultnoexcept |
|
inline |
Definition at line 34 of file retain_ptr.h.
|
inlineexplicitnoexcept |
Definition at line 36 of file retain_ptr.h.
|
inlinenoexcept |
Definition at line 43 of file retain_ptr.h.
|
inlinenoexcept |
Definition at line 47 of file retain_ptr.h.
|
inline |
Definition at line 53 of file retain_ptr.h.
|
inlinenoexcept |
Definition at line 59 of file retain_ptr.h.
|
default |
Definition at line 111 of file retain_ptr.h.
Definition at line 106 of file retain_ptr.h.
|
inlinenoexcept |
Definition at line 122 of file retain_ptr.h.
|
inline |
Definition at line 127 of file retain_ptr.h.
|
inlineexplicit |
Definition at line 147 of file retain_ptr.h.
|
inlinenoexcept |
Definition at line 121 of file retain_ptr.h.
|
inline |
Definition at line 131 of file retain_ptr.h.
|
inline |
Definition at line 139 of file retain_ptr.h.
|
inline |
Definition at line 148 of file retain_ptr.h.
|
inline |
Definition at line 149 of file retain_ptr.h.
|
inline |
Definition at line 143 of file retain_ptr.h.
|
inline |
Definition at line 71 of file retain_ptr.h.
|
inline |
Definition at line 88 of file retain_ptr.h.
|
inlinenoexcept |
Definition at line 79 of file retain_ptr.h.
|
inlinenoexcept |
Definition at line 98 of file retain_ptr.h.
|
inlinenoexcept |
Definition at line 64 of file retain_ptr.h.
|
inline |
Definition at line 130 of file retain_ptr.h.
|
inline |
Definition at line 134 of file retain_ptr.h.
|
inline |
Definition at line 115 of file retain_ptr.h.
|
inline |
Definition at line 124 of file retain_ptr.h.
|
inline |
Definition at line 128 of file retain_ptr.h.