Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FPackageName
Overloads
Name
Remarks
Include Path
Unreal Specifiers
Split a full object path (Class /Path/To/A/Package.Object:Subobject1.Subobject2) into its constituent pieces
Misc/PackageName.h
static void SplitFullObjectPath
(
FStringView InFullObjectPath,
FStringView& OutClassName,
FStringView& OutPackageName,
FStringView& OutObjectName,
FStringView& OutSubObjectName,
bool bDetectClassName
)
Misc/PackageName.h
Split a full object path (Class /Path/To/A/Package.Object:Subobject1.Subobject2) into its constituent pieces.
Misc/PackageName.h
static void SplitFullObjectPath
(
FStringView InFullObjectPath,
FStringView& OutClassName,
FStringView& OutPackageName,
FStringView& OutObjectName,
TArray < FStringView >& OutSubobjectNames,
bool bDetectClassName
)
Misc/PackageName.h
SplitFullObjectPath(const FString &, FString &, FString &, FString &, FString &, bool)
Description
Split a full object path (Class /Path/To/A/Package.Object:Subobject1.Subobject2) into its constituent pieces
Name
SplitFullObjectPath
Type
function
Header File
/Engine/Source/Runtime/CoreUObject/Public/Misc/PackageName.h
Include Path
#include "Misc/PackageName.h"
Source
/Engine/Source/Runtime/CoreUObject/Private/Misc/PackageName.cpp
static void SplitFullObjectPath
(
const FString & InFullObjectPath,
FString & OutClassName,
FString & OutPackageName,
FString & OutObjectName,
FString & OutSubObjectName,
bool bDetectClassName
)
Copy full snippet
Parameters
Name
Remarks
InFullObjectPath
Full object path we want to split
OutClassName
The extracted class name (Class)
OutPackageName
The extracted package name (/Path/To/A/Package)
OutObjectName
The extracted object name (Object)
OutSubObjectName
The extracted subobject name (Subobject1.Subobject2) - Note: nested subobjects are not split
bDetectClassName
If true, the optional Class will be detected and separated based on a space. If false, and there is a space, the space and text before it will be included in the other names. Spaces in those names is invalid, but some code ignores the invalidity in ObjectName if it only cares about packageName.
SplitFullObjectPath(FStringView, FStringView &, FStringView &, FStringView &, FStringView &, bool)
Name
SplitFullObjectPath
Type
function
Header File
/Engine/Source/Runtime/CoreUObject/Public/Misc/PackageName.h
Include Path
#include "Misc/PackageName.h"
Source
/Engine/Source/Runtime/CoreUObject/Private/Misc/PackageName.cpp
static void SplitFullObjectPath
(
FStringView InFullObjectPath,
FStringView & OutClassName,
FStringView & OutPackageName,
FStringView & OutObjectName,
FStringView & OutSubObjectName,
bool bDetectClassName
)
Copy full snippet
SplitFullObjectPath(const FString &, FString &, FString &, FString &, TArray< FString > &, bool)
Description
Split a full object path (Class /Path/To/A/Package.Object:Subobject1.Subobject2) into its constituent pieces. All subobjects are split individually and stored in an array.
Name
SplitFullObjectPath
Type
function
Header File
/Engine/Source/Runtime/CoreUObject/Public/Misc/PackageName.h
Include Path
#include "Misc/PackageName.h"
Source
/Engine/Source/Runtime/CoreUObject/Private/Misc/PackageName.cpp
static void SplitFullObjectPath
(
const FString & InFullObjectPath,
FString & OutClassName,
FString & OutPackageName,
FString & OutObjectName,
TArray < FString > & OutSubobjectNames,
bool bDetectClassName
)
Copy full snippet
Parameters
Name
Remarks
InFullObjectPath
Full object path we want to split
OutClassName
The extracted class name (Class)
OutPackageName
The extracted package name (/Path/To/A/Package)
OutSubobjectNames
The extracted object name (Object)
OutSubObjectName
The extracted subobject names (Subobject1 and Subobject2)
bDetectClassName
If true, the optional Class will be detected and separated based on a space. If false, and there is a space, the space and text before it will be included in the other names. Spaces in those names is invalid, but some code ignores the invalidity in ObjectName if it only cares about packageName.
SplitFullObjectPath(FStringView, FStringView &, FStringView &, FStringView &, TArray< FStringView > &, bool)
Name
SplitFullObjectPath
Type
function
Header File
/Engine/Source/Runtime/CoreUObject/Public/Misc/PackageName.h
Include Path
#include "Misc/PackageName.h"
Source
/Engine/Source/Runtime/CoreUObject/Private/Misc/PackageName.cpp
static void SplitFullObjectPath
(
FStringView InFullObjectPath,
FStringView & OutClassName,
FStringView & OutPackageName,
FStringView & OutObjectName,
TArray < FStringView > & OutSubobjectNames,
bool bDetectClassName
)
Copy full snippet