TIsDerivedFrom

Is type DerivedType inherited from BaseType.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Templates/UnrealTypeTraits.h

Include

#include "Templates/UnrealTypeTraits.h"

Syntax

template<typename DerivedType, typename BaseType>
struct TIsDerivedFrom

Remarks

Is type DerivedType inherited from BaseType.

Functions

Name Description

Public function Static

DerivedType ...

 

DerivedTypePtr()

Makes a DerivedType ptr.

Public function Static

Yes &

 

Test

(
    BaseType*
)

Overloading Test() s.t.

Public function Static

Yes &

 

Test

(
    const BaseType*
)

Overloading Test() s.t.

Public function Static

No &

 

Test

(
    ...
)

Overloading Test() s.t.

Typedefs

Name

Description

No

Different size types so we can compare their sizes later.

Yes

Constants

Name

Description

IsDerived

Value

Test the derived type pointer.

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