Navigation
API > API/Runtime > API/Runtime/CoreUObject
Utility struct that allows abstract classes to be allocated for non-CDOs while in scope. Abstract objects are generally unsafe and should only be allocated in very unusual circumstances.
| Name | FScopedAllowAbstractClassAllocation |
| Type | struct |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
| Include Path | #include "UObject/UObjectGlobals.h" |
Syntax
struct FScopedAllowAbstractClassAllocation : public FNoncopyable
Inheritance Hierarchy
- FNoncopyable → FScopedAllowAbstractClassAllocation
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FScopedAllowAbstractClassAllocation() |
UObject/UObjectGlobals.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FScopedAllowAbstractClassAllocation() |
UObject/UObjectGlobals.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| AllowAbstractCount | int32 | UObject/UObjectGlobals.h |
Functions
Public
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool IsDisallowedAbstractClass
(
const UClass* InClass, |
UObject/UObjectGlobals.h |