Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > UObject
Inheritance Hierarchy
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h |
Include | #include "UObject/UnrealType.h" |
Syntax
class FObjectPropertyBase : public FProperty
Remarks
Describes a reference variable to another object which may be nil.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TObjectPtr< class UClass > | PropertyClass | Variables. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FObjectPropertyBase
(
UField* InField |
||
![]() |
FObjectPropertyBase
(
EInternal InInernal, |
||
![]() |
FObjectPropertyBase
(
FFieldVariant InOwner, |
||
![]() |
FObjectPropertyBase
(
FFieldVariant InOwner, |
Constructor used for constructing compiled-in properties | |
![]() |
FObjectPropertyBase
(
FFieldVariant InOwner, |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
bool | ||
![]() ![]() ![]() |
bool | AllowObjectTypeReinterpretationTo
(
const FObjectPropertyBase* Other |
|
![]() ![]() ![]() |
void | CheckValidObject
(
void* ValueAddress, |
|
![]() ![]() |
FField * | Construct
(
const FFieldVariant& InOwner, |
|
![]() ![]() |
UObject * | ConstructDefaultObjectValueIfNecessary
(
UObject* ExistingValue |
Constructs a new object if the existing one is missing or is not compatible with the property class Used for making sure non-nullable properties have valid values. |
![]() ![]() |
TObjectPtr< UObject > | FindImportedObject
(
const FProperty* Property, |
|
![]() ![]() ![]() |
FString | GetCPPTypeCustom
(
FString* ExtendedTypeText, |
|
![]() ![]() |
FString | GetExportPath
(
FTopLevelAssetPath ClassPathName, |
Returns the qualified export path given a class path name and object path name |
![]() ![]() |
FString | GetExportPath
(
const TObjectPtr< const UObject >& Object, |
Returns the qualified export path for a given object, parent, and export root scope |
![]() ![]() ![]() |
UObject * | GetObjectPropertyValue
(
const void* PropertyValueAddress |
|
![]() ![]() ![]() |
UObject * | GetObjectPropertyValue_InContainer
(
const void* ContainerAddress, |
|
![]() ![]() ![]() |
TObjectPtr< UObject > | GetObjectPtrPropertyValue
(
const void* PropertyValueAddress |
|
![]() ![]() ![]() |
TObjectPtr< UObject > | GetObjectPtrPropertyValue_InContainer
(
const void* ContainerAddress, |
|
![]() ![]() |
PRAGMA_DISABLE_BUFFER_OVERRUN_WARNING void | GetWrappedUObjectPtrValues
(
OutType* OutObjects, |
Disable false positive buffer overrun warning during pgoprofile linking step. |
![]() ![]() ![]() |
UObject * | LoadObjectPropertyValue
(
const void* PropertyValueAddress |
|
![]() ![]() |
UObject * | LoadObjectPropertyValue_InContainer
(
const void* PropertyValueAddress, |
|
![]() ![]() |
bool | ParseObjectPropertyValue
(
const FProperty* Property, |
Parses a text buffer into an object reference.Parses a text buffer into an object reference. |
![]() ![]() |
void | SetObjectPropertyValue
(
void* PropertyValueAddress, |
|
![]() ![]() |
void | SetObjectPropertyValue_InContainer
(
void* ContainerAddress, |
|
![]() ![]() ![]() |
void | SetObjectPropertyValueUnchecked
(
void* PropertyValueAddress, |
|
![]() ![]() ![]() |
void | SetObjectPropertyValueUnchecked_InContainer
(
void* ContainerAddress, |
|
![]() ![]() |
void | SetObjectPtrPropertyValue
(
void* PropertyValueAddress, |
|
![]() ![]() |
void | SetObjectPtrPropertyValue_InContainer
(
void* ContainerAddress, |
|
![]() ![]() ![]() |
void | SetObjectPtrPropertyValueUnchecked
(
void* PropertyValueAddress, |
|
![]() ![]() ![]() |
void | SetObjectPtrPropertyValueUnchecked_InContainer
(
void* ContainerAddress, |
|
![]() |
void | SetPropertyClass
(
UClass* NewPropertyClass |
Setter function for this property's PropertyClass member. |
![]() ![]() |
PRAGMA_ENABLE_BUFFER_OVERRUN_WARNING void | SetWrappedUObjectPtrValues
(
void* DestAddress, |
Enable back buffer overrun warning. |
![]() ![]() |
FFieldClass * | StaticClass () |
|
![]() ![]() |
uint64 | ||
![]() ![]() |
uint64 | ||
![]() ![]() |
bool | StaticIdentical
(
UObject* A, |
Helper method for sharing code with FObjectPtrProperty even though one doesn't inherit from the other. |
Overridden from FProperty
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
void | ExportText_Internal
(
FString& ValueStr, |
|
![]() ![]() ![]() |
FName | GetID () |
|
![]() ![]() ![]() |
bool | Determines whether the property values are identical. | |
![]() ![]() ![]() |
const TCHAR * | ImportText_Internal
(
const TCHAR* Buffer, |
|
![]() ![]() |
void | InstanceSubobjects
(
void* Data, |
Creates new copies of components |
![]() ![]() ![]() |
bool | NetSerializeItem
(
FArchive& Ar, |
|
![]() ![]() ![]() |
void * | ResolveVisitedPathInfo
(
void* Data, |
Attempt to resolve the given inner path info against this outer property to get the inner property value. |
![]() ![]() ![]() |
bool | Returns true, if Other is property of exactly the same type | |
![]() ![]() ![]() |
bool | ||
![]() ![]() ![]() |
EPropertyVisitorControlFlow | Visit
(
FPropertyVisitorPath& Path, |
Visits this property and allows recursion into the inner properties This method allows callers to visit inner properties without knowing about its container type as opposed to TPropertyIterator. |
Overridden from FField
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | AddReferencedObjects
(
FReferenceCollector& Collector |
|
![]() ![]() |
void | BeginDestroy () |
|
![]() ![]() ![]() |
SIZE_T | GetFieldSize () |
|
![]() ![]() |
void | PostDuplicate
(
const FField& InField |
Fixups after duplicating a Field |
![]() ![]() |
void | Begin UObject interface: the following functions mimic UObject interface for easier transition from UProperties to FProperties. |
Operators
Type | Name | Description | |
---|---|---|---|
![]() |
void | operator delete
(
void* InMem |
|
![]() |
void * | operator new
(
const size_t InSize, |
|
![]() |
void * | operator new
(
const size_t InSize |