engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
TAutoWeakObjectPtr< T > 模板类 参考

Automatic version of the weak object pointer 更多...

#include <WeakObjectPtrTemplates.h>

+ 类 TAutoWeakObjectPtr< T > 继承关系图:

Public 成员函数

FORCEINLINE TAutoWeakObjectPtr ()
 NULL constructor
 
FORCEINLINE TAutoWeakObjectPtr (const T *Target)
 Construct from a raw pointer
 
FORCEINLINE TAutoWeakObjectPtr (const TWeakObjectPtr< T > &Other)
 Construct from the base type
 
- Public 成员函数 继承自 TWeakObjectPtr< T >
FORCEINLINE T * Get () const
 Dereference the weak pointer. 更多...
 
FORCEINLINE T * Get (bool bEvenIfPendingKill) const
 Dereference the weak pointer 更多...
 
FORCEINLINE T * GetEvenIfUnreachable () const
 Deferences the weak pointer even if its marked RF_Unreachable. 更多...
 
FORCEINLINE bool HasSameIndexAndSerialNumber (const TWeakObjectPtr &Other) const
 Returns true if two weak pointers were originally set to the same object, even if they are now stale 更多...
 
FORCEINLINE bool IsExplicitlyNull () const
 Returns true if this pointer was explicitly assigned to null, was reset, or was never initialized. 更多...
 
FORCEINLINE bool IsStale (bool bIncludingIfPendingKill=true, bool bThreadsafeTest=false) const
 Slightly different than !IsValid(), returns true if this used to point to a UObject, but doesn't any more and has not been assigned or reset in the mean time. 更多...
 
FORCEINLINE bool IsValid () const
 Test if this points to a live UObject. 更多...
 
FORCEINLINE bool IsValid (bool bEvenIfPendingKill, bool bThreadsafeTest=false) const
 Test if this points to a live UObject 更多...
 
FORCEINLINE T & operator* () const
 Dereference the weak pointer
 
FORCEINLINE T * operator-> () const
 Dereference the weak pointer
 
FORCEINLINE TWeakObjectPtr & operator= (const TWeakObjectPtr< OtherT, TWeakObjectPtrBase > &Other)
 Assign from another weak pointer, intended for derived-to-base conversions 更多...
 
FORCEINLINE TEnableIf<!TLosesQualifiersFromTo< U, T >::Value, TWeakObjectPtr & >::Type operator= (U *Object)
 Copy from an object pointer 更多...
 
FORCEINLINE void Reset ()
 Reset the weak pointer back to the null state
 
FORCEINLINE TWeakObjectPtr (const TWeakObjectPtr< OtherT, TWeakObjectPtrBase > &Other)
 Construct from another weak pointer of another type, intended for derived-to-base conversions 更多...
 
FORCEINLINE TWeakObjectPtr (TYPE_OF_NULLPTR)
 Construct from a null pointer
 
FORCEINLINE TWeakObjectPtr (U *Object)
 Construct from an object pointer 更多...
 

详细描述

template<class T>
class TAutoWeakObjectPtr< T >

Automatic version of the weak object pointer


该类的文档由以下文件生成: