Apparatus Version 1.8
ECS data-oriented workflow for Unreal Engine.
Public Member Functions | List of all members
FSubjectHandles4 Struct Reference

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

#include <SubjectHandles4.h>

Public Member Functions

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

Detailed Description

Four subject handles as a cache-friendly struct.

Member Function Documentation

◆ Add()

int32 FSubjectHandles4::Add ( const FSubjectHandleBase SubjectHandle)
inline

Add a new subject handle.

Only valid subjects are added.

◆ AddUnique()

int32 FSubjectHandles4::AddUnique ( const FSubjectHandleBase SubjectHandle)
inline

Add a unique subject handle.

Only valid subjects are added.

◆ At() [1/2]

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

Get a subject handle by its index.

◆ At() [2/2]

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

Get a subject handle by its index.

Constant version.

◆ Empty()

void FSubjectHandles4::Empty ( )
inline

Empty the list.

◆ Num()

int32 FSubjectHandles4::Num ( ) const
inline

Get the number of elements in the list.

◆ operator[]() [1/2]

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

Get a subject handle by its index.

◆ operator[]() [2/2]

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

Get a subject handle by its index.

Constant version.

◆ Remove()

void FSubjectHandles4::Remove ( const FSubjectHandle SubjectHandle)
inline

Remove a subject handle.


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