UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TStrongPtrVariant< BaseType > Struct Template Reference

#include <PointerVariants.h>

+ Inheritance diagram for TStrongPtrVariant< BaseType >:

Public Types

using Super = UE::Core::Private::TPtrVariantBase< BaseType, true >
 
- Public Types inherited from UE::Core::Private::TPtrVariantBase< BaseType, true >
using SharedType = std::conditional_t< bIsStrong, TSharedPtr< BaseType >, TWeakPtr< BaseType > >
 

Public Member Functions

BaseType * Get () const
 
TWeakPtrVariant< BaseType > ToWeakVariant () const
 
- Public Member Functions inherited from UE::Core::Private::TPtrVariantBase< BaseType, true >
constexpr TPtrVariantBase ()=default
 
constexpr TPtrVariantBase (TYPE_OF_NULLPTR)
 
constexpr TPtrVariantBase (DerivedType *InDerived)
 
TPtrVariantBaseoperator= (TYPE_OF_NULLPTR)
 
bool IsValid () const
 
void Reset ()
 

Member Typedef Documentation

◆ Super

template<typename BaseType >
using TStrongPtrVariant< BaseType >::Super = UE::Core::Private::TPtrVariantBase<BaseType, true>

Member Function Documentation

◆ Get()

template<typename BaseType >
BaseType * TStrongPtrVariant< BaseType >::Get ( ) const
inline

◆ ToWeakVariant()

template<typename BaseType >
TWeakPtrVariant< BaseType > TStrongPtrVariant< BaseType >::ToWeakVariant ( ) const
inline

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