Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectBaseUtility.h |
Include |
#include "UObject/UObjectBaseUtility.h" |
class UObjectBaseUtility : public UObjectBase
Provides utility functions for UObject, this class should not be used directly
Name | Description | |
---|---|---|
|
UObjectBaseUtility() |
Constructors. |
|
UObjectBaseUtility ( |
Name | Description | ||
---|---|---|---|
|
AddToCluster ( |
Adds this objects to a GC cluster that already exists |
|
|
AddToRoot() |
Add an object to the root set. |
|
|
AppendName ( |
Optimized version of GetName that appends to an existing string |
|
|
AtomicallyClearInternalFlags ( |
Atomically clears passed in internal flags. |
|
|
CanBeClusterRoot() |
Called after load to determine if the object can be a cluster root |
|
|
CanBeInCluster() |
Called during cluster construction if the object can be added to a cluster |
|
|
ClearFlags ( |
Clears subset of flags for a specific object |
|
|
ClearInternalFlags ( |
Clears passed in internal flags. |
|
|
ClearPendingKill() |
Unmarks this object as PendingKill. |
|
|
CreateCluster() |
Called after PostLoad to create UObject cluster |
|
|
CreateClusterFromObject ( |
Helper function to create a cluster from UObject |
|
|
DetachExternalPackage() |
Utility function to temporarily detach the object external package, if any GetPackage will report the outer's package once detached |
|
|
const UClass... |
FindNearestCommonBaseClass ( |
Finds the most-derived class which is a parent of both TestClass and this object's class. |
|
GetAllMarks() |
Returns all of the object marks on a specific object |
|
|
GetFullGroupName ( |
Walks up the chain of packages until it reaches the top level, which it ignores. |
|
|
GetFullName ( |
Version of GetFullName() that eliminates unnecessary copies. |
|
|
GetFullName ( |
Returns the fully qualified pathname for this object as well as the name of the class, in the format: 'ClassName Outermost[.Outer].Name'. |
|
|
void * |
GetInterfaceAddress ( |
Returns a pointer to this object safely converted to a pointer of the specified interface class. |
|
EInternalObj... |
GetInternalFlags() |
Gets internal flags. |
|
FLinkerLoad ... |
GetLinker() |
Returns the linker for this object. |
|
GetLinkerCustomVersion ( |
Returns the custom version of the linker for this object corresponding to the given custom version key. |
|
|
GetLinkerIndex() |
Returns this object's LinkerIndex. |
|
|
GetLinkerLicenseeUE4Version() |
Returns the licensee version of the linker for this object. |
|
|
GetLinkerUE4Version() |
Returns the UE4 version of the linker for this object. |
|
|
GetMaskedFlags ( |
Returns object flags that are both in the mask and set on the object. |
|
|
GetName() |
Returns the name of this object (with no path information) |
|
|
GetName ( |
Optimized version of GetName that overwrites an existing string |
|
|
void * |
GetNativeInterfaceAddress ( |
Returns a pointer to the I* native interface object that this object implements. |
|
const void &... |
GetNativeInterfaceAddress ( |
Returns a pointer to the const I* native interface object that this object implements. |
|
UPackage ... |
GetOutermost() |
Legacy function, has the same behavior as GetPackage use GetPackage instead. |
|
UObject *... |
GetOutermostObject() |
Walks up the list of outers until it finds the top-level one that isn't a package. |
|
UPackage ... |
GetPackage() |
Walks up the list of outers until it finds a package directly associated with the object. |
|
GetPathName ( |
Returns the fully qualified pathname for this object, in the format: 'Outermost[.Outer].Name' |
|
|
GetPathName |
Versions of GetPathName() that eliminates unnecessary copies and allocations. |
|
|
GetPathName ( |
Returns the fully qualified pathname for this object, in the format: 'Outermost[.Outer].Name' |
|
|
GetStatID ( |
Returns the stat ID of the object, used for profiling. This will create a stat ID if needed. |
|
|
T * |
GetTypedOuter() |
Traverses the outer chain searching for the next object of a certain type. |
|
UObject *... |
GetTypedOuter ( |
Traverses the outer chain searching for the next object of a certain type. |
|
HasAllFlags ( |
Used to safely check whether all of the passed in flags are set. |
|
|
HasAllMarks ( |
Tests an object for having ALL of a set of marks |
|
|
HasAnyFlags ( |
Used to safely check whether any of the passed in flags are set. |
|
|
HasAnyInternalFlags ( |
Used to safely check whether any of the passed in internal flags are set. |
|
|
HasAnyMarks ( |
Tests an object for having ANY of a set of marks |
|
|
IsA ( |
Returns true if this object is of the specified type. |
|
|
IsA() |
Returns true if this object is of the template type. |
|
|
IsDefaultSubobject() |
Returns whether this component was instanced from a component/subobject template, or if it is a component/subobject template. |
|
|
IsIn ( |
Return the dispatch to |
|
|
IsIn ( |
Overload to determine if an object is in the specified package which can now be different than its outer chain. |
|
|
IsInA ( |
Find out if this object is inside (has an outer) that is of the specified class |
|
|
IsInOuter ( |
Returns true if the object is contained in the specified outer. |
|
|
IsInPackage ( |
Returns true if the object is contained in the specified package. |
|
|
IsNative() |
Checks if the object is native. |
|
|
IsPendingKill() |
Checks the PendingKill flag to see if it is dead but memory still valid |
|
|
IsPendingKillOrUnreachable() |
Checks if the object is pending kill or unreachable. |
|
|
IsRooted() |
Returns true if this object is explicitly rooted |
|
|
IsTemplate ( |
Determines whether this object is a template object |
|
|
IsUnreachable() |
Checks if the object is unreachable. |
|
|
Mark ( |
Adds marks to an object |
|
|
MarkPackageDirty() |
Finds the outermost package and marks it dirty. |
|
|
MarkPendingKill() |
Marks this object as RF_PendingKill. |
|
|
OnClusterMarkedAsPendingKill() |
Called during Garbage Collection to perform additional cleanup when the cluster is about to be destroyed due to PendingKill flag being set on it. |
|
|
ReattachExternalPackage() |
Utility function to reattach the object external package, if any GetPackage will report the object external package if set after this call |
|
|
RemoveFromRoot() |
Remove an object from the root set. |
|
|
RootPackageHasAnyFlags ( |
Checks whether this object's top-most package has any of the specified flags |
|
|
SetFlags ( |
Modifies object flags for a specific object |
|
|
SetInternalFlags ( |
Clears passed in internal flags. |
|
|
ThisThreadAtomicallyClearedRFUnreachable() |
Atomically clear the unreachable flag |
|
|
UnMark ( |
Removes marks from and object |
Name | Description | ||
---|---|---|---|
|
operator< ( |
Overloaded < operator. Compares objects by name. |