![]() |
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 |
UnownedPtr< T > | BackPointer () const |
void | Swap (RetainPtr &that) |
T * | Leak () |
void | Unleak (T *ptr) |
bool | operator== (const RetainPtr &that) const |
bool | operator!= (const RetainPtr &that) const |
template<typename U> | |
bool | operator== (const U &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 29 of file retain_ptr.h.
|
defaultnoexcept |
|
inline |
Definition at line 35 of file retain_ptr.h.
|
inlineexplicitnoexcept |
Definition at line 37 of file retain_ptr.h.
|
inlinenoexcept |
Definition at line 44 of file retain_ptr.h.
References Get().
|
inlinenoexcept |
Definition at line 48 of file retain_ptr.h.
References Leak(), and Unleak().
|
inline |
Definition at line 54 of file retain_ptr.h.
|
inlinenoexcept |
Definition at line 60 of file retain_ptr.h.
References Unleak().
|
default |
Definition at line 112 of file retain_ptr.h.
Definition at line 107 of file retain_ptr.h.
References Get().
|
inline |
Definition at line 125 of file retain_ptr.h.
References Get().
|
inlinenoexcept |
Definition at line 123 of file retain_ptr.h.
Referenced by RetainPtr(), AsRaw(), BackPointer(), fxcrt::RetainPtr< CFGAS_GEFont >::operator CFGAS_GEFont *(), operator<(), operator=(), operator==(), and operator==().
|
inline |
Definition at line 129 of file retain_ptr.h.
Referenced by RetainPtr(), and operator=().
|
inlineexplicit |
Definition at line 149 of file retain_ptr.h.
|
inlinenoexcept |
Definition at line 122 of file retain_ptr.h.
|
inline |
Definition at line 133 of file retain_ptr.h.
|
inline |
Definition at line 141 of file retain_ptr.h.
|
inline |
Definition at line 150 of file retain_ptr.h.
|
inline |
Definition at line 151 of file retain_ptr.h.
|
inline |
Definition at line 145 of file retain_ptr.h.
References Get().
|
inline |
Definition at line 72 of file retain_ptr.h.
References Get(), and Reset().
|
inline |
Definition at line 89 of file retain_ptr.h.
References Reset().
|
inlinenoexcept |
Definition at line 80 of file retain_ptr.h.
References Leak(), and Unleak().
|
inlinenoexcept |
Definition at line 99 of file retain_ptr.h.
References Unleak().
|
inlinenoexcept |
Definition at line 65 of file retain_ptr.h.
References Reset().
|
inline |
Definition at line 132 of file retain_ptr.h.
References Get().
|
inline |
Definition at line 136 of file retain_ptr.h.
References Get().
|
inline |
Definition at line 116 of file retain_ptr.h.
Referenced by operator=(), operator=(), and operator=().
|
inline |
Definition at line 126 of file retain_ptr.h.
|
inline |
Definition at line 130 of file retain_ptr.h.
Referenced by RetainPtr(), RetainPtr(), operator=(), and operator=().