TIsIInterface

Metafunction which detects whether or not a class is an [IInterface](API\Runtime\CoreUObject\UObject\IInterface).

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/Templates/Casts.h

Include

#include "Templates/Casts.h"

Syntax

template<typename T, bool bIsAUObject_IMPL>
struct TIsIInterface

Remarks

Metafunction which detects whether or not a class is an IInterface. Rules:

A UObject is not an IInterface.

A type without a UClassType typedef member is not an IInterface.

A type whose UClassType::StaticClassFlags does not have CLASS_Interface set is not an IInterface.

Otherwise, assume it's an IInterface.

Specializations

Constants

Name

Description

Value

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