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

#include <UObjectAnnotation.h>

+ Inheritance diagram for FUObjectAnnotationSparseBool:

Public Member Functions

UE_FORCEINLINE_HINT void Set (const UObjectBase *Object)
 
UE_FORCEINLINE_HINT void Clear (const UObjectBase *Object)
 
UE_FORCEINLINE_HINT void ClearAll ()
 
UE_FORCEINLINE_HINT bool Get (const UObjectBase *Object)
 
UE_FORCEINLINE_HINT void Reserve (int32 ExpectedNumElements)
 
UE_FORCEINLINE_HINT int32 Num () const
 

Detailed Description

FUObjectAnnotationSparseBool is a specialization of FUObjectAnnotationSparse for bools, slow, temporary, editor only, external or other low priority bools about UObjects.

Member Function Documentation

◆ Clear()

UE_FORCEINLINE_HINT void FUObjectAnnotationSparseBool::Clear ( const UObjectBase Object)
inline

Removes an annotation from the annotation list.

Parameters
ObjectObject to de-annotate.

◆ ClearAll()

UE_FORCEINLINE_HINT void FUObjectAnnotationSparseBool::ClearAll ( )
inline

Removes all bool annotations

◆ Get()

UE_FORCEINLINE_HINT bool FUObjectAnnotationSparseBool::Get ( const UObjectBase Object)
inline

Return the bool annotation associated with a uobject

Parameters
ObjectObject to return the bool annotation for

◆ Num()

UE_FORCEINLINE_HINT int32 FUObjectAnnotationSparseBool::Num ( ) const
inline

◆ Reserve()

UE_FORCEINLINE_HINT void FUObjectAnnotationSparseBool::Reserve ( int32  ExpectedNumElements)
inline

Reserves memory for the annotation map for the specified number of elements, used to avoid reallocations.

◆ Set()

UE_FORCEINLINE_HINT void FUObjectAnnotationSparseBool::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: