Apparatus Version 1.23
ECS data-oriented workflow for Unreal Engine.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
FSubjectHandles8 Struct Reference

Eight subject handles as a cache-friendly struct. More...

#include <SubjectHandles8.h>

Public Member Functions

int32 Add (const FSubjectHandle &SubjectHandle)
 Add a new subject handle.
 
int32 AddUnique (const FSubjectHandle &SubjectHandle)
 Add a unique subject handle.
 
void Remove (const FSubjectHandle &SubjectHandle)
 Remove a subject handle.
 
void CleanUp ()
 Remove all invalid subject handles (if any).
 
int32 Num () const
 Get the number of elements in the list.
 
FSubjectHandleAt (const int32 Index)
 Get a subject handle by its index.
 
const FSubjectHandleAt (const int32 Index) const
 Get a subject handle by its index.
 
FSubjectHandleoperator[] (const int32 Index)
 Get a subject handle by its index.
 
const FSubjectHandleoperator[] (const int32 Index) const
 Get a subject handle by its index.
 
void Empty ()
 Empty the list.
 

Detailed Description

Eight subject handles as a cache-friendly struct.

Note
Only valid subject handles can be added, but if the subject becomes invalid during the runtime it will still be present in the array.

Member Function Documentation

◆ Add()

int32 FSubjectHandles8::Add ( const FSubjectHandle SubjectHandle)
inline

Add a new subject handle.

Only valid subjects are added.

◆ AddUnique()

int32 FSubjectHandles8::AddUnique ( const FSubjectHandle SubjectHandle)
inline

Add a unique subject handle.

Only valid subjects are added.

◆ At() [1/2]

FSubjectHandle & FSubjectHandles8::At ( const int32  Index)
inline

Get a subject handle by its index.

◆ At() [2/2]

const FSubjectHandle & FSubjectHandles8::At ( const int32  Index) const
inline

Get a subject handle by its index.

Constant version.

◆ CleanUp()

void FSubjectHandles8::CleanUp ( )
inline

Remove all invalid subject handles (if any).

◆ Empty()

void FSubjectHandles8::Empty ( )
inline

Empty the list.

◆ Num()

int32 FSubjectHandles8::Num ( ) const
inline

Get the number of elements in the list.

◆ operator[]() [1/2]

FSubjectHandle & FSubjectHandles8::operator[] ( const int32  Index)
inline

Get a subject handle by its index.

◆ operator[]() [2/2]

const FSubjectHandle & FSubjectHandles8::operator[] ( const int32  Index) const
inline

Get a subject handle by its index.

Constant version.

◆ Remove()

void FSubjectHandles8::Remove ( const FSubjectHandle SubjectHandle)
inline

Remove a subject handle.


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