Navigation
API > API/Runtime > API/Runtime/Serialization
Implements a reader for UStruct deserialization using Cbor.
| Name | FCborStructDeserializerBackend |
| Type | class |
| Header File | /Engine/Source/Runtime/Serialization/Public/Backends/CborStructDeserializerBackend.h |
| Include Path | #include "Backends/CborStructDeserializerBackend.h" |
Syntax
class FCborStructDeserializerBackend : public IStructDeserializerBackend
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCborStructDeserializerBackend
(
FArchive& Archive, |
Creates and initializes a new instance. | Backends/CborStructDeserializerBackend.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FCborStructDeserializerBackend() |
Backends/CborStructDeserializerBackend.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bDeserializingByteArray | bool | Whether a TArray |
Backends/CborStructDeserializerBackend.h | |
| bIsLWCCompatibilityMode | bool | Whether we are deserializing for LWC backward compability mode. | Backends/CborStructDeserializerBackend.h | |
| CborReader | FCborReader | Holds the Cbor reader used for the actual reading of the archive. | Backends/CborStructDeserializerBackend.h | |
| DeserializingByteArrayIndex | int32 | The index of the next byte to copy from the CBOR byte stream into the corresponding TArray |
Backends/CborStructDeserializerBackend.h | |
| LastContext | FCborContext | Holds the last read Cbor Context. | Backends/CborStructDeserializerBackend.h | |
| LastMapKey | FString | Holds the last map key. | Backends/CborStructDeserializerBackend.h |
Functions
Public
Overridden from IStructDeserializerBackend
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FString & GetCurrentPropertyName() |
Gets the identifier of the current field. | Backends/CborStructDeserializerBackend.h | |
virtual FString GetDebugString () |
Gets a debug string for the reader's current state. | Backends/CborStructDeserializerBackend.h | |
virtual const FString & GetLastErrorMessage() |
Gets the last error message. | Backends/CborStructDeserializerBackend.h | |
virtual bool GetNextToken
(
EStructDeserializerBackendTokens& OutToken |
Reads the next token from the stream. | Backends/CborStructDeserializerBackend.h | |
virtual bool ReadPODArray
(
FArrayProperty* ArrayProperty, |
Reads the specified POD Array property from the stream. | Backends/CborStructDeserializerBackend.h | |
virtual bool ReadProperty
(
FProperty* Property, |
Reads the specified property from the stream. | Backends/CborStructDeserializerBackend.h | |
virtual void SkipArray() |
Skips the array that is currently being read from the stream. | Backends/CborStructDeserializerBackend.h | |
virtual void SkipStructure() |
Skips the object that is currently being read from the stream. | Backends/CborStructDeserializerBackend.h |