|
| void | AddToCluster (UObjectBaseUtility *ClusterRootOrObjectFromCluster, bool bAddAsMutableObject=false) |
| | Adds this objects to a GC cluster that already exists 更多...
|
| |
| FORCEINLINE void | AddToRoot () |
| | Add an object to the root set. 更多...
|
| |
|
FORCEINLINE void | AppendName (FString &ResultString) const |
| | Optimized version of GetName that appends to an existing string
|
| |
| FORCEINLINE bool | AtomicallyClearInternalFlags (EInternalObjectFlags FlagsToClear) const |
| | Atomically clears passed in internal flags. 更多...
|
| |
| virtual bool | CanBeClusterRoot () const |
| | Called after load to determine if the object can be a cluster root 更多...
|
| |
| virtual bool | CanBeInCluster () const |
| | Called during cluster construction if the object can be added to a cluster 更多...
|
| |
|
FORCEINLINE void | ClearFlags (EObjectFlags NewFlags) |
| | Clears subset of flags for a specific object
|
| |
| FORCEINLINE void | ClearInternalFlags (EInternalObjectFlags FlagsToClear) const |
| | Clears passed in internal flags. 更多...
|
| |
|
FORCEINLINE void | ClearPendingKill () |
| | Unmarks this object as PendingKill.
|
| |
|
virtual void | CreateCluster () |
| | Called after PostLoad to create UObject cluster
|
| |
|
void | DetachExternalPackage () |
| | Utility function to temporarily detach the object external package, if any GetPackage will report the outer's package once detached
|
| |
| const UClass * | FindNearestCommonBaseClass (const UClass *TestClass) const |
| | Finds the most-derived class which is a parent of both TestClass and this object's class. 更多...
|
| |
| FORCEINLINE EObjectMark | GetAllMarks () const |
| | Returns all of the object marks on a specific object 更多...
|
| |
| FString | GetFullGroupName (bool bStartWithOuter) const |
| | Walks up the chain of packages until it reaches the top level, which it ignores. 更多...
|
| |
|
void | GetFullName (const UObject *StopOuter, FString &ResultString, EObjectFullNameFlags Flags=EObjectFullNameFlags::None) const |
| | Version of GetFullName() that eliminates unnecessary copies.
|
| |
| FString | GetFullName (const UObject *StopOuter=NULL, EObjectFullNameFlags Flags=EObjectFullNameFlags::None) const |
| | 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 (UClass *InterfaceClass) |
| | Returns a pointer to this object safely converted to a pointer of the specified interface class. 更多...
|
| |
| FORCEINLINE EInternalObjectFlags | GetInternalFlags () const |
| | Gets internal flags. 更多...
|
| |
| class FLinkerLoad * | GetLinker () const |
| | Returns the linker for this object. 更多...
|
| |
| int32 | GetLinkerCustomVersion (FGuid CustomVersionKey) const |
| | Returns the custom version of the linker for this object corresponding to the given custom version key. 更多...
|
| |
| int32 | GetLinkerIndex () const |
| | Returns this object's LinkerIndex. 更多...
|
| |
| int32 | GetLinkerLicenseeUE4Version () const |
| | Returns the licensee version of the linker for this object. 更多...
|
| |
| int32 | GetLinkerUE4Version () const |
| | Returns the UE4 version of the linker for this object. 更多...
|
| |
| FORCEINLINE EObjectFlags | GetMaskedFlags (EObjectFlags Mask=RF_AllFlags) const |
| | Returns object flags that are both in the mask and set on the object. 更多...
|
| |
| FORCEINLINE FString | GetName () const |
| | Returns the name of this object (with no path information) 更多...
|
| |
|
FORCEINLINE void | GetName (FString &ResultString) const |
| | Optimized version of GetName that overwrites an existing string
|
| |
| void * | GetNativeInterfaceAddress (UClass *InterfaceClass) |
| | Returns a pointer to the I* native interface object that this object implements. 更多...
|
| |
| const void * | GetNativeInterfaceAddress (UClass *InterfaceClass) const |
| | Returns a pointer to the const I* native interface object that this object implements. 更多...
|
| |
| UPackage * | GetOutermost () const |
| | Legacy function, has the same behavior as GetPackage use GetPackage instead. 更多...
|
| |
| UObject * | GetOutermostObject () const |
| | Walks up the list of outers until it finds the top-level one that isn't a package. 更多...
|
| |
| UPackage * | GetPackage () const |
| | Walks up the list of outers until it finds a package directly associated with the object. 更多...
|
| |
|
void | GetPathName (const UObject *StopOuter, FString &ResultString) const |
| | Versions of GetPathName() that eliminates unnecessary copies and allocations.
|
| |
| FString | GetPathName (const UObject *StopOuter=NULL) const |
| | Returns the fully qualified pathname for this object, in the format: 'Outermost[.Outer].Name' 更多...
|
| |
| FORCEINLINE TStatId | GetStatID (bool bForDeferredUse=false) const |
| | Returns the stat ID of the object, used for profiling. 更多...
|
| |
| template<typename T > |
| T * | GetTypedOuter () const |
| | Traverses the outer chain searching for the next object of a certain type. 更多...
|
| |
| UObject * | GetTypedOuter (UClass *Target) const |
| | Traverses the outer chain searching for the next object of a certain type. 更多...
|
| |
| FORCEINLINE bool | HasAllFlags (EObjectFlags FlagsToCheck) const |
| | Used to safely check whether all of the passed in flags are set. 更多...
|
| |
| FORCEINLINE bool | HasAllMarks (EObjectMark Marks) const |
| | Tests an object for having ALL of a set of marks 更多...
|
| |
| FORCEINLINE bool | HasAnyFlags (EObjectFlags FlagsToCheck) const |
| | Used to safely check whether any of the passed in flags are set. 更多...
|
| |
| FORCEINLINE bool | HasAnyInternalFlags (EInternalObjectFlags FlagsToCheck) const |
| | Used to safely check whether any of the passed in internal flags are set. 更多...
|
| |
| FORCEINLINE bool | HasAnyMarks (EObjectMark Marks) const |
| | Tests an object for having ANY of a set of marks 更多...
|
| |
|
template<class T > |
| bool | IsA () const |
| | Returns true if this object is of the template type.
|
| |
|
template<typename OtherClassType > |
| FORCEINLINE bool | IsA (OtherClassType SomeBase) const |
| | Returns true if this object is of the specified type.
|
| |
| bool | IsDefaultSubobject () const |
| | Returns whether this component was instanced from a component/subobject template, or if it is a component/subobject template. 更多...
|
| |
| bool | IsIn (const UObject *SomeOuter) const |
| | Return the dispatch to IsInOuter or IsInPackage depending on SomeOuter's class. 更多...
|
| |
| bool | IsIn (const UPackage *SomePackage) const |
| | Overload to determine if an object is in the specified package which can now be different than its outer chain. 更多...
|
| |
| bool | IsInA (const UClass *SomeBaseClass) const |
| | Find out if this object is inside (has an outer) that is of the specified class 更多...
|
| |
|
bool | IsInOuter (const UObject *SomeOuter) const |
| | Returns true if the object is contained in the specified outer.
|
| |
|
bool | IsInPackage (const UPackage *SomePackage) const |
| | Returns true if the object is contained in the specified package.
|
| |
|
FORCEINLINE bool | IsNative () const |
| | Checks if the object is native.
|
| |
|
FORCEINLINE bool | IsPendingKill () const |
| | Checks the PendingKill flag to see if it is dead but memory still valid
|
| |
|
FORCEINLINE bool | IsPendingKillOrUnreachable () const |
| | Checks if the object is pending kill or unreachable.
|
| |
| FORCEINLINE bool | IsRooted () const |
| | Returns true if this object is explicitly rooted 更多...
|
| |
| bool | IsTemplate (EObjectFlags TemplateTypes=RF_ArchetypeObject|RF_ClassDefaultObject) const |
| | Determines whether this object is a template object 更多...
|
| |
|
FORCEINLINE bool | IsUnreachable () const |
| | Checks if the object is unreachable.
|
| |
| FORCEINLINE void | Mark (EObjectMark Marks) const |
| | Adds marks to an object 更多...
|
| |
| bool | MarkPackageDirty () const |
| | Finds the outermost package and marks it dirty. 更多...
|
| |
|
FORCEINLINE void | MarkPendingKill () |
| | Marks this object as RF_PendingKill.
|
| |
|
virtual void | 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.
|
| |
| FORCEINLINE bool | operator< (const UObjectBaseUtility &Other) const |
| | Overloaded < operator. 更多...
|
| |
|
void | ReattachExternalPackage () |
| | Utility function to reattach the object external package, if any GetPackage will report the object external package if set after this call
|
| |
|
FORCEINLINE void | RemoveFromRoot () |
| | Remove an object from the root set.
|
| |
| bool | RootPackageHasAnyFlags (uint32 CheckFlagMask) const |
| | Checks whether this object's top-most package has any of the specified flags 更多...
|
| |
|
FORCEINLINE void | SetFlags (EObjectFlags NewFlags) |
| | Modifies object flags for a specific object
|
| |
| FORCEINLINE void | SetInternalFlags (EInternalObjectFlags FlagsToSet) const |
| | Clears passed in internal flags. 更多...
|
| |
| FORCEINLINE bool | ThisThreadAtomicallyClearedRFUnreachable () |
| | Atomically clear the unreachable flag 更多...
|
| |
| FORCEINLINE void | UnMark (EObjectMark Marks) const |
| | Removes marks from and object 更多...
|
| |
| FORCENOINLINE void | AtomicallyClearFlags (EObjectFlags FlagsToClear) |
| | Atomically clears the specified flags. 更多...
|
| |
| FORCENOINLINE void | AtomicallySetFlags (EObjectFlags FlagsToAdd) |
| | Atomically adds the specified flags. 更多...
|
| |
|
FORCEINLINE UClass * | GetClass () const |
| | Returns the UClass that defines the fields of this object
|
| |
|
UPackage * | GetExternalPackage () const |
| | Returns the external UPackage associated with this object, if any
|
| |
|
UPackage * | GetExternalPackageInternal () const |
| | Returns the external UPackage for this object, if any, NOT THREAD SAFE, used by internal gc reference collecting.
|
| |
| FORCEINLINE EObjectFlags | GetFlags () const |
| | Retrieve the object flags directly 更多...
|
| |
|
FORCEINLINE FName | GetFName () const |
| | Returns the logical name of this object
|
| |
|
FORCEINLINE UObject * | GetOuter () const |
| | Returns the UObject this object resides in
|
| |
| FORCEINLINE uint32 | GetUniqueID () const |
| | Returns the unique ID of the object...these are reused so it is only unique while the object is alive. 更多...
|
| |
| bool | IsValidLowLevel () const |
| | Checks to see if the object appears to be valid 更多...
|
| |
| bool | IsValidLowLevelFast (bool bRecursive=true) const |
| | Faster version of IsValidLowLevel. 更多...
|
| |
|
void | SetExternalPackage (UPackage *InPackage) |
| | Associate an external package directly to this object.
|
| |
| | UObjectBase (UClass *InClass, EObjectFlags InFlags, EInternalObjectFlags InInternalFlags, UObject *InOuter, FName InName) |
| | Constructor used by StaticAllocateObject 更多...
|
| |
|
virtual | ~UObjectBase () |
| | Final destructor, removes the object from the object array, and indirectly, from any annotations
|
| |