Navigation
API > API/Runtime > API/Runtime/CoreUObject
A weak pointer to an FStore. When the normal refcount (e.g. via TRefCountPtr) on the FStore goes to zero, the FStore is deleted and calls to Pin on this weak pointer will return null. FStore is a private implementation detail; this class is public only to pass the opaque type between different Load functions.
| Name | FWeakStorePtr |
| Type | class |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/AssetRegistry/AssetRegistryStateSerialization.h |
| Include Path | #include "AssetRegistry/AssetRegistryStateSerialization.h" |
Syntax
class FWeakStorePtr
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| AssetRegistry/AssetRegistryStateSerialization.h | |||
FWeakStorePtr
(
const TRefCountPtr< const FStore >& Store |
AssetRegistry/AssetRegistryStateSerialization.h | ||
FWeakStorePtr
(
const FWeakStorePtr& Other |
AssetRegistry/AssetRegistryStateSerialization.h | ||
FWeakStorePtr
(
FWeakStorePtr&& Other |
AssetRegistry/AssetRegistryStateSerialization.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FWeakStorePtr() |
AssetRegistry/AssetRegistryStateSerialization.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| RefCountObject | FStoreRefCount * | AssetRegistry/AssetRegistryStateSerialization.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TRefCountPtr< const FStore > Pin() |
AssetRegistry/AssetRegistryStateSerialization.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FWeakStorePtr & operator=
(
const FWeakStorePtr& Other |
AssetRegistry/AssetRegistryStateSerialization.h | ||
FWeakStorePtr & operator=
(
FWeakStorePtr&& Other |
AssetRegistry/AssetRegistryStateSerialization.h |