![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <UObjectAnnotation.h>
Inheritance diagram for FUObjectAnnotationSparseSearchable< TAnnotation, bAutoRemove >:Additional Inherited Members | |
Protected Attributes inherited from FUObjectAnnotationSparse< TAnnotation, bAutoRemove > | |
| FTransactionallySafeRWLock | AnnotationMapCritical |
| FTransactionallySafeRWLock | AnnotationCacheCritical |
| TMap< const UObjectBase *, TAnnotation > | AnnotationMap |
| const UObjectBase * | AnnotationCacheKey = nullptr |
| TAnnotation | AnnotationCacheValue |
| bool | bRegistered = false |
FUObjectAnnotationSparseSearchable is a helper class that is used to store sparse, slow, temporary, editor only, external or other low priority information about UObjects...and also provides the ability to find a object based on the unique annotation.
All of the restrictions mentioned for FUObjectAnnotationSparse apply
| TAnnotation | type of the annotation |
| bAutoRemove | if true, annotation will automatically be removed, otherwise in non-final builds it will verify that the annotation was removed by other means prior to destruction. |
|
inlinevirtual |
Destructor, removes all annotations, which removes the annotation as a uobject destruction listener
|
inline |
Add an annotation to the annotation list. If the Annotation is the default, then the annotation is removed.
| Object | Object to annotate. |
| Annotation | Annotation to associate with Object. |
|
inline |
|
inline |
Find the UObject associated with a given annotation
| Annotation | Annotation to find |
|
inlineoverridevirtual |
Returns the size of heap memory allocated internally by this listener
Reimplemented from FUObjectAnnotationSparse< TAnnotation, bAutoRemove >.
|
inlineoverridevirtual |
Interface for FUObjectAllocator::FUObjectDeleteListener
| Object | object that has been destroyed |
| Index | index of object that is being deleted |
Reimplemented from FUObjectAnnotationSparse< TAnnotation, bAutoRemove >.
|
inlineoverridevirtual |
Called when UObject Array is being shut down, this is where all listeners should be removed from it
Reimplemented from FUObjectAnnotationSparse< TAnnotation, bAutoRemove >.
|
inline |
Removes all annotation from the annotation list.
|
inline |
Removes an annotation from the annotation list.
| Object | Object to de-annotate. |