FDuplicateDataWriter

Writes duplicated objects to a memory buffer, duplicating referenced inner objects and adding the duplicates to the DuplicatedObjects map.

Windows
MacOS
Linux

Inheritance Hierarchy

FArchiveState

FArchive

FArchiveUObject

FDuplicateDataWriter

References

Module

CoreUObject

Header

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

Include

#include "Serialization/DuplicatedDataWriter.h"

Syntax

class FDuplicateDataWriter : public FArchiveUObject

Remarks

Writes duplicated objects to a memory buffer, duplicating referenced inner objects and adding the duplicates to the DuplicatedObjects map.

Variables

Name Description

Public variable

TArray< UObject...

 

UnserializedObjects

Constructors

Name Description

Public function

FDuplicateDataWriter

(
    FUObjectAnnotationSparse< FDuplicat...,
    FLargeMemoryData& InObjectData,
    UObject* SourceObject,
    UObject* DestObject,
    EObjectFlags InFlagMask,
    EObjectFlags InApplyMask,
    EInternalObjectFlags InInternalFlag...,
    EInternalObjectFlags InApplyInterna...,
    FObjectInstancingGraph* InInst...,
    uint32 InPortFlags,
    bool InAssignExternalPackages
)

Constructor

Constructor

Functions

Name Description

Public function

UObject *...

 

GetDuplicatedObject

(
    UObject* Object,
    bool bCreateIfMissing
)

Returns a pointer to the duplicate of a given object, creating the duplicate object if necessary.

Overridden from FArchiveState

Name Description

Public function Virtual Const

FString

 

GetArchiveName()

Returns the name of the Archive.

Public function Virtual

FUObjectSeri...

 

GetSerializeContext()

Gets the current UObject serialization context for this archive.

Public function Virtual

void

 

SetSerializeContext

(
    FUObjectSerializeContext* InLo...
)

Sets the current UObject serialization context for this archive.

Public function Virtual

int64

 

Tell()

Returns the current location within the backing data storage, which can possibly be passed to Seek later to restore a read/write location.

Public function Virtual

int64

 

TotalSize()

Returns total size of the backing data storage.

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