FSlot

Syntax

class FSlot

Remarks

Contains a value in the archive; either a field or array/map element. A slot does not know it's name or location, and can merely have a value serialized into it. That value may be a literal (eg. int, float) or compound object (eg. object, array, map).

Constructors

No constructors are accessible with public or protected access.

Functions

Name Description

Public function

FArray

 

EnterArray

(
    int32 & Num
)

Public function

FMap

 

EnterMap

(
    int32 & Num
)

Public function

FRecord

 

EnterRecord()

Public function

FRecord

 

EnterRecord_TextOnly

(
    TArray < FString >& OutFieldNames
)

Public function

FStream

 

EnterStream()

Public function

FStream

 

EnterStream_TextOnly

(
    int32 & OutNumElements
)

Public function

FArchive &

 

GetUnderlyingArchive()

Public function Const

bool

 

IsFilled()

Public function

void

 

Serialize

(
    TArray < uint8 >& Data
)

Public function

void

 

Serialize

(
    void* Data,
    uint64 DataSize
)

Operators

Name Description

Public function

void

 

operator<<

(
    FString & Value
)

Public function

void

 

operator<<

(
    FName & Value
)

Public function

void

 

operator<<

(
    UObject *& Value
)

Public function

void

 

operator<<

(
    FText & Value
)

Public function

void

 

operator<<

(
    FLazyObjectPtr & Value
)

Public function

void

 

operator<<

(
    FSoftObjectPtr & Value
)

Public function

void

 

operator<<

(
    FSoftObjectPath & Value
)

Public function

void

 

operator<<

(
    bool& Value
)

Public function

void

 

operator<<

(
    FWeakObjectPtr & Value
)

Public function

void

 

operator<<

(
    double& Value
)

Public function

void

 

operator<<

(
    int16 & Value
)

Public function

void

 

operator<<

(
    int64 & Value
)

Public function

void

 

operator<<

(
    int32 & Value
)

Public function

void

 

operator<<

(
    int8 & Value
)

Public function

void

 

operator<<

(
    uint64 & Value
)

Public function

void

 

operator<<

(
    uint32 & Value
)

Public function

void

 

operator<<

(
    uint16 & Value
)

Public function

void

 

operator<<

(
    uint8 & Value
)

Public function

void

 

operator<<

(
    char& Value
)

We don't support chaining writes to a single slot, so these return void.

Public function

void

 

operator<<

(
    float& Value
)

References

Module

Core

Header

Runtime/Core/Public/Serialization/StructuredArchive.h