FNameAsStringIndexProxyArchive

Implements a proxy archive that serializes FNames as string data or an index (if the same name is repeated).

Windows
MacOS
Linux

Inheritance Hierarchy

FArchiveState

FArchive

FArchiveProxy

FNameAsStringIndexProxyArchive

References

Module

Core

Header

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

Include

#include "Serialization/NameAsStringIndexProxyArchive.h"

Syntax

struct FNameAsStringIndexProxyArchive : public FArchiveProxy

Remarks

Implements a proxy archive that serializes FNames as string data or an index (if the same name is repeated).

Variables

Name Description

Public variable

TArray< FName >

 

NamesLoaded

Table of names that is populated as the archive is being loaded.

Public variable

TSet< FName >

 

NamesSeenOnSave

When FName is first encountered, it is added to the table and saved as a string, otherwise, its index is written.

Constructors

Name Description

Public function

FNameAsStringIndexProxyArchive

(
    FArchive& InInnerArchive
)

Creates and initializes a new instance.

Operators

Name Description

Public function Virtual

FArchive &

 

operator<<

(
    FName& N
)

Serialize the given FName as an FString or an index (if we encountered it again)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss