5#include "HAL/Platform.h"
7#include "Misc/Optional.h"
8#include "Serialization/StructuredArchive.h"
9#include "Serialization/StructuredArchiveSlots.h"
15
16
17
18
19
20
21
22
37 return Root.GetValue();
48FORCEINLINE FStructuredArchiveChildReader::FStructuredArchiveChildReader(FStructuredArchiveSlot InSlot)
49 : OwnedFormatter(
nullptr)
50 , StructuredArchive(
nullptr)
52 StructuredArchive =
new FStructuredArchive(InSlot.StructuredArchive.Formatter);
53 Root.Emplace(StructuredArchive->Open());
56FORCEINLINE FStructuredArchiveChildReader::~FStructuredArchiveChildReader()
58 delete StructuredArchive;
#define WITH_TEXT_ARCHIVE_SUPPORT
FStructuredArchive * StructuredArchive
FStructuredArchiveChildReader(FStructuredArchiveSlot InSlot)
FStructuredArchiveFormatter * OwnedFormatter
~FStructuredArchiveChildReader()
FStructuredArchiveChildReader & operator=(const FStructuredArchiveChildReader &)=delete
TOptional< FStructuredArchiveSlot > Root
FORCEINLINE FStructuredArchiveSlot GetRoot() const
FStructuredArchiveChildReader(FStructuredArchiveChildReader &&)=delete
FStructuredArchiveChildReader(const FStructuredArchiveChildReader &)=delete
FStructuredArchiveChildReader & operator=(FStructuredArchiveChildReader &&)=delete