Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
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)
 
TGet ()
 
const TGet () const
 
Toperator-> ()
 
const Toperator-> () const
 
Toperator* ()
 
const Toperator* () const
 
void Serialize (FArchive &Ar)
 

Private Attributes

TUniquePtr< TObj
 

Detailed Description

template<typename T>
class TUniqueObj< T >

Definition at line 12 of file UniqueObj.h.

Member Typedef Documentation

◆ ElementType

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

Definition at line 15 of file UniqueObj.h.

Constructor & Destructor Documentation

◆ TUniqueObj() [1/3]

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

Definition at line 17 of file UniqueObj.h.

◆ TUniqueObj() [2/3]

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

Definition at line 24 of file UniqueObj.h.

◆ TUniqueObj() [3/3]

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

Definition at line 30 of file UniqueObj.h.

Member Function Documentation

◆ Get() [1/2]

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

Definition at line 52 of file UniqueObj.h.

◆ Get() [2/2]

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

Definition at line 53 of file UniqueObj.h.

◆ operator*() [1/2]

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

Definition at line 58 of file UniqueObj.h.

◆ operator*() [2/2]

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

Definition at line 59 of file UniqueObj.h.

◆ operator->() [1/2]

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

Definition at line 55 of file UniqueObj.h.

◆ operator->() [2/2]

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

Definition at line 56 of file UniqueObj.h.

◆ operator=() [1/3]

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

Definition at line 46 of file UniqueObj.h.

◆ 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

Definition at line 39 of file UniqueObj.h.

◆ Serialize()

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

Definition at line 61 of file UniqueObj.h.

Member Data Documentation

◆ Obj

template<typename T >
TUniquePtr<T> TUniqueObj< T >::Obj
private

Definition at line 67 of file UniqueObj.h.


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