UClass::GetPrefixCPP

Returns the struct/ class prefix used for the C++ declaration of this struct/ class.

Windows
MacOS
Linux

Override Hierarchy

UStruct::GetPrefixCPP()

UClass::GetPrefixCPP()

References

Module

CoreUObject

Header

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

Include

#include "UObject/Class.h"

Source

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

Syntax

virtual const TCHAR * GetPrefixCPP() const

Remarks

Returns the struct/ class prefix used for the C++ declaration of this struct/ class. Classes deriving from AActor have an 'A' prefix and other UObject classes an 'U' prefix.

Returns

Prefix character used for C++ declaration of this struct/ class.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss