HDK
|
#include <UI_XPtr.h>
Public Types | |
using | PointerType = T * |
using | ElementType = T |
using | ThisType = UI_XPtr< T > |
Public Member Functions | |
SYS_FORCE_INLINE | UI_XPtr () noexcept=default |
SYS_FORCE_INLINE | UI_XPtr (T *ptr, bool owner) noexcept |
Construct via raw pointer with ownership flag. More... | |
UI_XPtr (std::nullptr_t) noexcept | |
Construct with nullptr. More... | |
SYS_FORCE_INLINE | ~UI_XPtr () |
template<typename U > | |
SYS_FORCE_INLINE | UI_XPtr (UI_XPtr< U > &&other) noexcept |
template<typename U > | |
SYS_FORCE_INLINE UI_XPtr & | operator= (UI_XPtr< U > &&other) noexcept |
UI_XPtr (const ThisType &other)=delete | |
UI_XPtr & | operator= (const ThisType &other)=delete |
UI_XPtr & | operator= (std::nullptr_t) noexcept |
Assign nullptr. More... | |
SYS_FORCE_INLINE bool | operator== (const ThisType &other) const noexcept |
SYS_FORCE_INLINE bool | operator!= (const ThisType &other) const noexcept |
SYS_FORCE_INLINE T & | operator* () const noexcept |
SYS_FORCE_INLINE T * | operator-> () const noexcept |
SYS_FORCE_INLINE T * | get () const noexcept |
SYS_FORCE_INLINE T * | release () noexcept |
SYS_NO_DISCARD_RESULT ThisType | ref () const noexcept |
Return an unowned reference to the underlying pointer. More... | |
SYS_FORCE_INLINE bool | isOwner () const noexcept |
Determine if this is an owning pointer. More... | |
template<typename U > | |
SYS_FORCE_INLINE UI_XPtr< T > & | operator= (UI_XPtr< U > &&other) noexcept |
SYS_FORCE_INLINE | operator bool () const noexcept |
SYS_FORCE_INLINE | operator bool () noexcept |
SYS_FORCE_INLINE void | reset () noexcept |
SYS_FORCE_INLINE void | reset (T *ptr, bool owner) noexcept |
SYS_FORCE_INLINE void | swap (ThisType &b) noexcept |
SYS_FORCE_INLINE friend void | swap (ThisType &a, ThisType &b) noexcept |
Smart pointer class for holding UI_Look instances. Similar to a UT_UniquePtr, it additionally tracks whether its pointer is an owner or not.
|
defaultnoexcept |
|
noexcept |
SYS_FORCE_INLINE UI_XPtr< T >::~UI_XPtr | ( | ) |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlineexplicitnoexcept |
|
inlineexplicitnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
friend |