FUObjectAnnotationSparseBool

[FUObjectAnnotationSparseBool](API\Runtime\CoreUObject\UObject\FUObjectAnnotationSparseBool) is a specialization of [FUObjectAnnotationSparse](API\Runtime\CoreUObject\UObject\FUObjectAnnotationSparse) for bools, slow, temporary, editor only, external or other low priority bools about UObjects.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectAnnotation.h

Include

#include "UObject/UObjectAnnotation.h"

Syntax

class FUObjectAnnotationSparseBool : private FUObjectAnnotationSparse< FBoolAnnotation, true >

Remarks

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

Functions

Name Description

Public function

void

 

Clear

(
    const UObjectBase* Object
)

Removes an annotation from the annotation list.

Public function

void

 

ClearAll()

Removes all bool annotations

Public function

bool

 

Get

(
    const UObjectBase* Object
)

Return the bool annotation associated with a uobject

Public function Const

int32

 

Num()

Public function

void

 

Reserve

(
    int32 ExpectedNumElements
)

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

Public function

void

 

Set

(
    const UObjectBase* Object
)

Sets this bool annotation to true for this object

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss