Navigation
API > API/Runtime > API/Runtime/CoreUObject
FUObjectAnnotationDenseBool is custom annotation that tracks a bool per UObject.
| Name | FUObjectAnnotationDenseBool |
| Type | class |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectAnnotation.h |
| Include Path | #include "UObject/UObjectAnnotation.h" |
Syntax
class FUObjectAnnotationDenseBool : public FUObjectArray::FUObjectDeleteListener
Inheritance Hierarchy
- FUObjectArray::FUObjectDeleteListener → FUObjectAnnotationDenseBool
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FUObjectAnnotationDenseBool() |
Destructor, removes all annotations, which removes the annotation as a uobject destruction listener | UObject/UObjectAnnotation.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TBitType | uint32 | UObject/UObjectAnnotation.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AnnotationArray | TArray< TBitType > | Map from live objects to an annotation | UObject/UObjectAnnotation.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Clear
(
const UObjectBase* Object |
Removes an annotation from the annotation list. | UObject/UObjectAnnotation.h | |
void ClearAll() |
Removes all bool annotations | UObject/UObjectAnnotation.h | |
bool Get
(
const UObjectBase* Object |
Return the bool annotation associated with a uobject | UObject/UObjectAnnotation.h | |
virtual void NotifyUObjectDeleted
(
const UObjectBase* Object, |
Interface for FUObjectAllocator::FUObjectDeleteListener | UObject/UObjectAnnotation.h | |
void Set
(
const UObjectBase* Object |
Sets this bool annotation to true for this object | UObject/UObjectAnnotation.h |
Overridden from FUObjectDeleteListener
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual SIZE_T GetAllocatedSize() |
Returns the size of heap memory allocated internally by this listener | UObject/UObjectAnnotation.h | |
virtual void OnUObjectArrayShutdown() |
Called when UObject Array is being shut down, this is where all listeners should be removed from it | UObject/UObjectAnnotation.h |