Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FObjectPtr Struct Reference

#include <ObjectPtr.h>

+ Collaboration diagram for FObjectPtr:

Public Member Functions

 FObjectPtr ()
 
 FObjectPtr (ENoInit)
 
FORCEINLINE FObjectPtr (TYPE_OF_NULLPTR)
 
FORCEINLINE FObjectPtr (UObject *Object)
 
FORCEINLINE FObjectPtr (void *IncompleteObject)
 
FORCEINLINE UObjectGet () const
 
FORCEINLINE UClassGetClass () const
 
 FObjectPtr (FObjectPtr &&)=default
 
 FObjectPtr (const FObjectPtr &)=default
 
FObjectPtroperator= (FObjectPtr &&)=default
 
FObjectPtroperator= (const FObjectPtr &)=default
 
FObjectPtroperator= (UObject *Other)
 
FObjectPtroperator= (void *IncompleteOther)
 
FObjectPtroperator= (TYPE_OF_NULLPTR)
 
FORCEINLINE bool operator== (FObjectPtr Other) const
 
FORCEINLINE bool operator!= (FObjectPtr Other) const
 
FORCEINLINE TObjectPtr< UObject > & ToTObjectPtr ()
 
FORCEINLINE const TObjectPtr< UObject > & ToTObjectPtr () const
 
FORCEINLINE UObjectoperator-> () const
 
FORCEINLINE UObjectoperator* () const
 
FORCEINLINE bool IsNull () const
 
FORCEINLINE bool IsNullNoResolve () const
 
FORCEINLINE bool operator! () const
 
FORCEINLINE operator bool () const
 
FORCEINLINE bool IsResolved () const
 
FString GetPath () const
 
FString GetPathName () const
 
FName GetFName () const
 
FString GetName () const
 
FString GetFullName (EObjectFullNameFlags Flags=EObjectFullNameFlags::None) const
 
FORCEINLINE FObjectHandle GetHandle () const
 
FORCEINLINE FObjectHandleGetHandleRef () const
 
FORCEINLINE bool IsA (const UClass *SomeBase) const
 
template<typename T >
FORCEINLINE bool IsA () const
 

Private Attributes

union { 
 
   FObjectHandle   Handle 
 
   UObject *   DebugPtr 
 
};  
 

Friends

FORCEINLINE uint32 GetTypeHash (const FObjectPtr &Object)
 

Detailed Description

Definition at line 188 of file ObjectPtr.h.

Constructor & Destructor Documentation

◆ FObjectPtr() [1/7]

FObjectPtr::FObjectPtr ( )
inline

Definition at line 193 of file ObjectPtr.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FObjectPtr() [2/7]

FObjectPtr::FObjectPtr ( ENoInit )
inlineexplicit

Definition at line 198 of file ObjectPtr.h.

◆ FObjectPtr() [3/7]

FORCEINLINE FObjectPtr::FObjectPtr ( TYPE_OF_NULLPTR )
inline

Definition at line 202 of file ObjectPtr.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FObjectPtr() [4/7]

FORCEINLINE FObjectPtr::FObjectPtr ( UObject * Object)
inlineexplicit

Definition at line 207 of file ObjectPtr.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FObjectPtr() [5/7]

FORCEINLINE FObjectPtr::FObjectPtr ( void * IncompleteObject)
inlineexplicit

Definition at line 213 of file ObjectPtr.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FObjectPtr() [6/7]

FObjectPtr::FObjectPtr ( FObjectPtr && )
default

◆ FObjectPtr() [7/7]

FObjectPtr::FObjectPtr ( const FObjectPtr & )
default

Member Function Documentation

◆ Get()

FORCEINLINE UObject * FObjectPtr::Get ( ) const
inline

Definition at line 226 of file ObjectPtr.h.

+ Here is the caller graph for this function:

◆ GetClass()

FORCEINLINE UClass * FObjectPtr::GetClass ( ) const
inline

Definition at line 231 of file ObjectPtr.h.

+ Here is the caller graph for this function:

◆ GetFName()

FName FObjectPtr::GetFName ( ) const
inline

Definition at line 308 of file ObjectPtr.h.

+ Here is the call graph for this function:

◆ GetFullName()

FString FObjectPtr::GetFullName ( EObjectFullNameFlags Flags = EObjectFullNameFlags::None) const
inline

Returns the fully qualified pathname for this object as well as the name of the class, in the format: 'ClassName Outermost.[Outer:]Name'.

Definition at line 323 of file ObjectPtr.h.

◆ GetHandle()

FORCEINLINE FObjectHandle FObjectPtr::GetHandle ( ) const
inline

Definition at line 330 of file ObjectPtr.h.

◆ GetHandleRef()

FORCEINLINE FObjectHandle & FObjectPtr::GetHandleRef ( ) const
inline

Definition at line 331 of file ObjectPtr.h.

◆ GetName()

FString FObjectPtr::GetName ( ) const
inline

Definition at line 314 of file ObjectPtr.h.

◆ GetPath()

FString FObjectPtr::GetPath ( ) const
inline

Definition at line 284 of file ObjectPtr.h.

◆ GetPathName()

FString FObjectPtr::GetPathName ( ) const
inline

Definition at line 302 of file ObjectPtr.h.

+ Here is the call graph for this function:

◆ IsA() [1/2]

template<typename T >
FORCEINLINE bool FObjectPtr::IsA ( ) const
inline

Definition at line 346 of file ObjectPtr.h.

◆ IsA() [2/2]

FORCEINLINE bool FObjectPtr::IsA ( const UClass * SomeBase) const
inline

Definition at line 333 of file ObjectPtr.h.

+ Here is the call graph for this function:

◆ IsNull()

FORCEINLINE bool FObjectPtr::IsNull ( ) const
inline

Definition at line 272 of file ObjectPtr.h.

◆ IsNullNoResolve()

FORCEINLINE bool FObjectPtr::IsNullNoResolve ( ) const
inline

Definition at line 275 of file ObjectPtr.h.

◆ IsResolved()

FORCEINLINE bool FObjectPtr::IsResolved ( ) const
inline

Definition at line 280 of file ObjectPtr.h.

◆ operator bool()

FORCEINLINE FObjectPtr::operator bool ( ) const
inlineexplicit

Definition at line 278 of file ObjectPtr.h.

◆ operator!()

FORCEINLINE bool FObjectPtr::operator! ( ) const
inline

Definition at line 277 of file ObjectPtr.h.

◆ operator!=()

Definition at line 261 of file ObjectPtr.h.

◆ operator*()

FORCEINLINE UObject & FObjectPtr::operator* ( ) const
inline

Definition at line 269 of file ObjectPtr.h.

+ Here is the call graph for this function:

◆ operator->()

FORCEINLINE UObject * FObjectPtr::operator-> ( ) const
inline

Definition at line 268 of file ObjectPtr.h.

+ Here is the call graph for this function:

◆ operator=() [1/5]

FObjectPtr & FObjectPtr::operator= ( const FObjectPtr & )
default

◆ operator=() [2/5]

FObjectPtr & FObjectPtr::operator= ( FObjectPtr && )
default

◆ operator=() [3/5]

FObjectPtr & FObjectPtr::operator= ( TYPE_OF_NULLPTR )
inline

Definition at line 254 of file ObjectPtr.h.

◆ operator=() [4/5]

FObjectPtr & FObjectPtr::operator= ( UObject * Other)
inline

Definition at line 241 of file ObjectPtr.h.

◆ operator=() [5/5]

FObjectPtr & FObjectPtr::operator= ( void * IncompleteOther)
inline

Definition at line 248 of file ObjectPtr.h.

◆ operator==()

FORCEINLINE bool FObjectPtr::operator== ( FObjectPtr Other) const
inline

Definition at line 260 of file ObjectPtr.h.

◆ ToTObjectPtr() [1/2]

FORCEINLINE TObjectPtr< UObject > & FObjectPtr::ToTObjectPtr ( )

Definition at line 1002 of file ObjectPtr.h.

◆ ToTObjectPtr() [2/2]

FORCEINLINE const TObjectPtr< UObject > & FObjectPtr::ToTObjectPtr ( ) const

Definition at line 1007 of file ObjectPtr.h.

Friends And Related Symbol Documentation

◆ GetTypeHash

FORCEINLINE uint32 GetTypeHash ( const FObjectPtr & Object)
friend

Definition at line 352 of file ObjectPtr.h.

Member Data Documentation

◆ [union]

union { ... } FObjectPtr

◆ DebugPtr

UObject* FObjectPtr::DebugPtr

Definition at line 362 of file ObjectPtr.h.

◆ Handle

FObjectHandle FObjectPtr::Handle
mutable

Definition at line 359 of file ObjectPtr.h.


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