UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TUniqueObj< T > Class Template Reference

#include <UniqueObj.h>

Public Types

using ElementType = T
 

Public Member Functions

 TUniqueObj (const TUniqueObj &other)
 
 TUniqueObj (TUniqueObj &&other)
 
template<typename... Args>
 TUniqueObj (Args &&... args)
 
TUniqueObjoperator= (const TUniqueObj &)=delete
 
TUniqueObjoperator= (TUniqueObj &&other)
 
template<typename Arg >
TUniqueObjoperator= (Arg &&other)
 
T & Get ()
 
const T & Get () const
 
T * operator-> ()
 
const T * operator-> () const
 
T & operator* ()
 
const T & operator* () const
 
void Serialize (FArchive &Ar)
 

Member Typedef Documentation

◆ ElementType

template<typename T >
using TUniqueObj< T >::ElementType = T

Constructor & Destructor Documentation

◆ TUniqueObj() [1/3]

template<typename T >
TUniqueObj< T >::TUniqueObj ( const TUniqueObj< T > &  other)
inline

◆ TUniqueObj() [2/3]

template<typename T >
TUniqueObj< T >::TUniqueObj ( TUniqueObj< T > &&  other)
inline

◆ TUniqueObj() [3/3]

template<typename T >
template<typename... Args>
TUniqueObj< T >::TUniqueObj ( Args &&...  args)
inlineexplicit

Member Function Documentation

◆ Get() [1/2]

template<typename T >
T & TUniqueObj< T >::Get ( )
inline

◆ Get() [2/2]

template<typename T >
const T & TUniqueObj< T >::Get ( ) const
inline

◆ operator*() [1/2]

template<typename T >
T & TUniqueObj< T >::operator* ( )
inline

◆ operator*() [2/2]

template<typename T >
const T & TUniqueObj< T >::operator* ( ) const
inline

◆ operator->() [1/2]

template<typename T >
T * TUniqueObj< T >::operator-> ( )
inline

◆ operator->() [2/2]

template<typename T >
const T * TUniqueObj< T >::operator-> ( ) const
inline

◆ operator=() [1/3]

template<typename T >
template<typename Arg >
TUniqueObj & TUniqueObj< T >::operator= ( Arg &&  other)
inline

◆ operator=() [2/3]

template<typename T >
TUniqueObj & TUniqueObj< T >::operator= ( const TUniqueObj< T > &  )
delete

◆ operator=() [3/3]

template<typename T >
TUniqueObj & TUniqueObj< T >::operator= ( TUniqueObj< T > &&  other)
inline

◆ Serialize()

template<typename T >
void TUniqueObj< T >::Serialize ( FArchive Ar)
inline

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