UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType > Class Template Reference

#include <UniquePointer.h>

Public Member Functions

ULANG_FORCEINLINE TUPtrG (NullPtrType NullPtr=nullptr)
 
ULANG_FORCEINLINE TUPtrG (TUPtrG &&Other)
 
template<class OtherObjectType , bool OtherAllowNull, typename = typename TEnableIf<TPointerIsConvertibleFromTo<OtherObjectType, ObjectType>::Value && (AllowNull || !OtherAllowNull)>::Type>
ULANG_FORCEINLINE TUPtrG (TUPtrG< OtherObjectType, OtherAllowNull, AllocatorType, AllocatorArgsType... > &&Other)
 
ULANG_FORCEINLINE ~TUPtrG ()
 
template<typename... CtorArgsType>
ULANG_FORCEINLINE TUPtrGSetNew (CtorArgsType &&... CtorArgs)
 
 TUPtrG (const TUPtrG &)=delete
 
template<class OtherObjectType , bool OtherAllowNull>
 TUPtrG (const TUPtrG< OtherObjectType, OtherAllowNull, AllocatorType, AllocatorArgsType... > &Other)=delete
 
TUPtrGoperator= (const TUPtrG &)=delete
 
template<class OtherObjectType , bool OtherAllowNull>
TUPtrGoperator= (const TUPtrG< OtherObjectType, OtherAllowNull, AllocatorType, AllocatorArgsType... > &Other)=delete
 
ULANG_FORCEINLINE TUPtrGoperator= (NullPtrType)
 
ULANG_FORCEINLINE TUPtrGoperator= (TUPtrG &&Other)
 
template<class OtherObjectType , bool OtherAllowNull, typename = typename TEnableIf<TPointerIsConvertibleFromTo<OtherObjectType, ObjectType>::Value && (AllowNull || !OtherAllowNull)>::Type>
ULANG_FORCEINLINE TUPtrGoperator= (TUPtrG< OtherObjectType, OtherAllowNull, AllocatorType, AllocatorArgsType... > &&Other)
 
ULANG_FORCEINLINE operator ObjectType * () const
 
ULANG_FORCEINLINE ObjectType & operator* () const
 
ULANG_FORCEINLINE ObjectType * operator-> () const
 
ULANG_FORCEINLINE ObjectType * Get () const
 
ULANG_FORCEINLINE const AllocatorType & GetAllocator () const
 
ULANG_FORCEINLINE void Reset ()
 
ULANG_FORCEINLINE TUPtrG< ObjectType, false, AllocatorType, AllocatorArgsType... > & AsRef () &
 
ULANG_FORCEINLINE const TUPtrG< ObjectType, false, AllocatorType, AllocatorArgsType... > && AsRef () &&
 
ULANG_FORCEINLINE const TUPtrG< ObjectType, false, AllocatorType, AllocatorArgsType... > & AsRef () const &
 
template<class OtherObjectType , typename = typename TEnableIf<TPointerIsStaticCastableFromTo<OtherObjectType, ObjectType>::Value>::Type>
ULANG_FORCEINLINE TUPtrG< OtherObjectType, AllowNull, AllocatorType, AllocatorArgsType... > & As ()
 
template<class OtherObjectType , typename = typename TEnableIf<TPointerIsStaticCastableFromTo<OtherObjectType, ObjectType>::Value>::Type>
ULANG_FORCEINLINE const TUPtrG< OtherObjectType, AllowNull, AllocatorType, AllocatorArgsType... > & As () const
 
ULANG_FORCEINLINE bool operator== (NullPtrType) const
 
ULANG_FORCEINLINE bool operator== (const TUPtrG &Other) const
 
template<class OtherObjectType , bool OtherAllowNull>
ULANG_FORCEINLINE bool operator== (const TUPtrG< OtherObjectType, OtherAllowNull, AllocatorType, AllocatorArgsType... > &Other) const
 
template<class OtherObjectType , bool OtherAllowNull>
ULANG_FORCEINLINE bool operator== (OtherObjectType *Object) const
 
ULANG_FORCEINLINE bool operator!= (const TUPtrG &Other) const
 
template<class OtherObjectType , bool OtherAllowNull>
ULANG_FORCEINLINE bool operator!= (const TUPtrG< OtherObjectType, OtherAllowNull, AllocatorType, AllocatorArgsType... > &Other) const
 
template<class OtherObjectType , bool OtherAllowNull>
ULANG_FORCEINLINE bool operator!= (OtherObjectType *Object) const
 
ULANG_FORCEINLINE bool operator< (const TUPtrG &Other) const
 
template<class OtherObjectType , bool OtherAllowNull>
ULANG_FORCEINLINE bool operator< (const TUPtrG< OtherObjectType, OtherAllowNull, AllocatorType, AllocatorArgsType... > &Other) const
 
template<class OtherObjectType , bool OtherAllowNull>
ULANG_FORCEINLINE bool operator< (OtherObjectType *Object) const
 
ULANG_FORCEINLINE bool operator> (const TUPtrG &Other) const
 
template<class OtherObjectType , bool OtherAllowNull>
ULANG_FORCEINLINE bool operator> (const TUPtrG< OtherObjectType, OtherAllowNull, AllocatorType, AllocatorArgsType... > &Other) const
 
template<class OtherObjectType , bool OtherAllowNull>
ULANG_FORCEINLINE bool operator> (OtherObjectType *Object) const
 
ULANG_FORCEINLINE operator bool ()
 
ULANG_FORCEINLINE operator bool () const
 
ULANG_FORCEINLINE bool operator! () const
 
ULANG_FORCEINLINE bool IsValid () const
 

Static Public Member Functions

template<typename... CtorArgsType>
static ULANG_FORCEINLINE TUPtrG New (AllocatorArgsType &&... AllocatorArgs, CtorArgsType &&... CtorArgs)
 

Friends

template<class OtherObjectType , bool OtherAllowNull, class OtherAllocatorType , typename... OtherAllocatorArgsType>
class TUPtrG
 
template<class OtherObjectType , bool OtherAllowNull, class OtherAllocatorType , typename... OtherAllocatorArgsType>
class TUPtrArrayG
 

Constructor & Destructor Documentation

◆ TUPtrG() [1/5]

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
ULANG_FORCEINLINE uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::TUPtrG ( NullPtrType  NullPtr = nullptr)
inline

◆ TUPtrG() [2/5]

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
ULANG_FORCEINLINE uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::TUPtrG ( TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType > &&  Other)
inline

◆ TUPtrG() [3/5]

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
template<class OtherObjectType , bool OtherAllowNull, typename = typename TEnableIf<TPointerIsConvertibleFromTo<OtherObjectType, ObjectType>::Value && (AllowNull || !OtherAllowNull)>::Type>
ULANG_FORCEINLINE uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::TUPtrG ( TUPtrG< OtherObjectType, OtherAllowNull, AllocatorType, AllocatorArgsType... > &&  Other)
inline

◆ ~TUPtrG()

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
ULANG_FORCEINLINE uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::~TUPtrG ( )
inline

◆ TUPtrG() [4/5]

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::TUPtrG ( const TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType > &  )
delete

◆ TUPtrG() [5/5]

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
template<class OtherObjectType , bool OtherAllowNull>
uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::TUPtrG ( const TUPtrG< OtherObjectType, OtherAllowNull, AllocatorType, AllocatorArgsType... > &  Other)
delete

Member Function Documentation

◆ As() [1/2]

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
template<class OtherObjectType , typename = typename TEnableIf<TPointerIsStaticCastableFromTo<OtherObjectType, ObjectType>::Value>::Type>
ULANG_FORCEINLINE TUPtrG< OtherObjectType, AllowNull, AllocatorType, AllocatorArgsType... > & uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::As ( )
inline

◆ As() [2/2]

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
template<class OtherObjectType , typename = typename TEnableIf<TPointerIsStaticCastableFromTo<OtherObjectType, ObjectType>::Value>::Type>
ULANG_FORCEINLINE const TUPtrG< OtherObjectType, AllowNull, AllocatorType, AllocatorArgsType... > & uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::As ( ) const
inline

◆ AsRef() [1/3]

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
ULANG_FORCEINLINE TUPtrG< ObjectType, false, AllocatorType, AllocatorArgsType... > & uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::AsRef ( ) &
inline

◆ AsRef() [2/3]

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
ULANG_FORCEINLINE const TUPtrG< ObjectType, false, AllocatorType, AllocatorArgsType... > && uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::AsRef ( ) &&
inline

◆ AsRef() [3/3]

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
ULANG_FORCEINLINE const TUPtrG< ObjectType, false, AllocatorType, AllocatorArgsType... > & uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::AsRef ( ) const &
inline

◆ Get()

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
ULANG_FORCEINLINE ObjectType * uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::Get ( ) const
inline

◆ GetAllocator()

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
ULANG_FORCEINLINE const AllocatorType & uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::GetAllocator ( ) const
inline

◆ IsValid()

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
ULANG_FORCEINLINE bool uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::IsValid ( ) const
inline

◆ New()

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
template<typename... CtorArgsType>
static ULANG_FORCEINLINE TUPtrG uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::New ( AllocatorArgsType &&...  AllocatorArgs,
CtorArgsType &&...  CtorArgs 
)
inlinestatic

◆ operator bool() [1/2]

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
ULANG_FORCEINLINE uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::operator bool ( )
inline

◆ operator bool() [2/2]

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
ULANG_FORCEINLINE uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::operator bool ( ) const
inline

◆ operator ObjectType *()

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
ULANG_FORCEINLINE uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::operator ObjectType * ( ) const
inline

◆ operator!()

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
ULANG_FORCEINLINE bool uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::operator! ( ) const
inline

◆ operator!=() [1/3]

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
ULANG_FORCEINLINE bool uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::operator!= ( const TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType > &  Other) const
inline

◆ operator!=() [2/3]

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
template<class OtherObjectType , bool OtherAllowNull>
ULANG_FORCEINLINE bool uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::operator!= ( const TUPtrG< OtherObjectType, OtherAllowNull, AllocatorType, AllocatorArgsType... > &  Other) const
inline

◆ operator!=() [3/3]

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
template<class OtherObjectType , bool OtherAllowNull>
ULANG_FORCEINLINE bool uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::operator!= ( OtherObjectType Object) const
inline

◆ operator*()

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
ULANG_FORCEINLINE ObjectType & uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::operator* ( ) const
inline

◆ operator->()

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
ULANG_FORCEINLINE ObjectType * uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::operator-> ( ) const
inline

◆ operator<() [1/3]

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
ULANG_FORCEINLINE bool uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::operator< ( const TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType > &  Other) const
inline

◆ operator<() [2/3]

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
template<class OtherObjectType , bool OtherAllowNull>
ULANG_FORCEINLINE bool uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::operator< ( const TUPtrG< OtherObjectType, OtherAllowNull, AllocatorType, AllocatorArgsType... > &  Other) const
inline

◆ operator<() [3/3]

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
template<class OtherObjectType , bool OtherAllowNull>
ULANG_FORCEINLINE bool uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::operator< ( OtherObjectType Object) const
inline

◆ operator=() [1/5]

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
TUPtrG & uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::operator= ( const TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType > &  )
delete

◆ operator=() [2/5]

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
template<class OtherObjectType , bool OtherAllowNull>
TUPtrG & uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::operator= ( const TUPtrG< OtherObjectType, OtherAllowNull, AllocatorType, AllocatorArgsType... > &  Other)
delete

◆ operator=() [3/5]

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
ULANG_FORCEINLINE TUPtrG & uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::operator= ( NullPtrType  )
inline

◆ operator=() [4/5]

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
ULANG_FORCEINLINE TUPtrG & uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::operator= ( TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType > &&  Other)
inline

◆ operator=() [5/5]

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
template<class OtherObjectType , bool OtherAllowNull, typename = typename TEnableIf<TPointerIsConvertibleFromTo<OtherObjectType, ObjectType>::Value && (AllowNull || !OtherAllowNull)>::Type>
ULANG_FORCEINLINE TUPtrG & uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::operator= ( TUPtrG< OtherObjectType, OtherAllowNull, AllocatorType, AllocatorArgsType... > &&  Other)
inline

◆ operator==() [1/4]

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
ULANG_FORCEINLINE bool uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::operator== ( const TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType > &  Other) const
inline

◆ operator==() [2/4]

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
template<class OtherObjectType , bool OtherAllowNull>
ULANG_FORCEINLINE bool uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::operator== ( const TUPtrG< OtherObjectType, OtherAllowNull, AllocatorType, AllocatorArgsType... > &  Other) const
inline

◆ operator==() [3/4]

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
ULANG_FORCEINLINE bool uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::operator== ( NullPtrType  ) const
inline

◆ operator==() [4/4]

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
template<class OtherObjectType , bool OtherAllowNull>
ULANG_FORCEINLINE bool uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::operator== ( OtherObjectType Object) const
inline

◆ operator>() [1/3]

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
ULANG_FORCEINLINE bool uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::operator> ( const TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType > &  Other) const
inline

◆ operator>() [2/3]

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
template<class OtherObjectType , bool OtherAllowNull>
ULANG_FORCEINLINE bool uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::operator> ( const TUPtrG< OtherObjectType, OtherAllowNull, AllocatorType, AllocatorArgsType... > &  Other) const
inline

◆ operator>() [3/3]

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
template<class OtherObjectType , bool OtherAllowNull>
ULANG_FORCEINLINE bool uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::operator> ( OtherObjectType Object) const
inline

◆ Reset()

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
ULANG_FORCEINLINE void uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::Reset ( )
inline

◆ SetNew()

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
template<typename... CtorArgsType>
ULANG_FORCEINLINE TUPtrG & uLang::TUPtrG< ObjectType, AllowNull, AllocatorType, AllocatorArgsType >::SetNew ( CtorArgsType &&...  CtorArgs)
inline

Friends And Related Symbol Documentation

◆ TUPtrArrayG

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
template<class OtherObjectType , bool OtherAllowNull, class OtherAllocatorType , typename... OtherAllocatorArgsType>
friend class TUPtrArrayG
friend

◆ TUPtrG

template<typename ObjectType , bool AllowNull, class AllocatorType , typename... AllocatorArgsType>
template<class OtherObjectType , bool OtherAllowNull, class OtherAllocatorType , typename... OtherAllocatorArgsType>
friend class TUPtrG
friend

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