| FStructOnScope
|
Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/UObject/StructOnScope.h |
Include |
#include "UObject/StructOnScope.h" |
template<typename T, typename>
class TStructOnScope : public FStructOnScope
Typed FStructOnScope that exposes type-safe access to the wrapped struct
The second template argument is there to restrict to type that are actually USTRUCT. It will be replaced to a static_assert with a better compiler error with a "is ustruct" type trait
Name | Description | |
---|---|---|
|
TStructOnScope() |
|
|
TStructOnScope ( |
|
|
TStructOnScope ( |
Name | Description | |
---|---|---|
|
~TStructOnScope() |
Name | Description | ||
---|---|---|---|
|
const U *... |
Cast() |
|
|
U * |
Cast() |
|
|
U * |
CastChecked() |
|
|
const U *... |
CastChecked() |
|
|
T * |
Get() |
|
|
void |
InitializeAs ( |
Initialize the TStructOnScope as a struct of type U which needs to derive from T InArgs The arguments to pass to the constructor of type U |
|
bool |
InitializeFrom ( |
Initialize the TStructOnScope from a FStructOnScope containing data that derives from T InOther The FStructOnScope to initialize from |
|
bool |
InitializeFrom ( |
Initialize the TStructOnScope from a FStructOnScope containing data that derives from T InOther The FStructOnScope to initialize from |
|
void |
InitializeFromChecked ( |
Initialize the TStructOnScope from a FStructOnScope containing data that derives from T InOther The FStructOnScope to initialize from (will assert if it contains an invalid type to store for T) |
|
void |
InitializeFromChecked ( |
Initialize the TStructOnScope from a FStructOnScope containing data that derives from T InOther The FStructOnScope to initialize from (will assert if it contains an invalid type to store for T) |
|
void |
Serialize ( |
Name | Description | ||
---|---|---|---|
|
operator bool() |
||
|
TStructOnSco... |
operator= ( |
|
|
TStructOnSco... |
operator= ( |
|
|
T * |
operator->() |