FObjectReader

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

Windows
MacOS
Linux

Inheritance Hierarchy

FArchive

FMemoryArchive

FObjectReader

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

(
    TArray< uint8 >& InBytes
)

Public function

FObjectReader

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

Overridden from FArchive

Name Description

Public function Virtual Const

FString

 

GetArchiveName()

Returns the name of the Archive.

Public function Virtual

void

 

Serialize

(
    void* Data,
    int64 Num
)

Public function Virtual

int64

 

TotalSize()

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<<

(
    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.

References

Module

CoreUObject

Header

Runtime/CoreUObject/Public/Serialization/ObjectReader.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback