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

Interface for UStruct serializer backends. 更多...

#include <IStructSerializerBackend.h>

+ 类 IStructSerializerBackend 继承关系图:

Public 成员函数

virtual void BeginArray (const FStructSerializerState &State)=0
 Signals the beginning of an array. 更多...
 
virtual void BeginStructure (const FStructSerializerState &State)=0
 Signals the beginning of a child structure. 更多...
 
virtual void EndArray (const FStructSerializerState &State)=0
 Signals the end of an array. 更多...
 
virtual void EndStructure (const FStructSerializerState &State)=0
 Signals the end of an object. 更多...
 
virtual void WriteComment (const FString &Comment)=0
 Writes a comment to the output stream. 更多...
 
virtual void WriteProperty (const FStructSerializerState &State, int32 ArrayIndex=0)=0
 Writes a property to the output stream. 更多...
 
virtual ~IStructSerializerBackend ()
 Virtual destructor.
 

详细描述

Interface for UStruct serializer backends.

成员函数说明

◆ BeginArray()

virtual void IStructSerializerBackend::BeginArray ( const FStructSerializerState &  State)
pure virtual

Signals the beginning of an array.

State.ValueProperty points to the property that holds the array.

参数
StateThe serializer's current state.
参见
BeginStructure, EndArray

在 FCborStructSerializerBackend , 以及 FJsonStructSerializerBackend 内被实现.

◆ BeginStructure()

virtual void IStructSerializerBackend::BeginStructure ( const FStructSerializerState &  State)
pure virtual

Signals the beginning of a child structure.

State.ValueProperty points to the property that holds the struct.

参数
StateThe serializer's current state.
参见
BeginArray, EndStructure

在 FCborStructSerializerBackend , 以及 FJsonStructSerializerBackend 内被实现.

◆ EndArray()

virtual void IStructSerializerBackend::EndArray ( const FStructSerializerState &  State)
pure virtual

Signals the end of an array.

State.ValueProperty points to the property that holds the array.

参数
StateThe serializer's current state.
参见
BeginArray, EndStructure

在 FCborStructSerializerBackend , 以及 FJsonStructSerializerBackend 内被实现.

◆ EndStructure()

virtual void IStructSerializerBackend::EndStructure ( const FStructSerializerState &  State)
pure virtual

Signals the end of an object.

State.ValueProperty points to the property that holds the struct.

参数
StateThe serializer's current state.
参见
BeginStructure, EndArray

在 FCborStructSerializerBackend , 以及 FJsonStructSerializerBackend 内被实现.

◆ WriteComment()

virtual void IStructSerializerBackend::WriteComment ( const FString &  Comment)
pure virtual

Writes a comment to the output stream.

参数
CommentThe comment text.
参见
BeginArray, BeginStructure, EndArray, EndStructure, WriteProperty

在 FCborStructSerializerBackend , 以及 FJsonStructSerializerBackend 内被实现.

◆ WriteProperty()

virtual void IStructSerializerBackend::WriteProperty ( const FStructSerializerState &  State,
int32  ArrayIndex = 0 
)
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.

参数
StateThe serializer's current state.
参见
BeginArray, BeginStructure, EndArray, EndStructure, WriteComment

在 FCborStructSerializerBackend , 以及 FJsonStructSerializerBackend 内被实现.


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