FObjectReader

[UObject](API\Runtime\CoreUObject\UObject\UObject) Memory Reader Archive.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/Serialization/ObjectReader.h

Include

#include "Serialization/ObjectReader.h"

Syntax

class FObjectReader : public FMemoryArchive

Remarks

UObject Memory Reader Archive. Reads from InBytes, writes to Obj.

Variables

Name Description

Protected variable

const TArray< u...

 

Bytes

Constructors

Name Description

Protected function

FObjectReader

(
    const TArray< uint8 >& InBytes
)

Public function

FObjectReader

(
    UObject* Obj,
    const TArray< uint8 >& InBytes,
    bool bIgnoreClassRef,
    bool bIgnoreArchetypeRef
)

Overridden from FArchive

Name Description

Public function Virtual

void

 

Serialize

(
    void* Data,
    int64 Num
)

Overridden from FArchiveState

Name Description

Public function Virtual Const

FString

 

GetArchiveName()

Returns the name of the Archive.

Public function Virtual

int64

 

TotalSize()

Returns total size of the backing data storage.

Operators

Name Description

Public function Virtual

FArchive &

 

operator<<

(
    FName& Value
)

Serializes an FName value from or into this archive.

Public function Virtual

FArchive &

 

operator<<

(
    UObject*& Value
)

Serializes an UObject value from or into this archive.

Public function Virtual

FArchive &

 

operator<<

(
    FObjectPtr& Value
)

Serializes a wrapped object pointer value from or into this archive.

Public function Virtual

FArchive &

 

operator<<

(
    FLazyObjectPtr& Value
)

Serializes a lazy object pointer value from or into this archive.

Public function Virtual

FArchive &

 

operator<<

(
    FSoftObjectPtr& Value
)

Serializes asset pointer from or into this archive.

Public function Virtual

FArchive &

 

operator<<

(
    FSoftObjectPath& Value
)

Serializes soft object paths from or into this archive.

Public function Virtual

FArchive &

 

operator<<

(
    FWeakObjectPtr& Value
)

Serializes FWeakObjectPtr value from or into this archive.