FStructuredArchive

Manages the state of an underlying [FStructuredArchiveFormatter](API\Runtime\Core\Serialization\FStructuredArchiveFormatter), and provides a consistent API for reading and writing to a structured archive.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Serialization/StructuredArchive.h"

Syntax

class FStructuredArchive

Remarks

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.

Constructors

Name Description

Public function

FStructuredArchive

(
    FArchiveFormatterType& InFormatter
)

Constructor.

Public function

FStructuredArchive

(
    const FStructuredArchive&
)

Destructors

Name Description

Public function

~FStructuredArchive()

Default destructor. Closes the archive.

Functions

Name Description

Public function

void

 

Close()

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

Public function Const

const FArchi...

 

GetArchiveState()

Gets the archiving state.

Public function Const

FArchive &

 

GetUnderlyingArchive()

Gets the serialization context from the underlying archive.

Public function

FStructuredA...

 

Open()

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

Operators

Name Description

Public function

FStructuredA...

 

operator=

(
    const FStructuredArchive&
)

Classes

Name

Description

Public struct

FContainer

Typedefs

Name

Description

FArray

FMap

FRecord

FSlot

FStream

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