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

FArchive &

 

GetUnderlyingArchive()

Gets the serialization context from the underlying archive.

Public function

FStructuredArchiveSlot

 

Open()

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

Operators

Name Description

Public function

FStructuredArchive &

 

operator=

(
    const FStructuredArchive&
)

Classes

Name

Description

Public struct

FContainer

Typedefs

Name

Description

FArray

FMap

FRecord

FSlot

FStream

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback