Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FMemoryImageWriter Class Reference

#include <MemoryImageWriter.h>

+ Collaboration diagram for FMemoryImageWriter:

Public Member Functions

 FMemoryImageWriter (FMemoryImage &InImage)
 
 FMemoryImageWriter (FMemoryImageSection *InSection)
 
 ~FMemoryImageWriter ()
 
FMemoryImageGetImage () const
 
const FPlatformTypeLayoutParametersGetHostLayoutParams () const
 
const FPlatformTypeLayoutParametersGetTargetLayoutParams () const
 
FPointerTableBaseGetPointerTable () const
 
const FPointerTableBaseTryGetPrevPointerTable () const
 
bool Is32BitTarget () const
 
bool Is64BitTarget () const
 
int32 AddTypeDependency (const FTypeLayoutDesc &TypeDesc)
 
void WriteObject (const void *Object, const FTypeLayoutDesc &TypeDesc)
 
void WriteObjectArray (const void *Object, const FTypeLayoutDesc &TypeDesc, uint32_t NumArray)
 
void WriteRootObject (const void *Object, const FTypeLayoutDesc &TypeDesc)
 
uint32 GetOffset () const
 
uint32 WriteAlignment (uint32 Alignment)
 
void WritePaddingToSize (uint32 Offset)
 
uint32 WriteBytes (const void *Data, uint32 Size)
 
FMemoryImageWriter WritePointer (const FTypeLayoutDesc &StaticTypeDesc, const FTypeLayoutDesc &DerivedTypeDesc, uint32 *OutOffsetToBase=nullptr)
 
FMemoryImageWriter WritePointer (const FTypeLayoutDesc &TypeDesc)
 
uint32 WriteNullPointer ()
 
uint32 WriteRawPointerSizedBytes (uint64 PointerValue)
 
uint32 WriteVTable (const FTypeLayoutDesc &TypeDesc, const FTypeLayoutDesc &DerivedTypeDesc)
 
uint32 WriteFMemoryImageName (int32 NumBytes, const FName &Name)
 
uint32 WriteFScriptName (const FScriptName &Name)
 
template<typename T >
void WriteObject (const T &Object)
 
template<typename T >
void WriteRootObject (const T &Object)
 
template<typename T >
uint32 WriteAlignment ()
 
template<typename T >
uint32 WriteBytes (const T &Data)
 

Public Attributes

FMemoryImageSectionSection
 

Detailed Description

Definition at line 13 of file MemoryImageWriter.h.

Constructor & Destructor Documentation

◆ FMemoryImageWriter() [1/2]

FMemoryImageWriter::FMemoryImageWriter ( FMemoryImage & InImage)
explicit

◆ FMemoryImageWriter() [2/2]

FMemoryImageWriter::FMemoryImageWriter ( FMemoryImageSection * InSection)
explicit

◆ ~FMemoryImageWriter()

FMemoryImageWriter::~FMemoryImageWriter ( )

Member Function Documentation

◆ AddTypeDependency()

int32 FMemoryImageWriter::AddTypeDependency ( const FTypeLayoutDesc & TypeDesc)

◆ GetHostLayoutParams()

const FPlatformTypeLayoutParameters & FMemoryImageWriter::GetHostLayoutParams ( ) const

◆ GetImage()

FMemoryImage & FMemoryImageWriter::GetImage ( ) const

◆ GetOffset()

uint32 FMemoryImageWriter::GetOffset ( ) const

◆ GetPointerTable()

FPointerTableBase & FMemoryImageWriter::GetPointerTable ( ) const

◆ GetTargetLayoutParams()

const FPlatformTypeLayoutParameters & FMemoryImageWriter::GetTargetLayoutParams ( ) const
+ Here is the caller graph for this function:

◆ Is32BitTarget()

bool FMemoryImageWriter::Is32BitTarget ( ) const
inline

Definition at line 26 of file MemoryImageWriter.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Is64BitTarget()

bool FMemoryImageWriter::Is64BitTarget ( ) const
inline

Definition at line 27 of file MemoryImageWriter.h.

+ Here is the call graph for this function:

◆ TryGetPrevPointerTable()

const FPointerTableBase * FMemoryImageWriter::TryGetPrevPointerTable ( ) const

◆ WriteAlignment() [1/2]

template<typename T >
uint32 FMemoryImageWriter::WriteAlignment ( )
inline

Definition at line 62 of file MemoryImageWriter.h.

◆ WriteAlignment() [2/2]

uint32 FMemoryImageWriter::WriteAlignment ( uint32 Alignment)

◆ WriteBytes() [1/2]

template<typename T >
uint32 FMemoryImageWriter::WriteBytes ( const T & Data)
inline

Definition at line 68 of file MemoryImageWriter.h.

◆ WriteBytes() [2/2]

uint32 FMemoryImageWriter::WriteBytes ( const void * Data,
uint32 Size )

◆ WriteFMemoryImageName()

uint32 FMemoryImageWriter::WriteFMemoryImageName ( int32 NumBytes,
const FName & Name )

◆ WriteFScriptName()

uint32 FMemoryImageWriter::WriteFScriptName ( const FScriptName & Name)

◆ WriteNullPointer()

uint32 FMemoryImageWriter::WriteNullPointer ( )

◆ WriteObject() [1/2]

template<typename T >
void FMemoryImageWriter::WriteObject ( const T & Object)
inline

Definition at line 48 of file MemoryImageWriter.h.

◆ WriteObject() [2/2]

void FMemoryImageWriter::WriteObject ( const void * Object,
const FTypeLayoutDesc & TypeDesc )

◆ WriteObjectArray()

void FMemoryImageWriter::WriteObjectArray ( const void * Object,
const FTypeLayoutDesc & TypeDesc,
uint32_t NumArray )

◆ WritePaddingToSize()

void FMemoryImageWriter::WritePaddingToSize ( uint32 Offset)

◆ WritePointer() [1/2]

FMemoryImageWriter FMemoryImageWriter::WritePointer ( const FTypeLayoutDesc & StaticTypeDesc,
const FTypeLayoutDesc & DerivedTypeDesc,
uint32 * OutOffsetToBase = nullptr )

◆ WritePointer() [2/2]

FMemoryImageWriter FMemoryImageWriter::WritePointer ( const FTypeLayoutDesc & TypeDesc)

◆ WriteRawPointerSizedBytes()

uint32 FMemoryImageWriter::WriteRawPointerSizedBytes ( uint64 PointerValue)

◆ WriteRootObject() [1/2]

template<typename T >
void FMemoryImageWriter::WriteRootObject ( const T & Object)
inline

Definition at line 55 of file MemoryImageWriter.h.

◆ WriteRootObject() [2/2]

void FMemoryImageWriter::WriteRootObject ( const void * Object,
const FTypeLayoutDesc & TypeDesc )

◆ WriteVTable()

uint32 FMemoryImageWriter::WriteVTable ( const FTypeLayoutDesc & TypeDesc,
const FTypeLayoutDesc & DerivedTypeDesc )

Member Data Documentation

◆ Section

FMemoryImageSection* FMemoryImageWriter::Section

Definition at line 74 of file MemoryImageWriter.h.


The documentation for this class was generated from the following file: