Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
TPimplPtr< T, EPimplPtrMode::NoCopy > Struct Template Reference

#include <PimplPtr.h>

+ Inheritance diagram for TPimplPtr< T, EPimplPtrMode::NoCopy >:

Public Member Functions

 TPimplPtr ()=default
 
 TPimplPtr (TYPE_OF_NULLPTR)
 
 ~TPimplPtr ()
 
 TPimplPtr (const TPimplPtr &)=delete
 
TPimplPtroperator= (const TPimplPtr &)=delete
 
 TPimplPtr (TPimplPtr &&Other)
 
TPimplPtroperator= (TPimplPtr &&Other)
 
TPimplPtroperator= (TYPE_OF_NULLPTR)
 
bool IsValid () const
 
 operator bool () const
 
Toperator-> () const
 
TGet () const
 
Toperator* () const
 
void Reset ()
 
FORCEINLINE bool operator== (TYPE_OF_NULLPTR)
 
FORCEINLINE bool operator!= (TYPE_OF_NULLPTR)
 

Private Member Functions

 TPimplPtr (UE::Core::Private::PimplPtr::TPimplHeapObjectImpl< T > *Impl)
 

Private Attributes

TPtr = nullptr
 

Friends

template<typename , EPimplPtrMode >
struct TPimplPtr
 
template<typename U , EPimplPtrMode M, typename... ArgTypes>
TPimplPtr< U, M > MakePimpl (ArgTypes &&... Args)
 

Detailed Description

template<typename T>
struct TPimplPtr< T, EPimplPtrMode::NoCopy >

Definition at line 143 of file PimplPtr.h.

Constructor & Destructor Documentation

◆ TPimplPtr() [1/5]

Definition at line 151 of file PimplPtr.h.

+ Here is the call graph for this function:

◆ TPimplPtr() [2/5]

◆ TPimplPtr() [3/5]

Definition at line 159 of file PimplPtr.h.

◆ ~TPimplPtr()

template<typename T >
TPimplPtr< T, EPimplPtrMode::NoCopy >::~TPimplPtr ( )
inline

Definition at line 163 of file PimplPtr.h.

+ Here is the call graph for this function:

◆ TPimplPtr() [4/5]

◆ TPimplPtr() [5/5]

Definition at line 175 of file PimplPtr.h.

+ Here is the call graph for this function:

Member Function Documentation

◆ Get()

template<typename T >
T * TPimplPtr< T, EPimplPtrMode::NoCopy >::Get ( ) const
inline

Definition at line 217 of file PimplPtr.h.

+ Here is the call graph for this function:

◆ IsValid()

template<typename T >
bool TPimplPtr< T, EPimplPtrMode::NoCopy >::IsValid ( ) const
inline

Definition at line 202 of file PimplPtr.h.

+ Here is the call graph for this function:

◆ operator bool()

template<typename T >
TPimplPtr< T, EPimplPtrMode::NoCopy >::operator bool ( ) const
inlineexplicit

Definition at line 207 of file PimplPtr.h.

+ Here is the call graph for this function:

◆ operator!=()

template<typename T >
FORCEINLINE bool TPimplPtr< T, EPimplPtrMode::NoCopy >::operator!= ( TYPE_OF_NULLPTR )
inline

Definition at line 237 of file PimplPtr.h.

+ Here is the call graph for this function:

◆ operator*()

template<typename T >
T & TPimplPtr< T, EPimplPtrMode::NoCopy >::operator* ( ) const
inline

Definition at line 222 of file PimplPtr.h.

+ Here is the call graph for this function:

◆ operator->()

template<typename T >
T * TPimplPtr< T, EPimplPtrMode::NoCopy >::operator-> ( ) const
inline

Definition at line 212 of file PimplPtr.h.

+ Here is the call graph for this function:

◆ operator=() [1/3]

◆ operator=() [2/3]

Definition at line 181 of file PimplPtr.h.

+ Here is the call graph for this function:

◆ operator=() [3/3]

Definition at line 196 of file PimplPtr.h.

+ Here is the call graph for this function:

◆ operator==()

Definition at line 236 of file PimplPtr.h.

+ Here is the call graph for this function:

◆ Reset()

template<typename T >
void TPimplPtr< T, EPimplPtrMode::NoCopy >::Reset ( )
inline

Definition at line 227 of file PimplPtr.h.

+ Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ MakePimpl

template<typename T >
template<typename U , EPimplPtrMode M, typename... ArgTypes>
TPimplPtr< U, M > MakePimpl ( ArgTypes &&... Args)
friend

Heap-allocates an instance of T with the given arguments and returns it as a TPimplPtr.

Usage: TPimplPtr<FMyType> MyPtr = MakePimpl<FMyType>(...arguments...);

DeepCopy Usage: TPimplPtr<FMyType, EPimplPtrMode::DeepCopy> MyPtr = MakePimpl<FMyType, EPimplPtrMode::DeepCopy>(...arguments...);

Definition at line 319 of file PimplPtr.h.

◆ TPimplPtr

template<typename T >
template<typename , EPimplPtrMode >
friend struct TPimplPtr
friend

Definition at line 146 of file PimplPtr.h.

Member Data Documentation

◆ Ptr

template<typename T >
T* TPimplPtr< T, EPimplPtrMode::NoCopy >::Ptr = nullptr
private

Definition at line 240 of file PimplPtr.h.


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