Navigation
API > API/Plugins > API/Plugins/ModelViewViewModel
Represents a possibly-const binding to either a UFunction or FProperty
| Name | TMVVMFieldVariant |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/ModelViewViewModel/Source/ModelViewViewModel/Public/Types/MVVMFieldVariant.h |
| Include Path | #include "Types/MVVMFieldVariant.h" |
Syntax
template<bool bConst>
struct TMVVMFieldVariant
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Types/MVVMFieldVariant.h | |||
TMVVMFieldVariant
(
FFieldVariant InVariant |
Types/MVVMFieldVariant.h | ||
TMVVMFieldVariant
(
PropertyType* InValue |
Types/MVVMFieldVariant.h | ||
TMVVMFieldVariant
(
FunctionType* InValue |
Types/MVVMFieldVariant.h |
Classes
| Name | Remarks |
|---|---|
| VariantType |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FunctionType | std::conditional_t< bConst, const UFunction, UFunction > | Types/MVVMFieldVariant.h | |
| PropertyType | std::conditional_t< bConst, const FProperty, FProperty > | Types/MVVMFieldVariant.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Binding | VariantType | Types/MVVMFieldVariant.h | ||
| TMVVMFieldVariant | friend | Types/MVVMFieldVariant.h | ||
| Type | EVariantType | Types/MVVMFieldVariant.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FunctionType * GetFunction() |
Types/MVVMFieldVariant.h | ||
FName GetName() |
Types/MVVMFieldVariant.h | ||
UStruct * GetOwner() |
Types/MVVMFieldVariant.h | ||
PropertyType * GetProperty() |
Types/MVVMFieldVariant.h | ||
bool HasAnyFlags
(
EObjectFlags InFlags |
Types/MVVMFieldVariant.h | ||
bool IsEmpty() |
Types/MVVMFieldVariant.h | ||
bool IsFunction() |
Types/MVVMFieldVariant.h | ||
bool IsProperty() |
Types/MVVMFieldVariant.h | ||
bool IsValid() |
Types/MVVMFieldVariant.h | ||
void Reset() |
Types/MVVMFieldVariant.h | ||
void SetFunction
(
FunctionType* InValue |
Types/MVVMFieldVariant.h | ||
void SetProperty
(
PropertyType* InValue |
Types/MVVMFieldVariant.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const TMVVMFieldVariant< bOtherConst >& B |
Types/MVVMFieldVariant.h | ||
bool operator==
(
const TMVVMFieldVariant< bOtherConst >& B |
Types/MVVMFieldVariant.h |