Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > UObject
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/CoreRedirects.h |
Include | #include "UObject/CoreRedirects.h" |
Syntax
struct FCoreRedirectObjectName
Remarks
An object path extracted into component names for matching. TODO merge with FSoftObjectPath?
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FName | ObjectName | Raw name of object |
![]() |
FName | OuterName | String of outer chain, may be empty |
![]() |
FName | PackageName | Package this was in before, may be extracted out of OldName |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Default to invalid names | ||
![]() |
FCoreRedirectObjectName
(
const FTopLevelAssetPath& TopLevelAssetPath |
||
![]() |
FCoreRedirectObjectName
(
const FString& InString |
Construct from a path string, this handles full paths with packages, or partial paths without | |
![]() |
FCoreRedirectObjectName
(
const UObject* Object |
Construct from object in memory | |
![]() |
FCoreRedirectObjectName
(
FName InObjectName, |
Construct from FNames that are already expanded |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FString | CombineNames
(
FName NewName, |
Turn it back into an FString |
![]() ![]() |
bool | ExpandNames
(
const FString& FullString, |
Expand OldName/NewName as needed |
![]() ![]() |
FName | GetSearchKey
(
ECoreRedirectFlags Type |
Returns the name used as the key into the acceleration map |
![]() ![]() |
bool | HasValidCharacters
(
ECoreRedirectFlags Type |
Returns true if all names have valid characters |
![]() ![]() |
bool | IsValid () |
Returns true if this refers to an actual object |
![]() ![]() |
bool | Matches
(
const FCoreRedirectObjectName& Other, |
Returns true if the passed in name matches requirements. |
![]() ![]() |
int32 | MatchScore
(
const FCoreRedirectObjectName& Other |
Returns integer of degree of match. 0 if doesn't match at all, higher integer for better matches |
![]() |
void | Reset () |
Sets back to invalid state |
![]() ![]() |
FString | ToString () |
Creates FString version |
![]() |
void | UnionFieldsInline
(
const FCoreRedirectObjectName& Other |
Fills in any empty fields on this with the corresponding fields from Other. |
Operators
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | operator!=
(
const FCoreRedirectObjectName& Other |
|
![]() ![]() |
bool | operator==
(
const FCoreRedirectObjectName& Other |
Checks for exact equality |
Enums
Type | Name | Description | |
---|---|---|---|
![]() |
EMatchFlags | Flags for the Matches function. |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | Matches
(
const FCoreRedirectObjectName& Other, |
Use EMatchFlags::CheckSubString to pass in bCheckSubstring=true. |