UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FScopedAllowAbstractClassAllocation Struct Reference

#include <UObjectGlobals.h>

+ Inheritance diagram for FScopedAllowAbstractClassAllocation:

Public Member Functions

COREUOBJECT_API FScopedAllowAbstractClassAllocation ()
 
COREUOBJECT_API ~FScopedAllowAbstractClassAllocation ()
 

Static Public Member Functions

static bool IsDisallowedAbstractClass (const UClass *InClass, EObjectFlags InFlags)
 

Additional Inherited Members

- Protected Member Functions inherited from FNoncopyable
 FNoncopyable ()
 
 ~FNoncopyable ()
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ FScopedAllowAbstractClassAllocation()

FScopedAllowAbstractClassAllocation::FScopedAllowAbstractClassAllocation ( )

◆ ~FScopedAllowAbstractClassAllocation()

FScopedAllowAbstractClassAllocation::~FScopedAllowAbstractClassAllocation ( )

Member Function Documentation

◆ IsDisallowedAbstractClass()

bool FScopedAllowAbstractClassAllocation::IsDisallowedAbstractClass ( const UClass InClass,
EObjectFlags  InFlags 
)
static

The documentation for this struct was generated from the following files: