Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
TMemoryImagePtr< T > Class Template Reference

#include <MemoryImage.h>

+ Inheritance diagram for TMemoryImagePtr< T >:
+ Collaboration diagram for TMemoryImagePtr< T >:

Public Member Functions

bool IsFrozen () const
 
bool IsValid () const
 
bool IsNull () const
 
 TMemoryImagePtr (T *InPtr=nullptr)
 
 TMemoryImagePtr (const TMemoryImagePtr< T > &InPtr)
 
TMemoryImagePtroperator= (T *InPtr)
 
TMemoryImagePtroperator= (const TMemoryImagePtr< T > &InPtr)
 
 ~TMemoryImagePtr ()
 
int64 GetFrozenOffsetFromThis () const
 
int32 GetFrozenTypeIndex () const
 
TGet () const
 
TGetChecked () const
 
Toperator-> () const
 
Toperator* () const
 
 operator T* () const
 
void SafeDelete (const FPointerTableBase *PtrTable=nullptr)
 
void WriteMemoryImageWithDerivedType (FMemoryImageWriter &Writer, const FTypeLayoutDesc *DerivedTypeDesc) const
 

Protected Attributes

union { 
 
   uint64   Packed 
 
   FFrozenMemoryImagePtr   Frozen 
 
   T *   UnfrozenPtr 
 
};  
 

Private Member Functions

TGetFrozenPtrInternal () const
 

Detailed Description

template<typename T>
class TMemoryImagePtr< T >

Definition at line 379 of file MemoryImage.h.

Constructor & Destructor Documentation

◆ TMemoryImagePtr() [1/2]

template<typename T >
TMemoryImagePtr< T >::TMemoryImagePtr ( T * InPtr = nullptr)
inline

Definition at line 386 of file MemoryImage.h.

◆ TMemoryImagePtr() [2/2]

template<typename T >
TMemoryImagePtr< T >::TMemoryImagePtr ( const TMemoryImagePtr< T > & InPtr)
inline

Definition at line 387 of file MemoryImage.h.

◆ ~TMemoryImagePtr()

template<typename T >
TMemoryImagePtr< T >::~TMemoryImagePtr ( )
inline

Definition at line 391 of file MemoryImage.h.

Member Function Documentation

◆ Get()

template<typename T >
T * TMemoryImagePtr< T >::Get ( ) const
inline

Definition at line 399 of file MemoryImage.h.

◆ GetChecked()

template<typename T >
T * TMemoryImagePtr< T >::GetChecked ( ) const
inline

Definition at line 404 of file MemoryImage.h.

◆ GetFrozenOffsetFromThis()

template<typename T >
int64 TMemoryImagePtr< T >::GetFrozenOffsetFromThis ( ) const
inline

Definition at line 396 of file MemoryImage.h.

◆ GetFrozenPtrInternal()

template<typename T >
T * TMemoryImagePtr< T >::GetFrozenPtrInternal ( ) const
inlineprivate

Definition at line 436 of file MemoryImage.h.

◆ GetFrozenTypeIndex()

template<typename T >
int32 TMemoryImagePtr< T >::GetFrozenTypeIndex ( ) const
inline

Definition at line 397 of file MemoryImage.h.

◆ IsFrozen()

template<typename T >
bool TMemoryImagePtr< T >::IsFrozen ( ) const
inline

Definition at line 382 of file MemoryImage.h.

◆ IsNull()

template<typename T >
bool TMemoryImagePtr< T >::IsNull ( ) const
inline

Definition at line 384 of file MemoryImage.h.

◆ IsValid()

template<typename T >
bool TMemoryImagePtr< T >::IsValid ( ) const
inline

Definition at line 383 of file MemoryImage.h.

◆ operator T*()

template<typename T >
TMemoryImagePtr< T >::operator T* ( ) const
inline

Definition at line 407 of file MemoryImage.h.

◆ operator*()

template<typename T >
T & TMemoryImagePtr< T >::operator* ( ) const
inline

Definition at line 406 of file MemoryImage.h.

◆ operator->()

template<typename T >
T * TMemoryImagePtr< T >::operator-> ( ) const
inline

Definition at line 405 of file MemoryImage.h.

◆ operator=() [1/2]

Definition at line 389 of file MemoryImage.h.

◆ operator=() [2/2]

template<typename T >
TMemoryImagePtr & TMemoryImagePtr< T >::operator= ( T * InPtr)
inline

Definition at line 388 of file MemoryImage.h.

◆ SafeDelete()

template<typename T >
void TMemoryImagePtr< T >::SafeDelete ( const FPointerTableBase * PtrTable = nullptr)
inline

Definition at line 409 of file MemoryImage.h.

◆ WriteMemoryImageWithDerivedType()

template<typename T >
void TMemoryImagePtr< T >::WriteMemoryImageWithDerivedType ( FMemoryImageWriter & Writer,
const FTypeLayoutDesc * DerivedTypeDesc ) const
inline

Definition at line 419 of file MemoryImage.h.

Member Data Documentation

◆ [union]

union { ... } TMemoryImagePtr< T >

◆ Frozen

Definition at line 445 of file MemoryImage.h.

◆ Packed

template<typename T >
uint64 TMemoryImagePtr< T >::Packed

Definition at line 444 of file MemoryImage.h.

◆ UnfrozenPtr

template<typename T >
T* TMemoryImagePtr< T >::UnfrozenPtr

Definition at line 446 of file MemoryImage.h.


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