UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FSetHashBucket Struct Reference

Public Types

typedef TSet< UObjectBase * >::TIterator TIterator
 

Public Member Functions

FORCEINLINE TSet< UObjectBase * > * GetItems ()
 
FORCEINLINE const TSet< UObjectBase * > * GetItems () const
 
FORCEINLINE FSetHashBucket ()
 
FORCEINLINE ~FSetHashBucket ()
 
FORCEINLINE void Add (UObjectBase *Object)
 
FORCEINLINE int32 Remove (UObjectBase *Object)
 
FORCEINLINE bool Contains (UObjectBase *Object) const
 
FORCEINLINE int32 Num () const
 
FORCEINLINE SIZE_T GetAllocatedSize () const
 
void Shrink ()
 
FORCEINLINE struct THashBucketIterator< FSetHashBucketCreateIterator ()
 
FORCEINLINE TSet< UObjectBase * >::TIterator GetIterator ()
 

Public Attributes

voidElements [2]
 

Static Public Attributes

static TSet< UObjectBase * > EmptyBucket
 

Member Typedef Documentation

◆ TIterator

Constructor & Destructor Documentation

◆ FSetHashBucket()

FORCEINLINE FSetHashBucket::FSetHashBucket ( )
inline

Constructor

◆ ~FSetHashBucket()

FORCEINLINE FSetHashBucket::~FSetHashBucket ( )
inline

Member Function Documentation

◆ Add()

FORCEINLINE void FSetHashBucket::Add ( UObjectBase Object)
inline

Adds an Object to the bucket

◆ Contains()

FORCEINLINE bool FSetHashBucket::Contains ( UObjectBase Object) const
inline

Checks if an Object exists in this bucket

◆ CreateIterator()

FORCEINLINE THashBucketIterator< FSetHashBucket > FSetHashBucket::CreateIterator ( )

◆ GetAllocatedSize()

FORCEINLINE SIZE_T FSetHashBucket::GetAllocatedSize ( ) const
inline

Returns the amount of memory allocated for and by Items TSet

◆ GetItems() [1/2]

FORCEINLINE TSet< UObjectBase * > * FSetHashBucket::GetItems ( )
inline

◆ GetItems() [2/2]

FORCEINLINE const TSet< UObjectBase * > * FSetHashBucket::GetItems ( ) const
inline

◆ GetIterator()

FORCEINLINE TSet< UObjectBase * >::TIterator FSetHashBucket::GetIterator ( )
inline

Gets an iterator for the TSet in this bucket or for the EmptyBucker if Items is null

◆ Num()

FORCEINLINE int32 FSetHashBucket::Num ( ) const
inline

Returns the number of Objects in this bucket

◆ Remove()

FORCEINLINE int32 FSetHashBucket::Remove ( UObjectBase Object)
inline

Removes an Object from the bucket

◆ Shrink()

void FSetHashBucket::Shrink ( )
inline

Member Data Documentation

◆ Elements

void* FSetHashBucket::Elements[2]

◆ EmptyBucket

TSet< UObjectBase * > FSetHashBucket::EmptyBucket
static

This always empty set is used to get an iterator if the bucket doesn't use a TSet (has only 1 element)


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