FArchive::operator<<

Serializes a [UObject](API\Runtime\CoreUObject\UObject\UObject) wrapped in a [TCheckedObjPtr](API\Runtime\Core\Serialization\TCheckedObjPtr) container, using the above operator, and verifies the serialized object is derived from the correct base class, to prevent illegal casting.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Serialization/Archive.h"

Syntax

template<class T>
FArchive & operator<<
(
    TCheckedObjPtr< T > & Value
)

Remarks

Serializes a UObject wrapped in a TCheckedObjPtr container, using the above operator, and verifies the serialized object is derived from the correct base class, to prevent illegal casting.

Returns

This instance.

Parameters

Parameter

Description

Value

The value to serialize.

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