UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FTypeLayoutDesc Struct Reference

#include <MemoryLayout.h>

Public Types

typedef void() FDestroyFunc(void *Object, const FTypeLayoutDesc &TypeDesc, const FPointerTableBase *PtrTable, bool bIsFrozen)
 
typedef void() FWriteFrozenMemoryImageFunc(FMemoryImageWriter &Writer, const void *Object, const FTypeLayoutDesc &TypeDesc, const FTypeLayoutDesc &DerivedTypeDesc)
 
typedef uint32() FUnfrozenCopyFunc(const FMemoryUnfreezeContent &Context, const void *Object, const FTypeLayoutDesc &TypeDesc, void *OutDst)
 
typedef uint32() FAppendHashFunc(const FTypeLayoutDesc &TypeDesc, const FPlatformTypeLayoutParameters &LayoutParams, FSHA1 &Hasher)
 
typedef uint32() FGetTargetAlignmentFunc(const FTypeLayoutDesc &TypeDesc, const FPlatformTypeLayoutParameters &LayoutParams)
 
typedef void() FToStringFunc(const void *Object, const FTypeLayoutDesc &TypeDesc, const FPlatformTypeLayoutParameters &LayoutParams, FMemoryToStringContext &OutContext)
 
typedef const void *() FGetDefaultFunc()
 

Public Member Functions

CORE_API uint32 GetOffsetToBase (const FTypeLayoutDesc &BaseTypeDesc) const
 
CORE_API bool IsDerivedFrom (const FTypeLayoutDesc &BaseTypeDesc) const
 

Static Public Member Functions

static CORE_API const FTypeLayoutDescGetInvalidTypeLayout ()
 
static CORE_API void Initialize (FTypeLayoutDesc &TypeDesc)
 
static CORE_API void Register (FTypeLayoutDesc &TypeDesc)
 
static CORE_API const FTypeLayoutDescFind (uint64 NameHash)
 

Public Attributes

const FTypeLayoutDescHashNext
 
const TCHARName
 
const FFieldLayoutDescFields
 
FDestroyFuncDestroyFunc
 
FWriteFrozenMemoryImageFuncWriteFrozenMemoryImageFunc
 
FUnfrozenCopyFuncUnfrozenCopyFunc
 
FAppendHashFuncAppendHashFunc
 
FGetTargetAlignmentFuncGetTargetAlignmentFunc
 
FToStringFuncToStringFunc
 
FGetDefaultFuncGetDefaultObjectFunc
 
uint64 NameHash
 
uint32 Size
 
uint32 SizeFromFields
 
uint32 Alignment
 
ETypeLayoutInterface::Type Interface
 
uint8 NumBases
 
uint8 NumVirtualBases
 
uint8 IsIntrinsic: 1
 
uint8 IsInitialized: 1
 

Friends

bool operator== (const FTypeLayoutDesc &Lhs, const FTypeLayoutDesc &Rhs)
 
bool operator!= (const FTypeLayoutDesc &Lhs, const FTypeLayoutDesc &Rhs)
 

Member Typedef Documentation

◆ FAppendHashFunc

typedef uint32() FTypeLayoutDesc::FAppendHashFunc(const FTypeLayoutDesc &TypeDesc, const FPlatformTypeLayoutParameters &LayoutParams, FSHA1 &Hasher)

◆ FDestroyFunc

typedef void() FTypeLayoutDesc::FDestroyFunc(void *Object, const FTypeLayoutDesc &TypeDesc, const FPointerTableBase *PtrTable, bool bIsFrozen)

◆ FGetDefaultFunc

typedef const void *() FTypeLayoutDesc::FGetDefaultFunc()

◆ FGetTargetAlignmentFunc

typedef uint32() FTypeLayoutDesc::FGetTargetAlignmentFunc(const FTypeLayoutDesc &TypeDesc, const FPlatformTypeLayoutParameters &LayoutParams)

◆ FToStringFunc

typedef void() FTypeLayoutDesc::FToStringFunc(const void *Object, const FTypeLayoutDesc &TypeDesc, const FPlatformTypeLayoutParameters &LayoutParams, FMemoryToStringContext &OutContext)

◆ FUnfrozenCopyFunc

typedef uint32() FTypeLayoutDesc::FUnfrozenCopyFunc(const FMemoryUnfreezeContent &Context, const void *Object, const FTypeLayoutDesc &TypeDesc, void *OutDst)

◆ FWriteFrozenMemoryImageFunc

typedef void() FTypeLayoutDesc::FWriteFrozenMemoryImageFunc(FMemoryImageWriter &Writer, const void *Object, const FTypeLayoutDesc &TypeDesc, const FTypeLayoutDesc &DerivedTypeDesc)

Member Function Documentation

◆ Find()

const FTypeLayoutDesc * FTypeLayoutDesc::Find ( uint64  NameHash)
static

◆ GetInvalidTypeLayout()

const FTypeLayoutDesc & FTypeLayoutDesc::GetInvalidTypeLayout ( )
static

◆ GetOffsetToBase()

uint32 FTypeLayoutDesc::GetOffsetToBase ( const FTypeLayoutDesc BaseTypeDesc) const

◆ Initialize()

void FTypeLayoutDesc::Initialize ( FTypeLayoutDesc TypeDesc)
static

◆ IsDerivedFrom()

bool FTypeLayoutDesc::IsDerivedFrom ( const FTypeLayoutDesc BaseTypeDesc) const

◆ Register()

void FTypeLayoutDesc::Register ( FTypeLayoutDesc TypeDesc)
static

Friends And Related Symbol Documentation

◆ operator!=

bool operator!= ( const FTypeLayoutDesc Lhs,
const FTypeLayoutDesc Rhs 
)
friend

◆ operator==

bool operator== ( const FTypeLayoutDesc Lhs,
const FTypeLayoutDesc Rhs 
)
friend

Member Data Documentation

◆ Alignment

uint32 FTypeLayoutDesc::Alignment

◆ AppendHashFunc

FAppendHashFunc* FTypeLayoutDesc::AppendHashFunc

◆ DestroyFunc

FDestroyFunc* FTypeLayoutDesc::DestroyFunc

◆ Fields

const FFieldLayoutDesc* FTypeLayoutDesc::Fields

◆ GetDefaultObjectFunc

FGetDefaultFunc* FTypeLayoutDesc::GetDefaultObjectFunc

◆ GetTargetAlignmentFunc

FGetTargetAlignmentFunc* FTypeLayoutDesc::GetTargetAlignmentFunc

◆ HashNext

const FTypeLayoutDesc* FTypeLayoutDesc::HashNext

◆ Interface

ETypeLayoutInterface::Type FTypeLayoutDesc::Interface

◆ IsInitialized

uint8 FTypeLayoutDesc::IsInitialized

◆ IsIntrinsic

uint8 FTypeLayoutDesc::IsIntrinsic

◆ Name

const TCHAR* FTypeLayoutDesc::Name

◆ NameHash

uint64 FTypeLayoutDesc::NameHash

◆ NumBases

uint8 FTypeLayoutDesc::NumBases

◆ NumVirtualBases

uint8 FTypeLayoutDesc::NumVirtualBases

◆ Size

uint32 FTypeLayoutDesc::Size

◆ SizeFromFields

uint32 FTypeLayoutDesc::SizeFromFields

◆ ToStringFunc

FToStringFunc* FTypeLayoutDesc::ToStringFunc

◆ UnfrozenCopyFunc

FUnfrozenCopyFunc* FTypeLayoutDesc::UnfrozenCopyFunc

◆ WriteFrozenMemoryImageFunc

FWriteFrozenMemoryImageFunc* FTypeLayoutDesc::WriteFrozenMemoryImageFunc

The documentation for this struct was generated from the following files: