Navigation
API > API/Runtime > API/Runtime/Core
Is type DerivedType inherited from BaseType.
| Name | TIsDerivedFrom |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Templates/UnrealTypeTraits.h |
| Include Path | #include "Templates/UnrealTypeTraits.h" |
Syntax
template<typename DerivedType, typename BaseType>
struct TIsDerivedFrom
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| No | char | Different size types so we can compare their sizes later. | Templates/UnrealTypeTraits.h |
| Yes | char | Templates/UnrealTypeTraits.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| IsDerived | bool | Templates/UnrealTypeTraits.h | |
| Value | bool | Test the derived type pointer. | Templates/UnrealTypeTraits.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static DerivedType * DerivedTypePtr() |
Makes a DerivedType ptr. | Templates/UnrealTypeTraits.h | |
static Yes & Test
(
BaseType* |
Overloading Test() s.t. | Templates/UnrealTypeTraits.h | |
static Yes & Test
(
const BaseType* |
Templates/UnrealTypeTraits.h | ||
static No & Test
(
... |
Templates/UnrealTypeTraits.h |