FStructDeserializer

Implements a static class that can deserialize [UStruct](API\Runtime\CoreUObject\UObject\UStruct) based types.

Windows
MacOS
Linux

References

Module

Serialization

Header

/Engine/Source/Runtime/Serialization/Public/StructDeserializer.h

Include

#include "StructDeserializer.h"

Syntax

class FStructDeserializer

Remarks

Implements a static class that can deserialize UStruct based types.

This class implements the basic functionality for the serialization of UStructs, such as iterating a structure's properties and writing property values. The actual reading of serialized input data is performed by de-serialization backends, which allows this class to remain serialization format agnostic.

Functions

Name Description

Public function Static

bool

 

Deserialize

(
    StructType& OutStruct,
    IStructDeserializerBackend& Backen...
)

Deserializes a data structure from an archive using the default policy.

Public function Static

bool

 

Deserialize

(
    void* OutStruct,
    UStruct& TypeInfo,
    IStructDeserializerBackend& Backen...
)

Deserializes a data structure from an archive using the default policy.

Public function Static

bool

 

Deserialize

(
    StructType& OutStruct,
    IStructDeserializerBackend& Backen...,
    const FStructDeserializerPolicies&...
)

Deserializes a data structure from an archive using the specified policy.

Public function Static

bool

 

Deserialize

(
    void* OutStruct,
    UStruct& TypeInfo,
    IStructDeserializerBackend& Backen...,
    const FStructDeserializerPolicies&...
)

Deserializes a data structure from an archive using the specified policy.

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