UEnum::GenerateEnumPrefix

Find the longest common prefix of all items in the enumeration.

Choose your operating system:

Windows

macOS

Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h

Include

#include "UObject/Class.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/Enum.cpp

Syntax

FString GenerateEnumPrefix() const

Remarks

Find the longest common prefix of all items in the enumeration.

Returns

the longest common prefix between all items in the enum. If a common prefix cannot be found, returns the full name of the enum.