Navigation
API > API/Plugins > API/Plugins/ModelViewViewModel
| Name | TObjectVariant |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/ModelViewViewModel/Source/ModelViewViewModel/Public/Types/MVVMFunctionContext.h |
| Include Path | #include "Types/MVVMFunctionContext.h" |
| Source | /Engine/Plugins/Runtime/ModelViewViewModel/Source/ModelViewViewModel/Public/Types/MVVMObjectVariant.h |
Syntax
template<bool bConst>
struct TObjectVariant
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Types/MVVMObjectVariant.h | |||
TObjectVariant
(
UObjectType* InValue |
Types/MVVMObjectVariant.h | ||
TObjectVariant
(
const UScriptStruct* InScriptStruct, |
Types/MVVMObjectVariant.h |
Structs
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| ContainerType | std::conditional_t< bConst, const void *, void * > | Types/MVVMObjectVariant.h | |
| UObjectType | std::conditional_t< bConst, const UObject, UObject > | Types/MVVMObjectVariant.h | |
| UScriptStructType | FScriptStructStackedContainer | Types/MVVMObjectVariant.h | |
| VariantType | TVariant< FEmptyVariantState, UScriptStructType, UObjectType * > | Types/MVVMObjectVariant.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Binding | VariantType | Types/MVVMObjectVariant.h | ||
| TObjectVariant | friend | Types/MVVMObjectVariant.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ContainerType GetData() |
Types/MVVMObjectVariant.h | ||
const UStruct * GetOwner() |
Types/MVVMObjectVariant.h | ||
const UClass * GetUClass() |
Types/MVVMObjectVariant.h | ||
UObjectType * GetUObject() |
Types/MVVMObjectVariant.h | ||
const UScriptStruct * GetUScriptStruct() |
Types/MVVMObjectVariant.h | ||
ContainerType GetUScriptStructData() |
Types/MVVMObjectVariant.h | ||
bool IsEmpty() |
Types/MVVMObjectVariant.h | ||
bool IsNull() |
Types/MVVMObjectVariant.h | ||
bool IsUObject() |
Types/MVVMObjectVariant.h | ||
bool IsUScriptStruct() |
Types/MVVMObjectVariant.h | ||
void Reset() |
Types/MVVMObjectVariant.h | ||
void SetUObject
(
UObjectType* InValue |
Types/MVVMObjectVariant.h | ||
void SetUScriptStruct
(
const UScriptStruct* InScriptStruct, |
Types/MVVMObjectVariant.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const TObjectVariant< bOtherConst >& B |
Types/MVVMObjectVariant.h | ||
bool operator==
(
const TObjectVariant< bOtherConst >& B |
Types/MVVMObjectVariant.h |