TIndexedPtrBase

Note that IndexedPtr types don't declare a default intrinsic type layout.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Serialization/MemoryImage.h

Include

#include "Serialization/MemoryImage.h"

Syntax

template<typename T, typename PtrType>
class TIndexedPtrBase

Remarks

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

Variables

Name Description

Public variable

FMemoryImageUPt...

 

PackedIndex

Public variable

PtrType

 

Ptr

Constructors

Name Description

Public function

TIndexedPtrBase

(
    T* InPtr
)

Public function

TIndexedPtrBase

(
    const TIndexedPtrBase< T, PtrType >...
)

Copy constructor requires an unfrozen source.

Public function

TIndexedPtrBase

(
    const TIndexedPtrBase< T, PtrType >...,
    const FPtrTable& InTable
)

Destructors

Name Description

Public function

~TIndexedPtrBase()

Functions

Name Description

Public function Const

T *

 

Get

(
    const FPtrTable& PtrTable
)

Public function Const

T *

 

Get

(
    const FPointerTableBase* PtrTa...
)

Public function Const

T *

 

GetUnfrozen()

Public function Const

bool

 

IsFrozen()

Public function Const

bool

 

IsNull()

Public function Const

bool

 

IsValid()

Public function

void

 

SafeRelease()

Operators

Name Description

Public function

TIndexedPtrB...

 

operator=

(
    T* Rhs
)

Public function

TIndexedPtrB...

 

operator=

(
    const PtrType& Rhs
)

Public function

TIndexedPtrB...

 

operator=

(
    PtrType&& Rhs
)

Typedefs

Name

Description

FPtrTable

Constants

Name

Description

IndexShift

IsFrozenMask

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss