Choose your operating system:
Windows
macOS
Linux
| TPersistentObjectPtr
|
Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/UObject/LazyObjectPtr.h |
Include |
#include "UObject/LazyObjectPtr.h" |
template<class T>
struct TLazyObjectPtr : private FLazyObjectPtr
TLazyObjectPtr is templatized version of the generic FLazyObjectPtr
Name | Description | |
---|---|---|
|
TLazyObjectPtr() |
|
|
TLazyObjectPtr ( |
|
|
TLazyObjectPtr ( |
|
|
TLazyObjectPtr ( |
Construct from another lazy pointer with implicit upcasting allowed |
|
TLazyObjectPtr ( |
Construct from an object pointer |
Name | Description | ||
---|---|---|---|
|
T * |
Get() |
Dereference the lazy pointer. |
|
const FUniqu... |
GetUniqueID() |
Gets the unique object identifier associated with this lazy pointer. |
|
IsNull() |
Test if this can never point to a live UObject |
|
|
IsPending() |
Test if this does not point to a live UObject, but may in the future |
|
|
IsStale() |
Slightly different than !IsValid(), returns true if this used to point to a UObject, but doesn't any more and has not been assigned or reset in the mean time. |
|
|
IsValid() |
Test if this points to a live UObject |
|
|
Reset() |
Reset the lazy pointer back to the null state |
Name | Description | ||
---|---|---|---|
|
operator bool() |
Dereference lazy pointer to see if it points somewhere valid |
|
|
T & |
operator*() |
Dereference the lazy pointer |
|
operator= ( |
Copy from a unique object identifier WARNING: this doesn't check the type of the object is correct, because the object corresponding to this ID may not even be loaded! |
|
|
TLazyObjectP... |
operator= ( |
|
|
TLazyObjectP... |
operator= ( |
|
|
TLazyObjectP... |
operator= ( |
Assign from another lazy pointer with implicit upcasting allowed |
|
operator= ( |
Copy from an object pointer |
|
|
T * |
operator->() |
Dereference the lazy pointer |