UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Archive.h File Reference

Go to the source code of this file.

Classes

struct  FArchiveState
 
struct  FArchiveState::FFastPathLoadBuffer
 
class  TCheckedObjPtr< T >
 
class  FArchive
 
class  FArchive::FScopeSetDebugSerializationFlags
 
class  FArchive::FScopeSeekTo
 

Namespaces

namespace  Verse
 
namespace  UE
 
namespace  UE::Serialization
 

Macros

#define USE_EVENT_DRIVEN_ASYNC_LOAD_AT_BOOT_TIME   (1)
 
#define EVENT_DRIVEN_ASYNC_LOAD_ACTIVE_AT_RUNTIME   (1)
 
#define DEVIRTUALIZE_FLinkerLoad_Serialize   (!WITH_EDITORONLY_DATA)
 
#define FArchive_Serialize_BitfieldBool(ARCHIVE, BITFIELD_BOOL)   { bool TEMP_BITFIELD_BOOL = BITFIELD_BOOL; ARCHIVE << TEMP_BITFIELD_BOOL; if (BITFIELD_BOOL != TEMP_BITFIELD_BOOL) { BITFIELD_BOOL = TEMP_BITFIELD_BOOL; } }
 
#define SerializeBitfield(Ar, BitField)
 

Typedefs

typedef TFunction< bool(double RemainingTime)> FExternalReadCallback
 

Functions

template<class T >
Arctor (FArchive &Ar)
 
template<class TEnum >
FArchiveoperator<< (FArchive &Ar, TEnumAsByte< TEnum > &Value)
 
template<typename EnumType , std::enable_if_t< TIsEnumClass< EnumType >::Value, int > = 0>
UE_FORCEINLINE_HINT FArchiveoperator<< (FArchive &Ar, EnumType &Value)
 

Macro Definition Documentation

◆ DEVIRTUALIZE_FLinkerLoad_Serialize

#define DEVIRTUALIZE_FLinkerLoad_Serialize   (!WITH_EDITORONLY_DATA)

◆ EVENT_DRIVEN_ASYNC_LOAD_ACTIVE_AT_RUNTIME

#define EVENT_DRIVEN_ASYNC_LOAD_ACTIVE_AT_RUNTIME   (1)

◆ FArchive_Serialize_BitfieldBool

◆ SerializeBitfield

#define SerializeBitfield (   Ar,
  BitField 
)
Value:
{ \
Ar.SerializeBits(&PREPROCESSOR_JOIN(TempBitfield, __LINE__), 1); \
}
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define PREPROCESSOR_JOIN(TokenA, TokenB)
Definition PreprocessorHelpers.h:104

◆ USE_EVENT_DRIVEN_ASYNC_LOAD_AT_BOOT_TIME

#define USE_EVENT_DRIVEN_ASYNC_LOAD_AT_BOOT_TIME   (1)

Typedef Documentation

◆ FExternalReadCallback

Function Documentation

◆ Arctor()

template<class T >
T Arctor ( FArchive Ar)

Template for archive constructors.

◆ operator<<() [1/2]

template<typename EnumType , std::enable_if_t< TIsEnumClass< EnumType >::Value, int > = 0>
UE_FORCEINLINE_HINT FArchive & operator<< ( FArchive Ar,
EnumType &  Value 
)

Serializes enum classes as their underlying type.

Parameters
ArThe archive to serialize from or to.
ValueThe value to serialize.

◆ operator<<() [2/2]

template<class TEnum >
FArchive & operator<< ( FArchive Ar,
TEnumAsByte< TEnum > &  Value 
)
inline

Serializes an enumeration value from or into an archive.

Parameters
ArThe archive to serialize from or to.
ValueThe value to serialize.