![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#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 FArchive & | GetUnderlyingArchive () const |
| UE_FORCEINLINE_HINT const FArchiveState & | GetArchiveState () const |
| FStructuredArchive (const FStructuredArchive &)=delete | |
| FStructuredArchive & | operator= (const FStructuredArchive &)=delete |
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.
|
explicit |
Constructor.
| InFormatter | Formatter for the archive data |
| UE_FORCEINLINE_HINT FStructuredArchive::~FStructuredArchive | ( | ) |
Default destructor. Closes the archive.
|
delete |
| UE_FORCEINLINE_HINT void FStructuredArchive::Close | ( | ) |
Flushes any remaining scope to the underlying formatter and closes the archive.
|
inline |
Gets the archiving state.
|
inline |
Gets the serialization context from the underlying archive.
| UE_FORCEINLINE_HINT FStructuredArchiveSlot FStructuredArchive::Open | ( | ) |
Start writing to the archive, and gets an interface to the root slot.
|
delete |
|
friend |
|
friend |
|
friend |