![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MemoryArchive.h>
Inheritance diagram for FMemoryArchive:Protected Member Functions | |
| FMemoryArchive () | |
Protected Member Functions inherited from FArchive | |
| void | SetShouldSkipCompilingAssets (bool Enabled) |
Protected Attributes | |
| int64 | Offset |
Friends | |
| FArchive & | operator<< (FArchive &Ar, ANSICHAR &Value) |
| FArchive & | operator<< (FArchive &Ar, WIDECHAR &Value) |
| FArchive & | operator<< (FArchive &Ar, UTF32CHAR &Value) |
| FArchive & | operator<< (FArchive &Ar, uint8 &Value) |
| FArchive & | operator<< (FArchive &Ar, int8 &Value) |
| FArchive & | operator<< (FArchive &Ar, uint16 &Value) |
| FArchive & | operator<< (FArchive &Ar, int16 &Value) |
| FArchive & | operator<< (FArchive &Ar, uint32 &Value) |
| FArchive & | operator<< (FArchive &Ar, bool &D) |
| FArchive & | operator<< (FArchive &Ar, int32 &Value) |
| FArchive & | operator<< (FArchive &Ar, float &Value) |
| FArchive & | operator<< (FArchive &Ar, double &Value) |
| FArchive & | operator<< (FArchive &Ar, uint64 &Value) |
| FArchive & | operator<< (FArchive &Ar, int64 &Value) |
| CORE_API FArchive & | operator<< (FArchive &Ar, FString &Value) |
Base class for serializing arbitrary data in memory.
|
inlineprotected |
Marked as protected to avoid instantiating this class directly
|
inlinevirtual |
Returns the name of the Archive. Useful for getting the name of the package a struct or object is in when a loading error occurs.
This is overridden for the specific Archive Types
Reimplemented from FArchive.
Reimplemented in FArrayReader, TBufferArchive< IndexSize >, TBufferArchive< 32 >, TBufferArchive< 64 >, FLargeMemoryReader, FLargeMemoryWriter, TMemoryHasher< HashBuilder, HashDigest >, FMemoryReader, FMemoryReaderView, TMemoryWriterBase< ArrayAllocatorType >, FStaticMemoryReader, UE::RemoteObject::Serialization::TArchiveRemoteObjectBase< FMemoryReader >, UE::RemoteObject::Serialization::TArchiveRemoteObjectBase< FMemoryWriter >, FObjectReader, FObjectWriter, FMaterialResourceMemoryWriter, FEventParameterWriter, and FEventParameterReader.
Serializes an FName value from or into this archive.
This operator can be implemented by sub-classes that wish to serialize FName instances.
| Value | The value to serialize. |
Reimplemented from FArchive.
Reimplemented in FMaterialResourceMemoryWriter, FObjectReader, FObjectWriter, UE::RemoteObject::Serialization::FArchiveRemoteObjectWriter, UE::RemoteObject::Serialization::FArchiveRemoteObjectReader, FDataCachePropertyWriter, FDataCachePropertyReader, Chaos::VisualDebugger::FChaosVDMemoryWriter, and Chaos::VisualDebugger::FChaosVDMemoryReader.
Serializes an UObject value from or into this archive.
This operator can be implemented by sub-classes that wish to serialize UObject instances.
| Value | The value to serialize. |
Reimplemented from FArchive.
Reimplemented in UE::RemoteObject::Serialization::FArchiveRemoteObjectWriter, UE::RemoteObject::Serialization::FArchiveRemoteObjectReader, FDataCachePropertyWriter, FDataCachePropertyReader, FObjectReader, FObjectWriter, FEventParameterArchive, and FObjectReaderWithReplacement.
Serializes an FName value from or into this archive.
This operator can be implemented by sub-classes that wish to serialize FName instances.
| Value | The value to serialize. |
Reimplemented from FArchive.
Reimplemented in FObjectReader, and FObjectWriter.
|
virtual |
Serializes a lazy object pointer value from or into this archive.
Most of the time, FLazyObjectPtrs are serialized as UObject*, but some archives need to override this.
| Value | The value to serialize. |
Reimplemented from FArchive.
Reimplemented in FObjectReader, FObjectWriter, and FObjectReaderWithReplacement.
|
virtual |
Serializes a wrapped object pointer value from or into this archive.
Most of the time, FObjectPtrs are serialized as UObject*, but some archives need to override this.
| Value | The value to serialize. |
Reimplemented from FArchive.
Reimplemented in FObjectReader, FObjectWriter, and FObjectReaderWithReplacement.
|
virtual |
Serializes soft object paths from or into this archive.
| Value | Soft object path to serialize. |
Reimplemented from FArchive.
Reimplemented in FObjectReader, FObjectWriter, and FObjectReaderWithReplacement.
|
virtual |
Serializes asset pointer from or into this archive.
Most of the time, FSoftObjectPtr are serialized as UObject *, but some archives need to override this.
| Value | The asset pointer to serialize. |
Reimplemented from FArchive.
Reimplemented in FObjectReader, FObjectWriter, and FObjectReaderWithReplacement.
|
virtual |
Serializes FWeakObjectPtr value from or into this archive.
This operator can be implemented by sub-classes that wish to serialize FWeakObjectPtr instances.
| Value | The value to serialize. |
Reimplemented from FArchive.
Reimplemented in FObjectReader, FObjectWriter, and FObjectReaderWithReplacement.
|
inline |
Serializes a UObject wrapped in a TCheckedObjPtr container, using the above operator, and verifies the serialized object is derived from the correct base class, to prevent illegal casting.
| Value | The value to serialize. |
Serializes an UObject value from or into this archive.
This operator can be implemented by sub-classes that wish to serialize UObject instances.
| Value | The value to serialize. |
Reimplemented from FArchive.
Reimplemented in FObjectReader, FObjectWriter, and FObjectReaderWithReplacement.
Attempts to set the current offset into backing data storage, this will do nothing if there is no storage.
Reimplemented from FArchive.
|
inlinefinalvirtual |
Returns the current location within the backing data storage, which can possibly be passed to Seek later to restore a read/write location. If this returns -1, there is no backing data storage and Seek will not function.
Reimplemented from FArchive.
Serializes an ANSICHAR value from or into an archive.
| Ar | The archive to serialize from or to. |
| Value | The value to serialize. |
Serializes a Boolean value from or into an archive.
| Ar | The archive to serialize from or to. |
| Value | The value to serialize. |
Serializes a double precision floating point value from or into an archive.
| Ar | The archive to serialize from or to. |
| Value | The value to serialize. |
Serializes a single precision floating point value from or into an archive.
| Ar | The archive to serialize from or to. |
| Value | The value to serialize. |
Serializes an FString value from or into an archive.
| Ar | The archive to serialize from or to. |
| Value | The value to serialize. |
Serializes a signed 16-bit integer value from or into an archive.
| Ar | The archive to serialize from or to. |
| Value | The value to serialize. |
Serializes a signed 32-bit integer value from or into an archive.
| Ar | The archive to serialize from or to. |
| Value | The value to serialize. |
Serializes a signed 64-bit integer value from or into an archive.
| Ar | The archive to serialize from or to. |
| Value | The value to serialize. |
Serializes a signed 8-bit integer value from or into an archive.
| Ar | The archive to serialize from or to. |
| Value | The value to serialize. |
Serializes an unsigned 16-bit integer value from or into an archive.
| Ar | The archive to serialize from or to. |
| Value | The value to serialize. |
Serializes an unsigned 32-bit integer value from or into an archive.
| Ar | The archive to serialize from or to. |
| Value | The value to serialize. |
Serializes a unsigned 64-bit integer value from or into an archive.
| Ar | The archive to serialize from or to. |
| Value | The value to serialize. |
Serializes an unsigned 8-bit integer value from or into an archive.
| Ar | The archive to serialize from or to. |
| Value | The value to serialize. |
Serializes a UTF32CHAR value from or into an archive.
| Ar | The archive to serialize from or to. |
| Value | The value to serialize. |
Serializes a WIDECHAR value from or into an archive.
| Ar | The archive to serialize from or to. |
| Value | The value to serialize. |
|
protected |