TCastImpl

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "Templates/Casts.h"

Syntax

template<typename From, typename To, ECastType CastType>
struct TCastImpl

Specializations

Functions

Name Description

Public function Static

To *

 

DoCast

(
    UObject* Src
)

This is the cast flags implementation.

Public function Static

To *

 

DoCastCheckedWithoutTypeCheck

(
    UObject* Src
)

Deprecated Functions

Name Description

Public function Static

To *

 

DoCast

(
    FField* Src
)

Cast<>() and CastChecked<>() should not be used with FProperties. Use CastField<>() or CastFieldChecked<>() instead.

Public function Static

To *

 

DoCastCheckedWithoutTypeCheck

(
    FField* Src
)

Cast<>() and CastChecked<>() should not be used with FProperties. Use CastField<>() or CastFieldChecked<>() instead.

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