UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FUObjectAnnotationDenseBool Class Reference

#include <UObjectAnnotation.h>

+ Inheritance diagram for FUObjectAnnotationDenseBool:

Public Member Functions

virtual void NotifyUObjectDeleted (const UObjectBase *Object, int32 Index)
 
virtual void OnUObjectArrayShutdown () override
 
virtual ~FUObjectAnnotationDenseBool ()
 
void Set (const UObjectBase *Object)
 
void Clear (const UObjectBase *Object)
 
UE_FORCEINLINE_HINT void ClearAll ()
 
bool Get (const UObjectBase *Object)
 
virtual SIZE_T GetAllocatedSize () const override
 
- Public Member Functions inherited from FUObjectArray::FUObjectDeleteListener
virtual ~FUObjectDeleteListener ()
 
virtual void NotifyUObjectDeleted (const class UObjectBase *Object, int32 Index)=0
 

Detailed Description

FUObjectAnnotationDenseBool is custom annotation that tracks a bool per UObject.

Constructor & Destructor Documentation

◆ ~FUObjectAnnotationDenseBool()

virtual FUObjectAnnotationDenseBool::~FUObjectAnnotationDenseBool ( )
inlinevirtual

Destructor, removes all annotations, which removes the annotation as a uobject destruction listener

Member Function Documentation

◆ Clear()

void FUObjectAnnotationDenseBool::Clear ( const UObjectBase Object)
inline

Removes an annotation from the annotation list.

Parameters
ObjectObject to de-annotate.

◆ ClearAll()

UE_FORCEINLINE_HINT void FUObjectAnnotationDenseBool::ClearAll ( )
inline

Removes all bool annotations

◆ Get()

bool FUObjectAnnotationDenseBool::Get ( const UObjectBase Object)
inline

Return the bool annotation associated with a uobject

Parameters
ObjectObject to return the bool annotation for

◆ GetAllocatedSize()

virtual SIZE_T FUObjectAnnotationDenseBool::GetAllocatedSize ( ) const
inlineoverridevirtual

Returns the size of heap memory allocated internally by this listener

Reimplemented from FUObjectArray::FUObjectDeleteListener.

◆ NotifyUObjectDeleted()

virtual void FUObjectAnnotationDenseBool::NotifyUObjectDeleted ( const UObjectBase Object,
int32  Index 
)
inlinevirtual

Interface for FUObjectAllocator::FUObjectDeleteListener

Parameters
Objectobject that has been destroyed
Indexindex of object that is being deleted

◆ OnUObjectArrayShutdown()

virtual void FUObjectAnnotationDenseBool::OnUObjectArrayShutdown ( )
inlineoverridevirtual

Called when UObject Array is being shut down, this is where all listeners should be removed from it

Implements FUObjectArray::FUObjectDeleteListener.

◆ Set()

void FUObjectAnnotationDenseBool::Set ( const UObjectBase Object)
inline

Sets this bool annotation to true for this object

Parameters
ObjectObject to annotate.

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