A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
EnumUtils Namespace Reference

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)
 

Function Documentation

◆ ForEachEnumValue()

template<typename TEnum >
void EnumUtils::ForEachEnumValue ( TEnum BeginEnumValue,
TEnum EndEnumValue,
TFunction< void(TEnum)> Op )

Definition at line 111 of file EnumUtils.h.

◆ GetEnumsOffset()

template<class TEnum >
auto EnumUtils::GetEnumsOffset ( TEnum FirstValue,
TEnum SecondValue )

Definition at line 140 of file EnumUtils.h.

Here is the call graph for this function:

◆ GetEnumValue()

template<typename T >
auto EnumUtils::GetEnumValue ( const T InValue)

Definition at line 135 of file EnumUtils.h.

Here is the caller graph for this function:

◆ GetEnumValueAsString()

template<typename TEnum >
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.

◆ GetEnumValueAsText()

template<typename TEnum >
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.

◆ IsValidEnumValue()

template<typename TEnum >
bool EnumUtils::IsValidEnumValue ( int64 Value)

Definition at line 100 of file EnumUtils.h.