FUObjectAnnotationSparseBool is a specialization of FUObjectAnnotationSparse for bools, slow, temporary, editor only, external or other low priority bools about UObjects.
更多...
#include <UObjectAnnotation.h>
|
| FORCEINLINE void | Clear (const UObjectBase *Object) |
| | Removes an annotation from the annotation list. 更多...
|
| |
| FORCEINLINE void | ClearAll () |
| | Removes all bool annotations 更多...
|
| |
| FORCEINLINE bool | Get (const UObjectBase *Object) |
| | Return the bool annotation associated with a uobject 更多...
|
| |
|
FORCEINLINE void | Reserve (int32 ExpectedNumElements) |
| | Reserves memory for the annotation map for the specified number of elements, used to avoid reallocations.
|
| |
| FORCEINLINE void | Set (const UObjectBase *Object) |
| | Sets this bool annotation to true for this object 更多...
|
| |
FUObjectAnnotationSparseBool is a specialization of FUObjectAnnotationSparse for bools, slow, temporary, editor only, external or other low priority bools about UObjects.
- 待办事项:
- UE4 this should probably be reimplemented from scratch as a TSet instead of essentially a map to a value that is always true anyway.
◆ Clear()
| FORCEINLINE void FUObjectAnnotationSparseBool::Clear |
( |
const UObjectBase * |
Object | ) |
|
|
inline |
Removes an annotation from the annotation list.
- 参数
-
| Object | Object to de-annotate. |
◆ ClearAll()
| FORCEINLINE void FUObjectAnnotationSparseBool::ClearAll |
( |
| ) |
|
|
inline |
Removes all bool annotations
◆ Get()
| FORCEINLINE bool FUObjectAnnotationSparseBool::Get |
( |
const UObjectBase * |
Object | ) |
|
|
inline |
Return the bool annotation associated with a uobject
- 参数
-
| Object | Object to return the bool annotation for |
◆ Set()
| FORCEINLINE void FUObjectAnnotationSparseBool::Set |
( |
const UObjectBase * |
Object | ) |
|
|
inline |
Sets this bool annotation to true for this object
- 参数
-
| Object | Object to annotate. |
该类的文档由以下文件生成: