Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TVariant
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
U & Get () |
Get a reference to the held value. | Misc/TVariant.h | |
const U & Get () |
Get a reference to the held value. | Misc/TVariant.h | |
const U & Get
(
const TIdentity_T< U >& DefaultValue |
Get a reference to the held value if set, otherwise the DefaultValue | Misc/TVariant.h |
Get()
Description
Get a reference to the held value. Bad things can happen if this is called on a variant that does not hold the type asked for
| Name | Get |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/TVariant.h |
| Include Path | #include "Misc/TVariant.h" |
template<typename U>
U & Get()
Get()
Description
Get a reference to the held value. Bad things can happen if this is called on a variant that does not hold the type asked for
| Name | Get |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/TVariant.h |
| Include Path | #include "Misc/TVariant.h" |
template<typename U>
const U & Get() const
Get(const TIdentity_T< U > &)
Description
Get a reference to the held value if set, otherwise the DefaultValue
| Name | Get |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/TVariant.h |
| Include Path | #include "Misc/TVariant.h" |
template<typename U>
const U & Get
(
const TIdentity_T< U > & DefaultValue
) const