![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <IStructSerializerBackend.h>
Inheritance diagram for IStructSerializerBackend:Public Member Functions | |
| virtual void | BeginArray (const FStructSerializerState &State)=0 |
| virtual void | BeginStructure (const FStructSerializerState &State)=0 |
| virtual void | EndArray (const FStructSerializerState &State)=0 |
| virtual void | EndStructure (const FStructSerializerState &State)=0 |
| virtual void | WriteComment (const FString &Comment)=0 |
| virtual void | WriteProperty (const FStructSerializerState &State, int32 ArrayIndex=0)=0 |
| virtual bool | WritePODArray (const FStructSerializerState &State) |
| virtual | ~IStructSerializerBackend () |
Interface for UStruct serializer backends.
|
inlinevirtual |
Virtual destructor.
|
pure virtual |
Signals the beginning of an array.
State.ValueProperty points to the property that holds the array.
| State | The serializer's current state. |
Implemented in FCborStructSerializerBackend, and FJsonStructSerializerBackend.
|
pure virtual |
Signals the beginning of a child structure.
State.ValueProperty points to the property that holds the struct.
| State | The serializer's current state. |
Implemented in FCborStructSerializerBackend, and FJsonStructSerializerBackend.
|
pure virtual |
Signals the end of an array.
State.ValueProperty points to the property that holds the array.
| State | The serializer's current state. |
Implemented in FCborStructSerializerBackend, and FJsonStructSerializerBackend.
|
pure virtual |
Signals the end of an object.
State.ValueProperty points to the property that holds the struct.
| State | The serializer's current state. |
Implemented in FCborStructSerializerBackend, and FJsonStructSerializerBackend.
Writes a comment to the output stream.
| Comment | The comment text. |
Implemented in FCborStructSerializerBackend, and FJsonStructSerializerBackend.
|
inlinevirtual |
Writes a POD Array property to the output stream.
State.ValueProperty points to the property that holds the value to write. needs to be an ArrayProperty with a properly supported InnerProperty. State.ValueData points to the actual data to write. The array itself in this case State.TypeInfo contains the data's type information
| State | The serializer's current state. |
Reimplemented in FCborStructSerializerBackend, and FJsonStructSerializerBackend.
|
pure virtual |
Writes a property to the output stream.
Depending on the context, properties to be written can be either object properties or array elements.
State.KeyProperty points to the key property that holds the data to write. State.KeyData points to the key property's data. State.ValueProperty points to the property that holds the value to write. State.ValueData points to the actual data to write. State.TypeInfo contains the data's type information State.ArrayIndex is the optional index if the data is a value in an array.
| State | The serializer's current state. |
Implemented in FCborStructSerializerBackend, FJsonStructSerializerBackend, and FNativeJSStructSerializerBackend.