FSlot

Contains a value in the archive; either a field or array/map element.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Serialization/StructuredArchive.h

Include

#include "Serialization/StructuredArchive.h"

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
)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback