Navigation
API > API/Runtime > API/Runtime/Core
Note that IndexedPtr types don't declare a default intrinsic type layout. Instead any required pointer types need to be declared/implemented using DECLARE_EXPORTED_TEMPLATE_INTRINSIC_TYPE_LAYOUT/IMPLEMENT_TEMPLATE_INTRINSIC_TYPE_LAYOUT. The TypeDesc of indexed pointers are compared for equality when adding to pointer tables, and it's possible for inline type layouts to generate multiple copies when referenced from multiple modules
| Name | TIndexedPtrBase |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Serialization/MemoryImage.h |
| Include Path | #include "Serialization/MemoryImage.h" |
Syntax
template<typename T, typename PtrType>
class TIndexedPtrBase
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TIndexedPtrBase
(
T* InPtr |
Serialization/MemoryImage.h | ||
TIndexedPtrBase
(
const TIndexedPtrBase< T, PtrType >& Rhs |
Copy constructor requires an unfrozen source. | Serialization/MemoryImage.h | |
TIndexedPtrBase
(
const TIndexedPtrBase< T, PtrType >& Rhs, |
Serialization/MemoryImage.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~TIndexedPtrBase() |
Serialization/MemoryImage.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FPtrTable | TPtrTableBase< T, PtrType > | Serialization/MemoryImage.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PackedIndex | uint64 | Serialization/MemoryImage.h | ||
| Ptr | PtrType | Serialization/MemoryImage.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| TIndexedPtrBase | union TIndexedPtrBase | Serialization/MemoryImage.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
T * Get
(
const FPtrTable& PtrTable |
Serialization/MemoryImage.h | ||
T * Get
(
const FPointerTableBase* PtrTable |
Serialization/MemoryImage.h | ||
T * GetUnfrozen() |
Serialization/MemoryImage.h | ||
bool IsFrozen() |
Serialization/MemoryImage.h | ||
bool IsNull() |
Serialization/MemoryImage.h | ||
bool IsValid() |
Serialization/MemoryImage.h | ||
void SafeRelease() |
Serialization/MemoryImage.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void SafeReleaseImpl
(
T*& InPtr |
Serialization/MemoryImage.h | ||
static void SafeReleaseImpl
(
TRefCountPtr< T >& InPtr |
Serialization/MemoryImage.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TIndexedPtrBase & operator=
(
T* Rhs |
Serialization/MemoryImage.h | ||
TIndexedPtrBase & operator=
(
const PtrType& Rhs |
Serialization/MemoryImage.h | ||
TIndexedPtrBase & operator=
(
PtrType&& Rhs |
Serialization/MemoryImage.h |