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.
|
pure virtual |
Gets the identifier of the current field.
在 FCborStructDeserializerBackend , 以及 FJsonStructDeserializerBackend 内被实现.
|
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.
在 FCborStructDeserializerBackend , 以及 FJsonStructDeserializerBackend 内被实现.
|
pure virtual |
Gets the last error message.
在 FCborStructDeserializerBackend , 以及 FJsonStructDeserializerBackend 内被实现.
|
pure virtual |
Reads the next token from the stream.
| OutToken | Will contain the read token, if any. |
在 FCborStructDeserializerBackend , 以及 FJsonStructDeserializerBackend 内被实现.
|
pure virtual |
Reads the specified property from the stream.
| Property | The property to read into. |
| Outer | The outer property holding the property to read (in case of arrays). |
| Data | The buffer that will hold the read data. |
| ArrayIndex | An index into the property array (for static arrays). |
在 FCborStructDeserializerBackend , 以及 FJsonStructDeserializerBackend 内被实现.