UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Core::Private::TPtrVariantBase< BaseType, bIsStrong >::FObjectPtrWrapper Struct Reference

#include <PointerVariants.h>

Public Types

using ObjectPtrType = std::conditional_t< bIsStrong, TStrongObjectPtr< const UObject >, TWeakObjectPtr< const UObject > >
 

Public Member Functions

 FObjectPtrWrapper (const UObject *InObjectPtr, BaseType *const InCastedPtr)
 

Public Attributes

ObjectPtrType ObjectPtr
 
BaseType * CastedPtr = nullptr
 

Member Typedef Documentation

◆ ObjectPtrType

template<typename BaseType , bool bIsStrong>
using UE::Core::Private::TPtrVariantBase< BaseType, bIsStrong >::FObjectPtrWrapper::ObjectPtrType = std::conditional_t<bIsStrong, TStrongObjectPtr<const UObject>, TWeakObjectPtr<const UObject> >

Constructor & Destructor Documentation

◆ FObjectPtrWrapper()

template<typename BaseType , bool bIsStrong>
UE::Core::Private::TPtrVariantBase< BaseType, bIsStrong >::FObjectPtrWrapper::FObjectPtrWrapper ( const UObject InObjectPtr,
BaseType *const  InCastedPtr 
)
inline

Member Data Documentation

◆ CastedPtr

template<typename BaseType , bool bIsStrong>
BaseType* UE::Core::Private::TPtrVariantBase< BaseType, bIsStrong >::FObjectPtrWrapper::CastedPtr = nullptr

◆ ObjectPtr

template<typename BaseType , bool bIsStrong>
ObjectPtrType UE::Core::Private::TPtrVariantBase< BaseType, bIsStrong >::FObjectPtrWrapper::ObjectPtr

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