Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UEnum
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Find the longest common prefix of all items in the enumeration. | UObject/Class.h | ||
static FString GenerateEnumPrefix
(
const TArray< TPair< FName, int64 > >& InNames, |
Find the longest common prefix of all enum names in the provided list. | UObject/Class.h |
GenerateEnumPrefix()
Description
Find the longest common prefix of all items in the enumeration.
| Name | GenerateEnumPrefix |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
| Include Path | #include "UObject/Class.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/Enum.cpp |
FString GenerateEnumPrefix() const
the longest common prefix between all items in the enum. If a common prefix cannot be found, returns the full name of the enum.
GenerateEnumPrefix(const TArray< TPair< FName, int64 > > &, FName)
Description
Find the longest common prefix of all enum names in the provided list.
| Name | GenerateEnumPrefix |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
| Include Path | #include "UObject/Class.h" |
static FString GenerateEnumPrefix
(
const TArray < TPair< FName , int64 > > & InNames,
FName InEnumName
)
the longest common prefix between all items in the enum. If a common prefix cannot be found, returns the full name of the enum.