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

Interface for UStruct serializer backends. 更多...

#include <IStructDeserializerBackend.h>

+ 类 IStructDeserializerBackend 继承关系图:

Public 成员函数

virtual const FString & GetCurrentPropertyName () const =0
 Gets the identifier of the current field. 更多...
 
virtual FString GetDebugString () const =0
 Gets a debug string for the reader's current state. 更多...
 
virtual const FString & GetLastErrorMessage () const =0
 Gets the last error message. 更多...
 
virtual bool GetNextToken (EStructDeserializerBackendTokens &OutToken)=0
 Reads the next token from the stream. 更多...
 
virtual bool ReadProperty (FProperty *Property, FProperty *Outer, void *Data, int32 ArrayIndex)=0
 Reads the specified property from the stream. 更多...
 
virtual void SkipArray ()=0
 Skips the array that is currently being read from the stream.
 
virtual void SkipStructure ()=0
 Skips the object that is currently being read from the stream.
 
virtual ~IStructDeserializerBackend ()
 Virtual destructor.
 

详细描述

Interface for UStruct serializer backends.

成员函数说明

◆ GetCurrentPropertyName()

virtual const FString & IStructDeserializerBackend::GetCurrentPropertyName ( ) const
pure virtual

Gets the identifier of the current field.

返回
The field's name.

在 FCborStructDeserializerBackend , 以及 FJsonStructDeserializerBackend 内被实现.

◆ GetDebugString()

virtual FString IStructDeserializerBackend::GetDebugString ( ) const
pure virtual

Gets a debug string for the reader's current state.

The returned string contains debug information that is relevant to the reader's serialization format. For example, it could be a line and column number for text based formats, or a byte offset for binary serialization formats.

返回
The debug string.

在 FCborStructDeserializerBackend , 以及 FJsonStructDeserializerBackend 内被实现.

◆ GetLastErrorMessage()

virtual const FString & IStructDeserializerBackend::GetLastErrorMessage ( ) const
pure virtual

Gets the last error message.

返回
Error message.

在 FCborStructDeserializerBackend , 以及 FJsonStructDeserializerBackend 内被实现.

◆ GetNextToken()

virtual bool IStructDeserializerBackend::GetNextToken ( EStructDeserializerBackendTokens &  OutToken)
pure virtual

Reads the next token from the stream.

参数
OutTokenWill contain the read token, if any.
返回
true if a token was read, false otherwise.

在 FCborStructDeserializerBackend , 以及 FJsonStructDeserializerBackend 内被实现.

◆ ReadProperty()

virtual bool IStructDeserializerBackend::ReadProperty ( FProperty *  Property,
FProperty *  Outer,
void *  Data,
int32  ArrayIndex 
)
pure virtual

Reads the specified property from the stream.

参数
PropertyThe property to read into.
OuterThe outer property holding the property to read (in case of arrays).
DataThe buffer that will hold the read data.
ArrayIndexAn index into the property array (for static arrays).
返回
true on success, false otherwise.

在 FCborStructDeserializerBackend , 以及 FJsonStructDeserializerBackend 内被实现.


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