Navigation
API > API/Runtime > API/Runtime/Serialization > API/Runtime/Serialization/FStructSerializer
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void Serialize
(
const StructType& Struct, |
Serializes a given USTRUCT to a string using the default policy. | StructSerializer.h | |
static void Serialize
(
const void* Struct, |
Serializes a given data structure of the specified type using the default policy. | StructSerializer.h | |
static void Serialize
(
const StructType& Struct, |
Serializes a given USTRUCT to a string using the specified policy. | StructSerializer.h | |
static void Serialize
(
const void* Struct, |
Serializes a given data structure of the specified type using the specified policy. | StructSerializer.h |
Serialize(const StructType &, IStructSerializerBackend &)
Description
Serializes a given USTRUCT to a string using the default policy.
| Name | Serialize |
| Type | function |
| Header File | /Engine/Source/Runtime/Serialization/Public/StructSerializer.h |
| Include Path | #include "StructSerializer.h" |
template<typename StructType>
static void Serialize
(
const StructType & Struct,
IStructSerializerBackend & Backend
)
A string holding the serialized object.
Parameters
| Name | Remarks |
|---|---|
| StructType | The type of the struct to serialize. |
| Struct | The struct to serialize. |
| Backend | The serialization backend to use. |
Serialize(const void *, UStruct &, IStructSerializerBackend &)
Description
Serializes a given data structure of the specified type using the default policy.
| Name | Serialize |
| Type | function |
| Header File | /Engine/Source/Runtime/Serialization/Public/StructSerializer.h |
| Include Path | #include "StructSerializer.h" |
static void Serialize
(
const void * Struct,
UStruct & TypeInfo,
IStructSerializerBackend & Backend
)
Parameters
| Name | Remarks |
|---|---|
| Struct | The data structure to serialize. |
| TypeInfo | The structure's type information. |
| Backend | The serialization backend to use. |
See Also
- Deserialize
Serialize(const StructType &, IStructSerializerBackend &, const FStructSerializerPolicies &)
Description
Serializes a given USTRUCT to a string using the specified policy.
| Name | Serialize |
| Type | function |
| Header File | /Engine/Source/Runtime/Serialization/Public/StructSerializer.h |
| Include Path | #include "StructSerializer.h" |
template<typename StructType>
static void Serialize
(
const StructType & Struct,
IStructSerializerBackend & Backend,
const FStructSerializerPolicies & Policies
)
A string holding the serialized object.
Parameters
| Name | Remarks |
|---|---|
| StructType | The type of the struct to serialize. |
| Struct | The struct to serialize. |
| Backend | The serialization backend to use. |
| Policies | The serialization policies to use. |
Serialize(const void *, UStruct &, IStructSerializerBackend &, const FStructSerializerPolicies &)
Description
Serializes a given data structure of the specified type using the specified policy.
| Name | Serialize |
| Type | function |
| Header File | /Engine/Source/Runtime/Serialization/Public/StructSerializer.h |
| Include Path | #include "StructSerializer.h" |
| Source | /Engine/Source/Runtime/Serialization/Private/StructSerializer.cpp |
static void Serialize
(
const void * Struct,
UStruct & TypeInfo,
IStructSerializerBackend & Backend,
const FStructSerializerPolicies & Policies
)
Parameters
| Name | Remarks |
|---|---|
| Struct | The data structure to serialize. |
| TypeInfo | The structure's type information. |
| Backend | The serialization backend to use. |
| Policies | The serialization policies to use. |
See Also
- Deserialize