FSubobjectDataHandle

A subobject handle is a globally unique identifier for subobjects Upon construction, the handle will be invalid.

Choose your operating system:

Windows

macOS

Linux

References

Module

SubobjectDataInterface

Header

/Engine/Source/Editor/SubobjectDataInterface/Public/SubobjectDataHandle.h

Include

#include "SubobjectDataHandle.h"

Syntax

struct FSubobjectDataHandle

Remarks

A subobject handle is a globally unique identifier for subobjects Upon construction, the handle will be invalid. It is the responsibility of the owning FSubobjectData to set the DataPtr once the subobject data has validated that it has a good context.

Constructors

Name Description

Public function

FSubobjectDataHandle()

Destructors

Name Description

Public function

~FSubobjectDataHandle()

Functions

Name Description

Public function Const

FSubobjectDa...

 

GetData()

Public function Const

TSharedPtr< ...

 

GetSharedDataPtr()

Returns a pointer to the subobject data that this is a handle for

Public function Const

bool

 

IsValid()

True if the Handle is valid (i.e. not INDEX_NONE). This is true once GenerateNewHandle is called

Operators

Name Description

Public function Const

bool

 

operator!=

(
    const FSubobjectDataHandle& Other
)

Public function Const

bool

 

operator==

(
    const FSubobjectDataHandle& Other
)

Constants

Name

Description

InvalidHandle

A static representation of an invalid handle.