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

#include <ScriptArray.h>

+ Inheritance diagram for FScriptArray:
+ Collaboration diagram for FScriptArray:

Public Member Functions

 FScriptArray ()=default
 
void MoveAssign (FScriptArray &Other, int32 NumBytesPerElement, uint32 AlignmentOfElement)
 
 FScriptArray (const FScriptArray &)
 
void operator= (const FScriptArray &)
 
- Public Member Functions inherited from TScriptArray< FHeapAllocator >
FORCEINLINE voidGetData ()
 
FORCEINLINE const voidGetData () const
 
FORCEINLINE bool IsValidIndex (int32 i) const
 
bool IsEmpty () const
 
FORCEINLINE int32 Num () const
 
void InsertZeroed (int32 Index, int32 Count, int32 NumBytesPerElement, uint32 AlignmentOfElement)
 
void Insert (int32 Index, int32 Count, int32 NumBytesPerElement, uint32 AlignmentOfElement)
 
int32 Add (int32 Count, int32 NumBytesPerElement, uint32 AlignmentOfElement)
 
int32 AddZeroed (int32 Count, int32 NumBytesPerElement, uint32 AlignmentOfElement)
 
void Shrink (int32 NumBytesPerElement, uint32 AlignmentOfElement)
 
void SetNumUninitialized (int32 NewNum, int32 NumBytesPerElement, uint32 AlignmentOfElement, bool bAllowShrinking=true)
 
void MoveAssign (TScriptArray &Other, int32 NumBytesPerElement, uint32 AlignmentOfElement)
 
void Empty (int32 Slack, int32 NumBytesPerElement, uint32 AlignmentOfElement)
 
void Reset (int32 NewSize, int32 NumBytesPerElement, uint32 AlignmentOfElement)
 
void SwapMemory (int32 A, int32 B, int32 NumBytesPerElement)
 
 TScriptArray ()
 
 TScriptArray (const TScriptArray &)
 
void CountBytes (FArchive &Ar, int32 NumBytesPerElement) const
 
FORCEINLINE void CheckAddress (const void *Addr, int32 NumBytesPerElement) const
 
FORCEINLINE int32 GetSlack () const
 
void Remove (int32 Index, int32 Count, int32 NumBytesPerElement, uint32 AlignmentOfElement, bool bAllowShrinking=true)
 
SIZE_T GetAllocatedSize (int32 NumBytesPerElement) const
 
void operator= (const TScriptArray &)
 

Protected Member Functions

 FScriptArray (int32 InNum, int32 NumBytesPerElement, uint32 AlignmentOfElement)
 
- Protected Member Functions inherited from TScriptArray< FHeapAllocator >
 TScriptArray (int32 InNum, int32 NumBytesPerElement, uint32 AlignmentOfElement)
 
FORCENOINLINE void ResizeInit (int32 NumBytesPerElement, uint32 AlignmentOfElement)
 
FORCENOINLINE void ResizeGrow (int32 OldNum, int32 NumBytesPerElement, uint32 AlignmentOfElement)
 
FORCENOINLINE void ResizeShrink (int32 NumBytesPerElement, uint32 AlignmentOfElement)
 
FORCENOINLINE void ResizeTo (int32 NewMax, int32 NumBytesPerElement, uint32 AlignmentOfElement)
 

Private Types

using Super = TScriptArray<FHeapAllocator>
 

Additional Inherited Members

- Protected Attributes inherited from TScriptArray< FHeapAllocator >
int32 ArrayNum
 
int32 ArrayMax
 

Detailed Description

Definition at line 260 of file ScriptArray.h.

Member Typedef Documentation

◆ Super

Definition at line 262 of file ScriptArray.h.

Constructor & Destructor Documentation

◆ FScriptArray() [1/3]

FScriptArray::FScriptArray ( )
default

◆ FScriptArray() [2/3]

FScriptArray::FScriptArray ( int32 InNum,
int32 NumBytesPerElement,
uint32 AlignmentOfElement )
inlineprotected

Definition at line 273 of file ScriptArray.h.

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

◆ FScriptArray() [3/3]

FScriptArray::FScriptArray ( const FScriptArray & )
inline

Definition at line 281 of file ScriptArray.h.

Member Function Documentation

◆ MoveAssign()

void FScriptArray::MoveAssign ( FScriptArray & Other,
int32 NumBytesPerElement,
uint32 AlignmentOfElement )
inline

Definition at line 267 of file ScriptArray.h.

◆ operator=()

void FScriptArray::operator= ( const FScriptArray & )
inline

Definition at line 282 of file ScriptArray.h.


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