Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Serialization
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
| Type | Name | Description | |
|---|---|---|---|
FStructuredArchive
(
FArchiveFormatterType& InFormatter |
Constructor. | ||
FStructuredArchive
(
const FStructuredArchive& |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Default destructor. Closes the archive. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Close () |
Flushes any remaining scope to the underlying formatter and closes the archive. | |
| const FArchiveState & | Gets the archiving state. | ||
| FArchive & | Gets the serialization context from the underlying archive. | ||
| FStructuredArchiveSlot | Open () |
Start writing to the archive, and gets an interface to the root slot. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FStructuredArchive & | operator=
(
const FStructuredArchive& |