Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementCounter.h |
Include |
#include "Elements/Framework/TypedElementCounter.h" |
class FTypedElementCounter
Tracks various categories of counters for the typed elements (eg, the number of elements of a given type). The categories counted may be expanded by element types that implement the UTypedElementCounterInterface API.
Name | Description | |
---|---|---|
|
FTypedElementCounter() |
|
|
FTypedElementCounter ( |
|
|
FTypedElementCounter ( |
|
|
FTypedElementCounter ( |
Name | Description | ||
---|---|---|---|
|
AddElement ( |
Update the counter categories to include the given element. |
|
|
ClearCounter ( |
Clear the value of the counter for the given category and key. |
|
|
ClearCounters() |
Clear all counters. |
|
|
ClearCounters ( |
Clear the value of the counters for the given category. |
|
|
DecrementCounter ( |
Decrement the counter for the given category and key. |
|
|
ForEachCounterValue ( |
Enumerate the value of the counters for the given category. |
|
|
FCounterValu... |
GetCounterValue ( |
Get the value of the counter for the given category and key, or zero if the category or key are unknown. |
|
GetElementTypeCategoryName() |
Get the category name used to count element types (by type ID). |
|
|
IncrementCounter ( |
Increment the counter for the given category and key. |
|
|
Initialize ( |
Explicitly initialize this instance, if it was previously default constructed. |
|
|
RemoveElement ( |
Update the counter categories to remove the given element. |
Name | Description | ||
---|---|---|---|
|
FTypedElemen... |
operator= ( |
|
|
FTypedElemen... |
operator= ( |
Name |
Description |
---|---|
FCounterValue |