UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FStructuredArchive Class Reference

#include <StructuredArchive.h>

Public Types

using FSlot = FStructuredArchiveSlot
 
using FRecord = FStructuredArchiveRecord
 
using FArray = FStructuredArchiveArray
 
using FStream = FStructuredArchiveStream
 
using FMap = FStructuredArchiveMap
 

Public Member Functions

UE_API FStructuredArchive (FArchiveFormatterType &InFormatter)
 
UE_API ~FStructuredArchive ()
 
UE_API FStructuredArchiveSlot Open ()
 
UE_API void Close ()
 
UE_FORCEINLINE_HINT FArchiveGetUnderlyingArchive () const
 
UE_FORCEINLINE_HINT const FArchiveStateGetArchiveState () const
 
 FStructuredArchive (const FStructuredArchive &)=delete
 
FStructuredArchiveoperator= (const FStructuredArchive &)=delete
 

Friends

class FStructuredArchiveChildReader
 
UE::StructuredArchive::Private::FElementId UE::StructuredArchive::Private::GetCurrentSlotElementIdImpl (FStructuredArchive &Ar)
 
FArchiveFormatterTypeUE::StructuredArchive::Private::GetFormatterImpl (FStructuredArchive &Ar)
 

Detailed Description

Manages the state of an underlying FStructuredArchiveFormatter, and provides a consistent API for reading and writing to a structured archive.

Both reading and writing to the archive are forward only from an interface point of view. There is no point at which it is possible to require seeking.

Member Typedef Documentation

◆ FArray

◆ FMap

◆ FRecord

◆ FSlot

◆ FStream

Constructor & Destructor Documentation

◆ FStructuredArchive() [1/2]

UE_FORCEINLINE_HINT FStructuredArchive::FStructuredArchive ( FArchiveFormatterType InFormatter)
explicit

Constructor.

Parameters
InFormatterFormatter for the archive data

◆ ~FStructuredArchive()

UE_FORCEINLINE_HINT FStructuredArchive::~FStructuredArchive ( )

Default destructor. Closes the archive.

◆ FStructuredArchive() [2/2]

FStructuredArchive::FStructuredArchive ( const FStructuredArchive )
delete

Member Function Documentation

◆ Close()

UE_FORCEINLINE_HINT void FStructuredArchive::Close ( )

Flushes any remaining scope to the underlying formatter and closes the archive.

◆ GetArchiveState()

UE_FORCEINLINE_HINT const FArchiveState & FStructuredArchive::GetArchiveState ( ) const
inline

Gets the archiving state.

◆ GetUnderlyingArchive()

UE_FORCEINLINE_HINT FArchive & FStructuredArchive::GetUnderlyingArchive ( ) const
inline

Gets the serialization context from the underlying archive.

◆ Open()

UE_FORCEINLINE_HINT FStructuredArchiveSlot FStructuredArchive::Open ( )

Start writing to the archive, and gets an interface to the root slot.

◆ operator=()

FStructuredArchive & FStructuredArchive::operator= ( const FStructuredArchive )
delete

Friends And Related Symbol Documentation

◆ FStructuredArchiveChildReader

◆ UE::StructuredArchive::Private::GetCurrentSlotElementIdImpl

◆ UE::StructuredArchive::Private::GetFormatterImpl


The documentation for this class was generated from the following file: