A Demo Project for the UnrealEngineSDK
|
Namespaces | |
namespace | anonymous_namespace{EnumUtils.h} |
Classes | |
struct | GetEnumValueAsText_Implementation |
Functions | |
template<typename TEnum > | |
void | ForEachEnumValue (TEnum BeginEnumValue, TEnum EndEnumValue, TFunction< void(TEnum)> Op) |
template<class TEnum > | |
auto | GetEnumsOffset (TEnum FirstValue, TEnum SecondValue) |
template<typename T > | |
auto | GetEnumValue (const T InValue) |
template<typename TEnum > | |
FString | GetEnumValueAsString (TEnum EnumValue) |
template<typename TEnum > | |
FText | GetEnumValueAsText (TEnum EnumValue) |
template<typename TEnum > | |
bool | IsValidEnumValue (int64 Value) |
void EnumUtils::ForEachEnumValue | ( | TEnum | BeginEnumValue, |
TEnum | EndEnumValue, | ||
TFunction< void(TEnum)> | Op ) |
Definition at line 111 of file EnumUtils.h.
auto EnumUtils::GetEnumsOffset | ( | TEnum | FirstValue, |
TEnum | SecondValue ) |
auto EnumUtils::GetEnumValue | ( | const T | InValue | ) |
FString EnumUtils::GetEnumValueAsString | ( | TEnum | EnumValue | ) |
To add proper implementation for your enum type - use the following structure Since it's namespace scope - you can place it anywhere, but I'd recommend, if possible, to place it right after your enum class CustomEnumType;
has been defined
Definition at line 92 of file EnumUtils.h.
FText EnumUtils::GetEnumValueAsText | ( | TEnum | EnumValue | ) |
To add proper implementation for your enum type - use the following structure Since it's namespace scope - you can place it anywhere, but I'd recommend, if possible, to place it right after your enum class CustomEnumType;
has been defined
Definition at line 74 of file EnumUtils.h.
bool EnumUtils::IsValidEnumValue | ( | int64 | Value | ) |
Definition at line 100 of file EnumUtils.h.