operator<<

Adapter operator which allows a type to stream to an [FStructuredArchiveSlot](API\Runtime\Core\Serialization\FStructuredArchiveSlot) when it already supports streaming to an [FArchive](API\Runtime\Core\Serialization\FArchive).

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Serialization/StructuredArchive.h"

Syntax

template<typename T>
TEnableIf< TModels< CInsertable< FArchive & >, T >::Value &&!TModels< CInsertable< FStructuredArchiveSlot >, T >::Value >::Type operator<<
(
    FStructuredArchiveSlot Slot,
    T & Obj
)

Remarks

Adapter operator which allows a type to stream to an FStructuredArchiveSlot when it already supports streaming to an FArchive.

Parameters

Parameter

Description

Slot

The slot to read from or write to.

Obj

The object to read or write.

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