Ark Server API (ASA) - Wiki
|
#include <NonNullPointer.h>
Public Member Functions | |
FORCEINLINE | TNonNullPtr (EDefaultConstructNonNullPtr) |
FORCEINLINE | TNonNullPtr (TYPE_OF_NULLPTR) |
FORCEINLINE | TNonNullPtr (ObjectType *InObject) |
template<typename OtherObjectType , typename = typename TEnableIf<UE::Core::Private::NonNullPtr::TPointerIsConvertibleFromTo<OtherObjectType, ObjectType>::Value>::Type> | |
FORCEINLINE | TNonNullPtr (const TNonNullPtr< OtherObjectType > &Other) |
FORCEINLINE TNonNullPtr & | operator= (TYPE_OF_NULLPTR) |
FORCEINLINE TNonNullPtr & | operator= (ObjectType *InObject) |
template<typename OtherObjectType > | |
FORCEINLINE TEnableIf< UE::Core::Private::NonNullPtr::TPointerIsConvertibleFromTo< OtherObjectType, ObjectType >::Value, TNonNullPtr & >::Type | operator= (const TNonNullPtr< OtherObjectType > &Other) |
FORCEINLINE | operator ObjectType * () const |
FORCEINLINE ObjectType * | Get () const |
FORCEINLINE ObjectType & | operator* () const |
FORCEINLINE ObjectType * | operator-> () const |
Private Attributes | |
ObjectType * | Object |
TNonNullPtr is a non-nullable, non-owning, raw/naked/unsafe pointer.
Definition at line 52 of file NonNullPointer.h.
|
inline |
Hack that can be used under extraordinary circumstances
Definition at line 59 of file NonNullPointer.h.
|
inline |
nullptr constructor - not allowed.
Definition at line 67 of file NonNullPointer.h.
|
inline |
Constructs a non-null pointer from the provided pointer. Must not be nullptr.
Definition at line 76 of file NonNullPointer.h.
|
inline |
Constructs a non-null pointer from another non-null pointer
Definition at line 89 of file NonNullPointer.h.
|
inline |
Returns the internal pointer
Definition at line 135 of file NonNullPointer.h.
|
inline |
Returns the internal pointer
Definition at line 126 of file NonNullPointer.h.
|
inline |
Dereference operator returns a reference to the object this pointer points to
Definition at line 144 of file NonNullPointer.h.
|
inline |
Arrow operator returns a pointer to this pointer's object
Definition at line 153 of file NonNullPointer.h.
inline |
Assignment operator taking another TNonNullPtr
Definition at line 117 of file NonNullPointer.h.
|
inline |
Assignment operator taking a pointer
Definition at line 106 of file NonNullPointer.h.
|
inline |
Assignment operator taking a nullptr - not allowed.
Definition at line 97 of file NonNullPointer.h.
|
private |
The object we're holding a reference to.
Definition at line 162 of file NonNullPointer.h.