engine
 
载入中...
搜索中...
未找到
静态 Public 成员函数 | 所有成员列表
FStructDeserializer类 参考

Implements a static class that can deserialize UStruct based types. 更多...

#include <StructDeserializer.h>

静态 Public 成员函数

template<typename StructType >
static bool Deserialize (StructType &OutStruct, IStructDeserializerBackend &Backend)
 Deserializes a data structure from an archive using the default policy. 更多...
 
template<typename StructType >
static bool Deserialize (StructType &OutStruct, IStructDeserializerBackend &Backend, const FStructDeserializerPolicies &Policies)
 Deserializes a data structure from an archive using the specified policy. 更多...
 
static bool Deserialize (void *OutStruct, UStruct &TypeInfo, IStructDeserializerBackend &Backend)
 Deserializes a data structure from an archive using the default policy. 更多...
 
static SERIALIZATION_API bool Deserialize (void *OutStruct, UStruct &TypeInfo, IStructDeserializerBackend &Backend, const FStructDeserializerPolicies &Policies)
 Deserializes a data structure from an archive using the specified policy. 更多...
 
static SERIALIZATION_API bool DeserializeElement (void *OutStruct, UStruct &TypeInfo, int32 ElementIndex, IStructDeserializerBackend &Backend, const FStructDeserializerPolicies &Policies)
 Deserializes a data structure element from an archive using the specified policy. 更多...
 

详细描述

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.

成员函数说明

◆ Deserialize() [1/4]

template<typename StructType >
static bool FStructDeserializer::Deserialize ( StructType &  OutStruct,
IStructDeserializerBackend &  Backend 
)
inlinestatic

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

参数
OutStructThe struct to deserialize into.
BackendThe de-serialization backend to use.
返回
true if deserialization was successful, false otherwise.

◆ Deserialize() [2/4]

template<typename StructType >
static bool FStructDeserializer::Deserialize ( StructType &  OutStruct,
IStructDeserializerBackend &  Backend,
const FStructDeserializerPolicies &  Policies 
)
inlinestatic

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

参数
OutStructThe struct to deserialize into.
BackendThe de-serialization backend to use.
PoliciesThe de-serialization policies to use.
返回
true if deserialization was successful, false otherwise.

◆ Deserialize() [3/4]

static bool FStructDeserializer::Deserialize ( void *  OutStruct,
UStruct &  TypeInfo,
IStructDeserializerBackend &  Backend 
)
inlinestatic

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

参数
OutStructA pointer to the data structure to deserialize into.
TypeInfoThe data structure's type information.
BackendThe de-serialization backend to use.
返回
true if deserialization was successful, false otherwise.

◆ Deserialize() [4/4]

static SERIALIZATION_API bool FStructDeserializer::Deserialize ( void *  OutStruct,
UStruct &  TypeInfo,
IStructDeserializerBackend &  Backend,
const FStructDeserializerPolicies &  Policies 
)
static

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

参数
OutStructA pointer to the data structure to deserialize into.
TypeInfoThe data structure's type information.
BackendThe de-serialization backend to use.
PoliciesThe de-serialization policies to use.
返回
true if deserialization was successful, false otherwise.

◆ DeserializeElement()

static SERIALIZATION_API bool FStructDeserializer::DeserializeElement ( void *  OutStruct,
UStruct &  TypeInfo,
int32  ElementIndex,
IStructDeserializerBackend &  Backend,
const FStructDeserializerPolicies &  Policies 
)
static

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

参数
OutStructA pointer to the data structure to deserialize into.
TypeInfoThe data structure's type information.
ElementIndexThe element index to deserialize in case of a container property.
BackendThe de-serialization backend to use.
PoliciesThe de-serialization policies to use.
返回
true if deserialization was successful, false otherwise.

该类的文档由以下文件生成: