MCRO
C++23 utilities for Unreal Engine.
Loading...
Searching...
No Matches
Mcro::Enums Namespace Reference

Functions

template<CEnum Enum>
FString EnumToStringCopy (Enum input)
 
template<CEnum Enum>
FStringView EnumToStringView (Enum input)
 
template<CEnum Enum>
FName EnumToName (Enum input)
 
template<CEnum Enum, CStringOrView String>
Enum StringToEnum (String const &input)
 
template<CEnum Enum>
Enum NameToEnum (FName const &input)
 

Detailed Description

Contains utilities for handling enums as strings or vice-versa

Function Documentation

◆ EnumToName()

template<CEnum Enum>
FName Mcro::Enums::EnumToName ( Enum input)

Definition at line 32 of file Enums.h.

◆ EnumToStringCopy()

template<CEnum Enum>
FString Mcro::Enums::EnumToStringCopy ( Enum input)

Definition at line 20 of file Enums.h.

◆ EnumToStringView()

template<CEnum Enum>
FStringView Mcro::Enums::EnumToStringView ( Enum input)

Definition at line 26 of file Enums.h.

◆ NameToEnum()

template<CEnum Enum>
Enum Mcro::Enums::NameToEnum ( FName const & input)

Definition at line 44 of file Enums.h.

◆ StringToEnum()

template<CEnum Enum, CStringOrView String>
Enum Mcro::Enums::StringToEnum ( String const & input)

Definition at line 38 of file Enums.h.