FPreloadableArchiveProxy

A helper class for systems that want to make their own registration system.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FArchiveState

FArchive

FPreloadableArchiveProxy

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/PreloadableFile.h

Include

#include "Misc/PreloadableFile.h"

Syntax

class FPreloadableArchiveProxy : public FArchive

Remarks

A helper class for systems that want to make their own registration system. A proxy archive that keeps a shared pointer to the inner FPreloadableArchive, so that the inner preloadablearchive will remain alive until at least as long as the proxy is destroyed.

Constructors

Name Description

Public function

FPreloadableArchiveProxy

(
    const TSharedPtr< FPreloadableArchi...
)

Overridden from FArchive

Name Description

Public function Virtual

bool

 

Close()

Attempts to close and finalize any handles used for backing data storage, returns true if it succeeded.

Public function Virtual

void

 

Seek

(
    int64 InPos
)

Attempts to set the current offset into backing data storage, this will do nothing if there is no storage.

Public function Virtual

void

 

Serialize

(
    void* V,
    int64 Length
)

Overridden from FArchiveState

Name Description

Public function Virtual Const

FString

 

GetArchiveName()

Returns the name of the Archive.

Public function Virtual

int64

 

Tell()

Returns the current location within the backing data storage, which can possibly be passed to Seek later to restore a read/write location.

Public function Virtual

int64

 

TotalSize()

Returns total size of the backing data storage.