FArchiveObjectCrc32

Calculates a checksum on an object's serialized data stream.

Windows
MacOS
Linux

Inheritance Hierarchy

FArchiveState

FArchive

FArchiveUObject

FArchiveObjectCrc32

References

Module

CoreUObject

Header

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

Include

#include "Serialization/ArchiveObjectCrc32.h"

Syntax

class FArchiveObjectCrc32 : public FArchiveUObject

Remarks

Calculates a checksum on an object's serialized data stream.

Variables

Name Description

Protected variable

FMemoryWriter

 

MemoryWriter

Internal archive used for serialization

Protected variable

const UObject &...

 

ObjectBeingSerialized

Internal currently serialized object

Protected variable

TQueue< UObject...

 

ObjectsToSerialize

Internal queue of object references awaiting serialization

Protected variable

const UObject &...

 

RootObject

Internal root object

Protected variable

TArray< uint8 >

 

SerializedObjectData

Internal byte array used for serialization

Constructors

Name Description

Public function

FArchiveObjectCrc32()

Default constructor.

Functions

Name Description

Public function

uint32

 

Crc32

(
    UObject* Object,
    uint32 CRC
)

Serialize the given object, calculate and return its checksum.

Protected function Virtual

bool

 

CustomSerialize

(
    UObject* Object
)

Return if object was already serialized

Overridden from FArchive

Name Description

Public function Virtual

void

 

Serialize

(
    void* Data,
    int64 Length
)

Overridden from FArchiveState

Name Description

Public function Virtual Const

FString

 

GetArchiveName()

Returns the name of the Archive.

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss