EClassFlags

Flags describing a class.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/ObjectMacros.h"

Syntax

enum EClassFlags
{
    CLASS_None                        = 0x00000000u,
    CLASS_Abstract                    = 0x00000001u,
    CLASS_DefaultConfig               = 0x00000002u,
    CLASS_Config                      = 0x00000004u,
    CLASS_Transient                   = 0x00000008u,
    CLASS_Parsed                      = 0x00000010u,
    CLASS_MatchedSerializers          = 0x00000020u,
    CLASS_AdvancedDisplay             = 0x00000040u,
    CLASS_Native                      = 0x00000080u,
    CLASS_NoExport                    = 0x00000100u,
    CLASS_NotPlaceable                = 0x00000200u,
    CLASS_PerObjectConfig             = 0x00000400u,
    CLASS_ReplicationDataIsSetUp      = 0x00000800u,
    CLASS_EditInlineNew               = 0x00001000u,
    CLASS_CollapseCategories          = 0x00002000u,
    CLASS_Interface                   = 0x00004000u,
    CLASS_CustomConstructor           = 0x00008000u,
    CLASS_Const                       = 0x00010000u,
    CLASS_LayoutChanging              = 0x00020000u,
    CLASS_CompiledFromBlueprint       = 0x00040000u,
    CLASS_MinimalAPI                  = 0x00080000u,
    CLASS_RequiredAPI                 = 0x00100000u,
    CLASS_DefaultToInstanced          = 0x00200000u,
    CLASS_TokenStreamAssembled        = 0x00400000u,
    CLASS_HasInstancedReference       = 0x00800000u,
    CLASS_Hidden                      = 0x01000000u,
    CLASS_Deprecated                  = 0x02000000u,
    CLASS_HideDropDown                = 0x04000000u,
    CLASS_GlobalUserConfig            = 0x08000000u,
    CLASS_Intrinsic                   = 0x10000000u,
    CLASS_Constructed                 = 0x20000000u,
    CLASS_ConfigDoNotCheckDefaults    = 0x40000000u,
    CLASS_NewerVersionExists          = 0x80000000u,
}

Values

Name

Description

CLASS_None

No Flags

CLASS_Abstract

Class is abstract and can't be instantiated directly.

CLASS_DefaultConfig

Save object configuration only to Default INIs, never to local INIs.

CLASS_Config

Load object configuration at construction time.

CLASS_Transient

This object type can't be saved; null it out at save time.

CLASS_Parsed

Successfully parsed.

CLASS_MatchedSerializers

CLASS_AdvancedDisplay

All the properties on the class are shown in the advanced section (which is hidden by default) unless SimpleDisplay is specified on the property

CLASS_Native

Class is a native class - native interfaces will have CLASS_Native set, but not RF_MarkAsNative

CLASS_NoExport

Don't export to C++ header.

CLASS_NotPlaceable

Do not allow users to create in the editor.

CLASS_PerObjectConfig

Handle object configuration on a per-object basis, rather than per-class.

CLASS_ReplicationDataIsSetUp

Whether SetUpRuntimeReplicationData still needs to be called for this class

CLASS_EditInlineNew

Class can be constructed from editinline New button.

CLASS_CollapseCategories

Display properties in the editor without using categories.

CLASS_Interface

Class is an interface

CLASS_CustomConstructor

Do not export a constructor for this class, assuming it is in the cpptext

CLASS_Const

All properties and functions in this class are const and should be exported as const

CLASS_LayoutChanging

Class flag indicating the class is having its layout changed, and therefore is not ready for a CDO to be created

CLASS_CompiledFromBlueprint

Indicates that the class was created from blueprint source material

CLASS_MinimalAPI

Indicates that only the bare minimum bits of this class should be DLL exported/imported

CLASS_RequiredAPI

Indicates this class must be DLL exported/imported (along with all of it's members)

CLASS_DefaultToInstanced

Indicates that references to this class default to instanced.

CLASS_TokenStreamAssembled

Indicates that the parent token stream has been merged with ours.

CLASS_HasInstancedReference

Class has component properties.

CLASS_Hidden

Don't show this class in the editor class browser or edit inline new menus.

CLASS_Deprecated

Don't save objects of this class when serializing

CLASS_HideDropDown

Class not shown in editor drop down for class selection

CLASS_GlobalUserConfig

Class settings are saved to /..../Blah.ini (as opposed to CLASS_DefaultConfig)

CLASS_Intrinsic

Class was declared directly in C++ and has no boilerplate generated by UnrealHeaderTool

CLASS_Constructed

Class has already been constructed (maybe in a previous DLL version before hot-reload).

CLASS_ConfigDoNotCheckDefaults

Indicates that object configuration will not check against ini base/defaults when serialized

CLASS_NewerVersionExists

Class has been consigned to oblivion as part of a blueprint recompile, and a newer version currently exists.

Remarks

Flags describing a class.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback