operator<<

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

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, FArchive & >::Type operator<<
(
    FArchive & Ar,
    T & Obj
)

Remarks

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

Returns

A reference to the same archive as Ar.

Parameters

Parameter

Description

Ar

The archive 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