UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TNestedVariantMap< KeyType, ValueTypes > Class Template Reference

#include <NestedVariant.h>

+ Inheritance diagram for TNestedVariantMap< KeyType, ValueTypes >:

Public Member Functions

bool operator== (const TNestedVariantMap &Other) const
 
bool operator!= (const TNestedVariantMap &Other) const
 
template<int32 MaxDepth = 32, int32 TabOffset = 0>
void ToDebugString (FString &OutString) const
 
- Public Member Functions inherited from TVariantMap< KeyType, ValueTypes..., TNestedVariantArrayRef< KeyType, ValueTypes... >, TNestedVariantMapRef< KeyType, ValueTypes... > >
VariantValueTypeAddVariant (AddKeyType &&Key, ValueType &&Value)
 
void AddVariantMap (const TMap< KeyType, ValueType > &Map)
 
bool GetVariant (const GetKeyType &Key, TSharedPtr< ValueType > &OutValue) const
 
bool GetVariant (const GetKeyType &Key, ValueType &OutValue) const
 
bool GetVariantMap (TMap< KeyType, ValueType > &OutValue) const
 
- Public Member Functions inherited from TSharedFromThis< TVariantMap< KeyType, ValueTypes... > >
TSharedRef< TVariantMap< KeyType, ValueTypes... >, Mode > AsShared ()
 
TSharedRef< TVariantMap< KeyType, ValueTypes... > const, Mode > AsShared () const
 
TSharedRef< SubobjectType, Mode > AsSharedSubobject (SubobjectType *SubobjectPtr) const
 
TWeakPtr< TVariantMap< KeyType, ValueTypes... >, Mode > AsWeak ()
 
TWeakPtr< TVariantMap< KeyType, ValueTypes... > const, Mode > AsWeak () const
 
TWeakPtr< SubobjectType, Mode > AsWeakSubobject (SubobjectType *SubobjectPtr) const
 
void UpdateWeakReferenceInternal (TSharedPtr< SharedPtrType, SharedPtrMode > const *InSharedPtr, OtherType *InObject) const
 
void UpdateWeakReferenceInternal (TSharedRef< SharedRefType, SharedPtrMode > const *InSharedRef, OtherType *InObject) const
 
UE_FORCEINLINE_HINT bool DoesSharedInstanceExist () const
 

Static Public Member Functions

static TNestedVariantMapRef< KeyType, ValueTypes... > CreateVariant ()
 
- Static Public Member Functions inherited from TVariantMap< KeyType, ValueTypes..., TNestedVariantArrayRef< KeyType, ValueTypes... >, TNestedVariantMapRef< KeyType, ValueTypes... > >
static TSharedRef< TVariantMap< KeyType, ValueTypes... > > CreateVariant ()
 

Additional Inherited Members

- Public Types inherited from TVariantMap< KeyType, ValueTypes..., TNestedVariantArrayRef< KeyType, ValueTypes... >, TNestedVariantMapRef< KeyType, ValueTypes... > >
using VariantType = TVariant< ValueTypes... >
 
using MapType = TMap< KeyType, VariantType >
 
- Protected Member Functions inherited from TSharedFromThis< TVariantMap< KeyType, ValueTypes... > >
 TSharedFromThis ()
 
 TSharedFromThis (TSharedFromThis const &)
 
UE_FORCEINLINE_HINT TSharedFromThisoperator= (TSharedFromThis const &)
 
 ~TSharedFromThis ()
 
- Static Protected Member Functions inherited from TSharedFromThis< TVariantMap< KeyType, ValueTypes... > >
static UE_FORCEINLINE_HINT TSharedRef< OtherType, Mode > SharedThis (OtherType *ThisPtr)
 
static UE_FORCEINLINE_HINT TSharedRef< OtherType const, Mode > SharedThis (const OtherType *ThisPtr)
 

Detailed Description

template<typename KeyType, typename... ValueTypes>
class TNestedVariantMap< KeyType, ValueTypes >

Nested TVariantMap that can hold all provided types plus nested array and map references.

Member Function Documentation

◆ CreateVariant()

template<typename KeyType , typename... ValueTypes>
static TNestedVariantMapRef< KeyType, ValueTypes... > TNestedVariantMap< KeyType, ValueTypes >::CreateVariant ( )
inlinestatic

◆ operator!=()

template<typename KeyType , typename... ValueTypes>
bool TNestedVariantMap< KeyType, ValueTypes >::operator!= ( const TNestedVariantMap< KeyType, ValueTypes > &  Other) const
inline

◆ operator==()

template<typename KeyType , typename... ValueTypes>
bool TNestedVariantMap< KeyType, ValueTypes >::operator== ( const TNestedVariantMap< KeyType, ValueTypes > &  Other) const
inline

◆ ToDebugString()

template<typename KeyType , typename... ValueTypes>
template<int32 MaxDepth = 32, int32 TabOffset = 0>
void TNestedVariantMap< KeyType, ValueTypes >::ToDebugString ( FString &  OutString) const
inline

The documentation for this class was generated from the following file: