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.

Choose your operating system:

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.